diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2017-11-09 23:44:34 +0100 |
---|---|---|
committer | Darren Hart (VMware) <dvhart@infradead.org> | 2017-12-08 22:54:43 +0100 |
commit | 4982327ff6755377a8a66e84113f496f3a6c53bc (patch) | |
tree | 6e1487aabb6b37991330efe4ecd0f3c1e0a68533 /include/uapi | |
parent | platform/x86: intel-vbtn: Support separate press/release events (diff) | |
download | linux-4982327ff6755377a8a66e84113f496f3a6c53bc.tar.xz linux-4982327ff6755377a8a66e84113f496f3a6c53bc.zip |
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')
-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 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 */ |