A few weeks of experimentation with libinput
led me to believe that many of its advanced mouse-related features are not (yet?) implemented. Most importantly to me, you cannot block the mouse wheel with it, nor can you emulate the mouse wheel system-wide with the middle button. My question is twofold:
- Would it make sense to switch my Ubuntu from
libinput
toevdev
? Am I going to lose anything important, either immediately or in the long run? - If there are no apparent disadvantages to this course, how should I go about it?
apt
lists dozens of packages for both, some labeledhwe
and some not. What should I remove and what should I install instead?
evdev
is a kernel interface, whilstlibevdev
is a userspace library that uses it (as well aslibinput
). In the long run you'll lose becauselibevdev
is unmaintained, it was replaced bylibinput
. If there are any features you feel missing, it's better to implement in libinput. On a side note, I'd like to mention that libinput has a nice "quirks" subsystem. I've used it to disable left button on my gf's broken touchpad, maybe you could make use of it too. – Hi-Angel Oct 20 '19 at 20:09/etc/libinput/local-overrides.quirks
file seems to affect nothing. Moreover, the debug functionalitylibinput
's help mentions is not implemented. Overall, I decided to postpone the plan to run Linux on bare metal and let Windows do the heavy lifting for a VM with Linux in it instead. Windows has mouse wheel emulation figured out since the beginning of the century at least. – sigil Oct 25 '19 at 12:29evdev
but not inlibinput
. – rustyx May 23 '21 at 15:47