Commit b45d44e7 authored by Nicolas Léveillé's avatar Nicolas Léveillé Committed by Dmitry Torokhov

Input: xpad - allow using triggers as buttons rather than axes

Certain devices implement triggers as buttons rather than axes. In
particular, arcade sticks such as the HORI Real Arcade Pro.EX do not
have analog buttons.

These devices are now setup to present buttons rather than axes for
triggers.

User-space applications often also have problems with
axes-as-buttons. Activating MAP_TRIGGERS_TO_BUTTONS for a device
removes the artificial difference between buttons and triggers.
Signed-off-by: default avatarNicolas Léveillé <nicolas@uucidl.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 1d9f2626
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment