diff options
author | Vicki Pfau <vi@endrift.com> | 2025-07-27 01:13:42 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-07-27 01:41:19 -0700 |
commit | a43a503df996739ae34f179f6b73b0ae91000c5c (patch) | |
tree | f37af6b883e09e3b7e8684d2885c6df888e93d7b /rust/helpers/io.c | |
parent | 3b19c9ed6f01060e9b58963b581ec41b03104c55 (diff) |
Input: xpad - change buttons the D-Pad gets mapped as to BTN_DPAD_*
Since dance pads can have both up/down or left/right pressed at the same time,
by design, they are not suitable for mapping the buttons to axes. Historically,
this driver mapped the D-pad to BTN_TRIGGER_HAPPY1-4 in these cases, and before
that as mouse buttons. However, BTN_DPAD_* exists for this and makes far more
sense than the arbitrary mapping it was before.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Link: https://lore.kernel.org/r/20250702034740.124817-1-vi@endrift.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions