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

Support XInput2's smooth scrolling? #43

Open
anko opened this issue Mar 19, 2015 · 0 comments
Open

Support XInput2's smooth scrolling? #43

anko opened this issue Mar 19, 2015 · 0 comments

Comments

@anko
Copy link

anko commented Mar 19, 2015

The documentation around this is annoyingly thin, but to my understanding, XInput extension versions greater than 2 can fetch detailed scroll data. This allows smoother scrolling on touchpads, by exposing scrolled distances rather than individual ticks of the scroll wheel.

There's at least experimental support for XInput in XCB. Based on a superficial check, it's compiled into at least Arch's libxcb package. Where it isn't, configure-ing libxcb with --enable-xinput seems to do the trick.

Use cases:

  • finer audio volume changer
  • panning window managers

I tried to implement it, but got stuck very quickly. Maybe someone with better XCB chops could take a look?

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