Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50a88cb7 authored by Jekyll Lai's avatar Jekyll Lai Committed by Dmitry Torokhov
Browse files

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: default avatarJekyll Lai <jekyll_lai@wistron.com>
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent e1336bff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)