summaryrefslogtreecommitdiff
path: root/Documentation/input/gamepad.rst
diff options
context:
space:
mode:
authorNate Yocom <nate@yocom.org>2022-09-29 04:23:22 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-29 04:31:37 +0300
commit1260cd04a601e0e02e09fa332111b8639611970d (patch)
tree2c652a3c4aca3531a4dfe02653333e9b8bfcbe09 /Documentation/input/gamepad.rst
parentf45aaae6204d1c7b0200ce043102ec84d805ac34 (diff)
downloadlinux-1260cd04a601e0e02e09fa332111b8639611970d.tar.xz
Input: add ABS_PROFILE to uapi and documentation
Define new ABS_PROFILE axis for input devices which need it, e.g. X-Box Adaptive Controller and X-Box Elite 2. Signed-off-by: Nate Yocom <nate@yocom.org> Link: https://lore.kernel.org/r/20220908173930.28940-4-nate@yocom.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/input/gamepad.rst')
-rw-r--r--Documentation/input/gamepad.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/input/gamepad.rst b/Documentation/input/gamepad.rst
index 4d5e7fb80a84..71019de46036 100644
--- a/Documentation/input/gamepad.rst
+++ b/Documentation/input/gamepad.rst
@@ -189,3 +189,9 @@ Gamepads report the following events:
- Rumble:
Rumble is advertised as FF_RUMBLE.
+
+- Profile:
+
+ Some pads provide a multi-value profile selection switch. An example is the
+ XBox Adaptive and the XBox Elite 2 controllers. When the active profile is
+ switched, its newly selected value is emitted as an ABS_PROFILE event.