From: Stefan Brüns Date: Thu, 9 Nov 2017 22:44:34 +0000 (+0100) Subject: Input: add KEY_ROTATE_LOCK_TOGGLE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4982327ff6755377a8a66e84113f496f3a6c53bc;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Darren Hart (VMware) --- 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 */