Horizontal and precision scrolling support - #22
Conversation
|
Is the problem that scrolling doesn't support an x axis? How would you test this on a computer? How do I horizontally scroll? |
I have an mx master 3s which has a side-scroll on the mouse. I can test this if needed. |
|
Thanks for offering to help. There was a discussion about delaying this patch until a new release version comes out: https://discord.com/channels/657067375681863699/1033468092950528041/1350503994270945341 |
…l not lock the view when scrolling around
…instead of the active one
… fixed increments
3ac5ca3 to
7c581bd
Compare
|
The state of things: Getting precise values out of scroll events using XLib is apparently very complicated and I have yet to find a simple way to do it, so for now I left fixed values for scroll increments there. |
|
Horizontal scrolling is working on Linux and Mac. Precise scroll works on Mac. I will see if I can figure out how to use XLib to get precise scroll values on linux. I looked into it a bit and it does look complicated. |
|
Here I have a working version of precise scrolling on linux. @flyingsolomon I made a pull request to your repo: flyingsolomon#1 |
|
That's awesome! I'm without a proper computer access until the start of september, so I'll review it then.
|
This is the bare minimum for proper scrolling support, however I don't have a mac or a linux setup so it is tested only on windows and doesn't compile on the other platforms.