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

Inertia scroll like macOS #14

Open
ayushhroyy opened this issue Jun 1, 2022 · 1 comment
Open

Inertia scroll like macOS #14

ayushhroyy opened this issue Jun 1, 2022 · 1 comment

Comments

@ayushhroyy
Copy link

Greetings,
Could inertia scrolling be supported with magic mouse 2 as in macOS anytime soon?

@RicardoEPRodrigues
Copy link
Owner

Hello,

Thank you for your comment. I think I'll leave this open because it is something that needs to be discussed.

First off, you will not see that behavior implemented here, that is because this driver is not supposed to deal with those types of behaviors. This driver should only expose the direct input of the user on the hardware and pass it on to the OS. Afterward the OS, more specifically libinput, will pick it up and transform it into an input to the applications. This is where the behavior should be added.

From what I know, this driver is more or less where it should be regarding functionality. The next step would be to modify libinput so that it would use the input from the driver to create behaviors, such as inertia scroll or even gestures. This requires a lot of modification for a single device, something the maintainers are not ready to sustain (and is justifiable). So I am waiting for my work to lift so that I have time to make those changes myself. I do not know when I'll have the time.

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