aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorJekyll Lai <jekyll.lai@gmail.com>2011-01-12 00:53:55 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-01-12 00:59:54 -0500
commit50a88cb7eddb971077ae7dff76b116747c12c371 (patch)
tree965281c9b201ca1e8a55684f880919eaf8c5a3ee /include/linux/input.h
parente1336bff92c6e0f4e6212af13f11d20c29a900a2 (diff)
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 <jekyll_lai@wistron.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h1
1 files changed, 1 insertions, 0 deletions
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 {
775#define SW_CAMERA_LENS_COVER 0x09 /* set = lens covered */ 775#define SW_CAMERA_LENS_COVER 0x09 /* set = lens covered */
776#define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */ 776#define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */
777#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */ 777#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */
778#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
778#define SW_MAX 0x0f 779#define SW_MAX 0x0f
779#define SW_CNT (SW_MAX+1) 780#define SW_CNT (SW_MAX+1)
780 781