summaryrefslogtreecommitdiff
path: root/include/uapi/linux/input-event-codes.h
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-11-10 01:44:34 +0300
committerDarren Hart (VMware) <dvhart@infradead.org>2017-12-09 00:54:43 +0300
commit4982327ff6755377a8a66e84113f496f3a6c53bc (patch)
tree6e1487aabb6b37991330efe4ecd0f3c1e0a68533 /include/uapi/linux/input-event-codes.h
parent95f38fd46cc5e45a0d5224f486e805d17ea3d93f (diff)
downloadlinux-4982327ff6755377a8a66e84113f496f3a6c53bc.tar.xz
Input: add KEY_ROTATE_LOCK_TOGGLE
The key has the same use as the SW_ROTATE_LOCK, but is used on devices where the state is not tracked by the hardware but has to be handled in software. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
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 061fa62958a2..53fbae27b280 100644
--- a/include/uapi/linux/input-event-codes.h
+++ b/include/uapi/linux/input-event-codes.h
@@ -594,6 +594,7 @@
#define BTN_DPAD_RIGHT 0x223
#define KEY_ALS_TOGGLE 0x230 /* Ambient light sensor */
+#define KEY_ROTATE_LOCK_TOGGLE 0x231 /* Display rotation lock */
#define KEY_BUTTONCONFIG 0x240 /* AL Button Configuration */
#define KEY_TASKMANAGER 0x241 /* AL Task/Project Manager */