godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.16k stars 97 forks source link

Increase the sensitivity of touchpad gestures on Mac #8559

Open passivestar opened 11 months ago

passivestar commented 11 months ago

Describe the project you are working on

Anything 3D

Describe the problem or limitation you are having in your project

Touchpad sensitivity is very low. This video shows what happens when I swipe across the entire surface of a 16-inch macbook touchpad (it's a really big touchpad) in Blender vs Godot:

https://github.com/godotengine/godot-proposals/assets/60579014/0c562650-7c20-4298-8170-1a44c205896e

Blender does a complete 360, Godot barely moves. The results are similar when trying to pan with shift+swipe. Interestingly, zoom with pinch is much better, zoom doesn't need any adjustments. There's a discussion mentioning the issue here https://github.com/godotengine/godot-proposals/discussions/8532, but I thought this deserves a proposal as it's probably not hard to fix

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Increase the sensitivity of orbit and pan gestures

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

If orbit and pan behave similarly to Blender that would be great

If this enhancement will not be used often, can it be worked around with a few lines of script?

N/A

Is there a reason why this should be core and not an add-on in the asset library?

N/A

passivestar commented 11 months ago

Related: It's also worth mentioning that Blender and Godot are using different direction when orbiting. In Blender moving fingers in one direction results in the same camera movement as when you move your mouse when orbiting. In Godot, those are different, which doesn't seem natural

Zireael07 commented 11 months ago

Touchpad sensitivity (on mac especially) seems to be a whiplash. First people complained it was too sensitive, so it was toned down, now you say it's too low

passivestar commented 11 months ago

Touchpad sensitivity (on mac especially) seems to be a whiplash. First people complained it was too sensitive, so it was toned down, now you say it's too low

Perhaps it needs a slider in editor settings then?

ztc0611 commented 11 months ago

Related: It's also worth mentioning that Blender and Godot are using different direction when orbiting. In Blender moving fingers in one direction results in the same camera movement as when you move your mouse when orbiting. In Godot, those are different, which doesn't seem natural

I believe Godot actually has the correct implementation here, as macOS has "reversed" scrolling on trackpads due to the default "natural scrolling" setting. I need to check it out to be though, I never consciously thought about it.

Blender doesn't support native macOS features very well, so I wouldn't be surprised. If this behavior is changed it should really also be an option to keep it as is.