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.
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.