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

Don't scroll when moving the mouse #59

Open
mimi89999 opened this issue Feb 3, 2021 · 4 comments
Open

Don't scroll when moving the mouse #59

mimi89999 opened this issue Feb 3, 2021 · 4 comments

Comments

@mimi89999
Copy link

Hello,

When moving the mouse, my fingers and hand are moving slightly on the mouse causing it to register scroll events that makes the page and the button I'm moving the cursor to move. This issue mostly occurs with very high scroll speeds like scroll_speed=55. With low scroll speeds, this does not happen, but the scroll is to slow for me.

Would it be possible to add a setting to stop sending scroll events when the mouse is moving?

@depau
Copy link

depau commented Feb 8, 2021

(unauthoritative answer)

I think you should ask the libinput team about this: https://gitlab.freedesktop.org/libinput/libinput

The driver's job is to detect input events from the hardware, it's libinput's job to interpret them and transform them into UI interactions.

@mimi89999
Copy link
Author

Hello,
I'm not sure if they would like to implement that since it's basically specific to the magic mouse. I don't know any other mouse where it would be possible to unintentionally scroll when moving it.

@depau
Copy link

depau commented Feb 8, 2021

libinput has device quirks for quirky devices.

@vchernin
Copy link

@mimi89999 this other repo linked below seems to be specifically for the magic mouse 2 so you may have more luck there:

https://github.com/RicardoEPRodrigues/magicmouse-hid

Someone even sent some of these linked patches to the kernel mailing lists:
https://lkml.org/lkml/2021/3/27/209

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

3 participants