Absolute mouse/Mouse keys


(Noseglasses) #1

In the README of the Kaleidoscope-MouseKeys plugin there is written the following sentence.

This features works out of the box on Windows and OSX. On Linux, a patch exists, but has not been finalised and merged yet.

@algernon: Is there only a problem with the plugin’s warping mechanism or is there a problem with absolute mouse positioning in general on Linux?


(Gergely Nagy) #2

Actually, there is a problem in the README. There was an issue where Linux did not deal well with composite devices that have both relative and absolute properties on the same node, and handled the relative parts only. Thus, absolute mouse didn’t work at all. A patch exists that makes things work, but in the end, we spun absolute mouse into its own node, and the issue under Linux became moot.

In other words, Linux handled relative mouse fine. It handled absolute mouse fine too. But both on the same HID node made it (libinput, and it’s X11 driver in particular) very confused. But since we have these on separate nodes now, the issue does not apply.

The README should be updated.

For what its worth, here’s the Bugzilla ticket:

https://bugs.freedesktop.org/show_bug.cgi?id=99914