mooz / xkeysnail

Yet another keyboard remapping tool for X environment
891 stars 112 forks source link

Disable joystick buttons, but not mouse buttons, enable mouse #101

Closed jvasile closed 3 years ago

jvasile commented 4 years ago

Address the libinput 1.16+ incompatibility by disabling joystick buttons, but not mouse buttons. This patch takes care of the joystick issue without breaking mouse buttons. That restores functionality that the libinput problem broke. This patch also enables mouse movement (e.g. the trackpoint or mouse built in to an external keyboard), which was not previously present, but seems to go well with the mouse button stuff and is only one additional line of code.

Note that this is a refinement on PR 98.