aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux/input.h
diff options
context:
space:
mode:
authorwzedlare <vedatak01@gmail.com>2017-06-18 16:38:26 +0000
committerwzedlare <vedatak01@gmail.com>2017-06-19 16:57:11 +0000
commitc7d4e3fd588e3ba3d3fa4d5cfa224aa54bc288bf (patch)
treeb8b64cb9deb6832c1e41f58f0f143514beafc709 /include/uapi/linux/input.h
parent28c99c87b881bb664c44bb26e80a681f87d54e60 (diff)
p2a42: Import fully working kernel sourceHEADn7.1
Change-Id: Ia4c94f09e29843b1af34d466243378a357e97b70
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)