Input: Add and document BTN_GRIP*
authorVicki Pfau <vi@endrift.com>
Sun, 27 Jul 2025 08:15:17 +0000 (01:15 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 27 Jul 2025 08:41:20 +0000 (01:41 -0700)
commit97c01e65ef4c1878532be245b2899fc4363cc453
tree99f9977e89dca7806c8afe15c8219c52840ee4ae
parenta43a503df996739ae34f179f6b73b0ae91000c5c
Input: Add and document BTN_GRIP*

Many controllers these days have started including grip buttons. As
there has been no particular assigned BTN_* constants for these, they've
been haphazardly assigned to BTN_TRIGGER_HAPPY*. Unfortunately, the
assignment of these has varied significantly between drivers.

Add and document new constants for these grip buttons.

Signed-off-by: Vicki Pfau <vi@endrift.com>
Link: https://lore.kernel.org/r/20250702040102.125432-2-vi@endrift.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/input/gamepad.rst
drivers/hid/hid-debug.c
include/uapi/linux/input-event-codes.h