aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/input.h')
-rw-r--r--include/uapi/linux/input.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h
index 70825163..451f7b44 100644
--- a/include/uapi/linux/input.h
+++ b/include/uapi/linux/input.h
@@ -203,6 +203,8 @@ struct input_keymap_entry {
#define SYN_CONFIG 1
#define SYN_MT_REPORT 2
#define SYN_DROPPED 3
+#define SYN_TIME_SEC 4
+#define SYN_TIME_NSEC 5
#define SYN_MAX 0xf
#define SYN_CNT (SYN_MAX+1)
@@ -481,6 +483,10 @@ struct input_keymap_entry {
#define KEY_MICMUTE 248 /* Mute / unmute the microphone */
+/*lenovo-sw, wengjun1 add 20150206 for slide touch keycode begin*/
+#define KEY_SLIDE 254
+/*lenovo-sw, wengjun1 add 20150206 for slide touch keycode end*/
+
/* Code 255 is reserved for special needs of AT keyboard driver */
#define BTN_MISC 0x100
@@ -752,6 +758,7 @@ struct input_keymap_entry {
#define KEY_KBDINPUTASSIST_ACCEPT 0x264
#define KEY_KBDINPUTASSIST_CANCEL 0x265
+
#define BTN_TRIGGER_HAPPY 0x2c0
#define BTN_TRIGGER_HAPPY1 0x2c0
#define BTN_TRIGGER_HAPPY2 0x2c1
@@ -894,6 +901,9 @@ struct input_keymap_entry {
#define SW_UNSUPPORT_INSERT 0x10 /* set = unsupported device inserted */
#define SW_MICROPHONE2_INSERT 0x11 /* set = inserted */
#define SW_MUTE_DEVICE 0x12 /* set = device disabled */
+/*add by lixh10 for one key low power 2016-03-16 start*/
+#define SW_ONEKEY_LOW_POWER 0x13 /* set = low power mode */
+/*add by lixh10 for one key low power 2016-03-16 end*/
#define SW_MAX 0x20
#define SW_CNT (SW_MAX+1)