Skip to content

fallback: don't double-map if any left-handed buttons are down

Peter Hutterer requested to merge whot/libinput:wip/left-handed-segfault into main

The key_count array for buttons records the logical button sent to the client - for left-handed configurations that means a BTN_LEFT is recorded as BTN_RIGHT.

When the device is suspended and we are releasing all keys we must thus release the button code as-is without trying to map it again.

Fixes #881 (closed)

Merge request reports