Input: xpad - allow using triggers as buttons rather than axes
authorNicolas Léveillé <knos@free.fr>
Wed, 30 Dec 2009 04:39:05 +0000 (20:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 30 Dec 2009 07:33:37 +0000 (23:33 -0800)
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: Nicolas Léveillé <nicolas@uucidl.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found