这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ollipal
Copy link
Contributor

@ollipal ollipal commented Apr 17, 2023

Adds support for horizontal scrolling for Linux, tested on Pop!_OS 22.04.

Note that in send_native, y-direction must be done first, or only one direction will trigger.

I hope this helps!

@Narsil
Copy link
Owner

Narsil commented Apr 17, 2023

Thanks for your contribution.

Don't have such a mouse at my disposal right now, but this is unlikely to break anything else so I will go ahead an merge if it passes the tests.

@ollipal
Copy link
Contributor Author

ollipal commented Apr 17, 2023

Ah now I figured out how to run tests locally. I'll update here if I'm able to fix it.

@ollipal
Copy link
Contributor Author

ollipal commented Apr 17, 2023

I also realized that there is an issue, when I tested on a view that is both horizontally and vertically scrollable at the same time (my earlier testing was done with one or another). Sorry for the broken PR! I'll attempt to fix this later today.

@Narsil
Copy link
Owner

Narsil commented Apr 17, 2023

No worries. Take your time.

@ollipal ollipal force-pushed the xlib-horizontal-wheel branch from bd23fec to aa2dd09 Compare April 17, 2023 12:11
@ollipal
Copy link
Contributor Author

ollipal commented Apr 17, 2023

Fixed! Now in addition to implementing horizontal scrolling, I also implemented the scrolling magnitude for Linux as well.

At least on my machine, now everything works well, including the tests.

@Narsil Narsil merged commit 4aa8ef8 into Narsil:main Apr 17, 2023
TTWNO pushed a commit to TTWNO/rdev2 that referenced this pull request Jan 23, 2025
justDeeevin pushed a commit to justDeeevin/rdevin that referenced this pull request Apr 16, 2025
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

Successfully merging this pull request may close these issues.

2 participants