Many controllers these days have started including grip buttons. As there has been no particular assigned BTN_* constants for these, they've been hapharzardly assigned to BTN_TRIGGER_HAPPY*. Unfortunately, the assignemnt of these has varied significantly between drivers. This series adds, documents, and uses those buttons in the xpad and hid-steam drivers. The only other driver I was able to find that supports grip buttons was the BPF patch for the Xbox Elite 2 controller. Unfortunately, I'm not sure how to clean that up and add support in HID descriptor parsing, so I'll have to leave that to Benjamin. Version 2 changes the hid-steam patch to use BTN_GRIPL/BTN_GRIPR for the Steam Controller, not just the Steam Deck. All other patches are unchanged. Vicki Pfau (3): Input: Add and document BTN_GRIP* Input - xpad: Use new BTN_GRIP* buttons HID: hid-steam: Use new BTN_GRIP* buttons Documentation/input/gamepad.rst | 13 ++++++++++ drivers/hid/hid-debug.c | 2 ++ drivers/hid/hid-steam.c | 35 ++++++++++++------------- drivers/input/joystick/xpad.c | 36 +++++++++++++------------- include/uapi/linux/input-event-codes.h | 5 ++++ 5 files changed, 54 insertions(+), 37 deletions(-) -- 2.49.0