summaryrefslogtreecommitdiff
path: root/include/uapi/linux/input-event-codes.h
diff options
context:
space:
mode:
authorHarry Cutts <hcutts@chromium.org>2018-08-30 14:56:18 -0700
committerJiri Kosina <jkosina@suse.cz>2018-09-05 10:12:07 +0200
commitaaf9978c3c0291ef3beaa97610bc9c3084656a85 (patch)
treed8ba6e5ad943afc24dc582f17b8ddadee9242703 /include/uapi/linux/input-event-codes.h
parent7a324b3f0535ceb0f6676fa20ca2a7b6213008cb (diff)
Input: Add the `REL_WHEEL_HI_RES` event code
This event code represents scroll reports from high-resolution wheels, and will be used by future patches in this series. See the linux-input "Reporting high-resolution scroll events" thread [0] for more details. [0]: https://www.spinics.net/lists/linux-input/msg57380.html Signed-off-by: Harry Cutts <hcutts@chromium.org> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/uapi/linux/input-event-codes.h')
-rw-r--r--include/uapi/linux/input-event-codes.h1
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 53fbae27b280..dad8d3890a3a 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -708,6 +708,7 @@
#define REL_DIAL 0x07
#define REL_WHEEL 0x08
#define REL_MISC 0x09
+#define REL_WHEEL_HI_RES 0x0a
#define REL_MAX 0x0f
#define REL_CNT (REL_MAX+1)