Skip to content
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

Review trackpad scroll_direction() handling. #391

Open
djowel opened this issue Apr 6, 2024 · 1 comment
Open

Review trackpad scroll_direction() handling. #391

djowel opened this issue Apr 6, 2024 · 1 comment
Assignees

Comments

@djowel
Copy link
Member

djowel commented Apr 6, 2024

This is related to the so-called trackpad "Natural scrolling".

In WIndows, scroll_direction() is obtained from the registry only once. What if the user changes the control panel settings while the app is running?

In Linux,it is not implemented and simly returns {+1.0f, +1.0f}

See if this can be done better.

@djowel djowel self-assigned this Apr 6, 2024
djowel added a commit that referenced this issue Apr 6, 2024
@djowel
Copy link
Member Author

djowel commented Apr 6, 2024

Partial implementation for Linux in b7b79c3

Same timed call should work for Windows as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant