elements icon indicating copy to clipboard operation
elements copied to clipboard

Review trackpad scroll_direction() handling.

Open djowel opened this issue 1 year ago • 1 comments

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 avatar Apr 06 '24 01:04 djowel

Partial implementation for Linux in b7b79c34676cb89b800fdc8960cb311e205e1db8

Same timed call should work for Windows as well.

djowel avatar Apr 06 '24 08:04 djowel