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

Mouse with faulty scrolling #17

Closed
vacstr opened this issue Jul 16, 2021 · 1 comment
Closed

Mouse with faulty scrolling #17

vacstr opened this issue Jul 16, 2021 · 1 comment

Comments

@vacstr
Copy link

vacstr commented Jul 16, 2021

On some of my mice with faulty scroll wheels (encoder), if I'm scrolling in a certain direction, it would spazz out where random inputs of the opposite direction would occur. Would be great if this program could block this kind of extremely fast direction switches in the scroll wheel (if that's even possible?).

mcmonkey4eva added a commit that referenced this issue Jul 27, 2021
@mcmonkey4eva
Copy link
Member

This is slightly out-of-band for this project, as it's not quite a chatter problem. However it can be solved by the same software tools and handling methods, so I don't any reason to not add a solution for you.

Being so out of band, I haven't explicitly added an interface for it, but have instead made it be recognized as a fake 'key' named wheel_change. This 'key' is 'pressed' whenever the mouse wheel changes direction, so if it changes direction faster than the threshold configured for the key, it will block the direction change (and thus block any scrolling in the wrong direction until after the threshold passes).
To add it initially, you can manually add it in the config file (refer to the readme if you're unsure where that file is), with a line like key.wheel_change: 200. After it's added the first time, you can configure it from the same interface as you'd configure any other key's chatter limit.

This is added by the commit above and is available in Release 1.10.

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

2 participants