LookingGlass/client/displayservers/X11
Mikko Rasa 358515f4a8 [client] x11: Find and use the correct valuators for mouse axes
Using the first two valuators present in the event is incorrect.  Events
with only one valuator set, such as those sent by the Xorg evdev driver
when the mouse moved along one axis only, were being discarded.  On the
other hand, mice with multiple scroll wheels may be able to emit events
with two scroll wheel valuators set.

The XInput2 specification is light on details, but "Rel X" and "Rel Y"
appear to be the de facto standard names for the motion valuators.  If
valuators with those labels are not found, fall back to using valuators
with numbers 0 and 1.
2021-03-27 21:12:52 +11:00
..
atoms.c [client] x11: split out atoms into a seperate structure 2021-03-27 10:05:57 +11:00
atoms.h [client] x11: implement center, borderless and maximized parameters 2021-03-27 11:17:48 +11:00
clipboard.c [client] x11: split out atoms into a seperate structure 2021-03-27 10:05:57 +11:00
clipboard.h [client] x11: split out clipboard code for maintainabillity 2021-03-27 09:21:32 +11:00
CMakeLists.txt [client] x11: split out atoms into a seperate structure 2021-03-27 10:05:57 +11:00
x11.c [client] x11: Find and use the correct valuators for mouse axes 2021-03-27 21:12:52 +11:00
x11.h [client] x11: Find and use the correct valuators for mouse axes 2021-03-27 21:12:52 +11:00