RicardoEPRodrigues / magicmouse-hid

Magic Mouse 2 driver for Linux.
141 stars 14 forks source link

Improved Magic Mouse 1 & 2 scrolling support merged into 5.15 #12

Open vchernin opened 3 years ago

vchernin commented 3 years ago

Just wanted to note this recent addition to Kernel 5.15. The magic mice should scroll more smoothly and at higher resolution. The change also adds a movement threshold.

https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/patch/?id=56e7b4940ba678b498a6156086f7823d86bf74ad

https://www.phoronix.com/scan.php?page=news_item&px=Magic-Mouse-High-Res-Linux-5.15

Perhaps this, and the fact general support is in 5.13 (#8) should be mentioned in the readme? Most users are probably fine with 5.13+ or 5.15.

RicardoEPRodrigues commented 3 years ago

Hey, thank you for the report. I will pull these improvements into this drive so that everyone can make use of high-resolution scrolling without needing 5.15.

Yet, I believe the way the mouse driver is implemented should be different and I am taking some time to study libinput and how we can have a better mouse experience. (possibly including 2 finger gestures for example).

RicardoEPRodrigues commented 3 years ago

Also, High-Resolution Scrolling is still unavailable for any device without the new works under Wayland.

Take a look: https://www.linux-magazine.com/Online/News/Linux-to-Get-High-Resolution-Wheel-Scrolling

vchernin commented 3 years ago

It might be helpful to contact the author of the patches, as they seem to also be the one who created Touchégg.

vchernin commented 3 years ago

Also it looks like José is working on merging high resolution scrolling support into libinput!

RicardoEPRodrigues commented 3 years ago

Thank you for the info.

It looks like the basic scrolling for Magicmouse is going in the right direction. Let's hope it'll be in the next releases of Ubuntu! 🤞🤞🤞