RicardoEPRodrigues/magicmouse-hid

Inertia scroll like macOS

Opened this issue · 1 comments

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

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.