diff options
author | Nate Yocom <nate@yocom.org> | 2022-09-29 03:23:22 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-09-29 03:31:37 +0200 |
commit | 1260cd04a601e0e02e09fa332111b8639611970d (patch) | |
tree | 2c652a3c4aca3531a4dfe02653333e9b8bfcbe09 /include/uapi | |
parent | Input: xpad - add X-Box Adaptive XBox button (diff) | |
download | linux-1260cd04a601e0e02e09fa332111b8639611970d.tar.xz 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 'include/uapi')
-rw-r--r-- | include/uapi/linux/input-event-codes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index dff8e7f17074..7ad931a32970 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h @@ -862,6 +862,7 @@ #define ABS_TOOL_WIDTH 0x1c #define ABS_VOLUME 0x20 +#define ABS_PROFILE 0x21 #define ABS_MISC 0x28 |