From: Jekyll Lai Date: Wed, 12 Jan 2011 05:53:55 +0000 (-0800) Subject: Input: add SW_ROTATE_LOCK switch type X-Git-Tag: firefly_0821_release~176^2~541^2~478^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=50a88cb7eddb971077ae7dff76b116747c12c371;p=firefly-linux-kernel-4.4.55.git Input: add SW_ROTATE_LOCK switch type This switch is used to signal that user want to disable screen transitions from portrait to landscape mode and back. Signed-off-by: Jekyll Lai Signed-off-by: Alan Cox Signed-off-by: Dmitry Torokhov --- diff --git a/include/linux/input.h b/include/linux/input.h index 6c407e553a40..4bdacada8d2a 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -775,6 +775,7 @@ struct input_keymap_entry { #define SW_CAMERA_LENS_COVER 0x09 /* set = lens covered */ #define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */ #define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ +#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */ #define SW_MAX 0x0f #define SW_CNT (SW_MAX+1)