LookingGlass/client/displayservers
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
..
SDL [client] ds: make SDL display server optional 2021-02-26 10:28:51 +11:00
Wayland [client] wayland: make input handlers aware of multiple surfaces 2021-03-15 10:54:35 +11:00
X11 [client] x11: Find and use the correct valuators for mouse axes 2021-03-27 21:12:52 +11:00
CMakeLists.txt [client] ds: make SDL display server optional 2021-02-26 10:28:51 +11:00