aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/input/event-codes.rst
diff options
context:
space:
mode:
authorNate Yocom <nate@yocom.org>2022-09-28 18:23:22 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-09-28 18:31:37 -0700
commit1260cd04a601e0e02e09fa332111b8639611970d (patch)
tree2c652a3c4aca3531a4dfe02653333e9b8bfcbe09 /Documentation/input/event-codes.rst
parentInput: xpad - add X-Box Adaptive XBox button (diff)
downloadwireguard-linux-1260cd04a601e0e02e09fa332111b8639611970d.tar.xz
wireguard-linux-1260cd04a601e0e02e09fa332111b8639611970d.zip
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/event-codes.rst')
-rw-r--r--Documentation/input/event-codes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/input/event-codes.rst b/Documentation/input/event-codes.rst
index 8741d390b184..b4557462edd7 100644
--- a/Documentation/input/event-codes.rst
+++ b/Documentation/input/event-codes.rst
@@ -235,6 +235,12 @@ A few EV_ABS codes have special meanings:
BTN_TOOL_<name> signals the type of tool that is currently detected by the
hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH.
+* ABS_PROFILE:
+
+ - Used to describe the state of a multi-value profile switch. An event is
+ emitted only when the selected profile changes, indicating the newly
+ selected profile value.
+
* ABS_MT_<name>:
- Used to describe multitouch input events. Please see