-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Touchpad scrolling is not smooth #16600
Comments
Oh, this might be of use: https://learn.microsoft.com/en-us/windows/compatibility/precision-touchpad-devices EDIT: Turns out not to help, we're doing something else wrong. |
This has been fixed on Windows. On Mac/Linux, according to Genymobile/scrcpy#3363, we can use preciseX and preciseY in SDL_MouseWheelEvent. |
Ok, I'm stuck, on Mac at least. preciseX/Y requires SDL 2.0.18, but even with "brew upgrade" and all that, my SDL headers seem stuck somehow, or we specify the minimum SDL version somewhere I can't find. I get this log line, so it does look like the latest version is actually installed:
|
Isn't there a bundled SDL on macOS? This thing? https://github.com/hrydgard/ppsspp-mac-sdl -[Unknown] |
Oh darn, I completely forgot we had that. |
OK so I copied a new SDL2.framework into that submodule locally, but it doesn't build with it:
But it's strange, the framework seems to be organized pretty much the same as the old one, so I just don't get it.. |
Hm, https://github.com/hrydgard/ppsspp-mac-sdl/blob/main/SDL2.framework/Versions/A/Headers/SDL.h doesn't currently contain "SDL2/". Maybe missing some new files that weren't committed? Or I don't really know how include paths work with these frameworks. -[Unknown] |
It's exactly the same in both the old and the new framework. Maybe there's some hidden symlink or something, I don't know either. |
This was solved a while ago, though there are still some DPI issues on linux. Closing. |
This is not fixed on MAC. Please reopen this issue. |
For me, it is pretty smooth on Mac actually, although could be silkier I guess. For you, is it scrolling in steps? |
An increasing amount of PC laptops are sold with great touchpads that support smooth two-finger scrolling as well as Apple does. Unfortunately we only support the old school mousewheel up/down events, which feels very jerky and uncontrollable on these. So this needs fixing on Windows.
Additionally, I think SDL now has support for smooth scrolling so we should look into supporting this on Mac and Linux as well.
The text was updated successfully, but these errors were encountered: