Skip to content

Fix not working right stick up and down for MY-POWER 2In1 USB Joystick

The root cause is that the evdev event code for right stick up-down is 5. Thus, hardware_index is bigger than length of axis_bindings in manette_mapping_get_bindings and further processing stops. For your information, codes for left-right, up-down of the left stick, and left-right of right stick are 0, 1, and 2 respectively. I am not sure why the up-down evdev code for right stick is 5, not 3.

Fix https://gitlab.gnome.org/aplazas/libmanette/issues/17

Merge request reports