summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-11-09 23:44:34 +0100
committerDarren Hart (VMware) <dvhart@infradead.org>2017-12-08 13:54:43 -0800
commit4982327ff6755377a8a66e84113f496f3a6c53bc (patch)
tree6e1487aabb6b37991330efe4ecd0f3c1e0a68533
parent95f38fd46cc5e45a0d5224f486e805d17ea3d93f (diff)
downloadop-kernel-dev-4982327ff6755377a8a66e84113f496f3a6c53bc.zip
op-kernel-dev-4982327ff6755377a8a66e84113f496f3a6c53bc.tar.gz
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>
-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 061fa62..53fbae2 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 */
OpenPOWER on IntegriCloud