Loading Documentation/input/event-codes.txt +5 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,11 @@ sent in the evdev event stream. event and query the device (using EVIOCG* ioctls) to obtain its current state. * SYN_TIME_SEC, SYN_TIME_NSEC: - Used to report the timestamp from the hardware. The timestamp should record the exact time when the hardware events happens. The timestamp is CLOCK_MONOTONIC based. EV_KEY: ---------- EV_KEY events take the form KEY_<name> or BTN_<name>. For example, KEY_A is used Loading drivers/input/input.c +2 −0 Original line number Diff line number Diff line Loading @@ -267,6 +267,8 @@ static int input_get_disposition(struct input_dev *dev, case EV_SYN: switch (code) { case SYN_CONFIG: case SYN_TIME_SEC: case SYN_TIME_NSEC: disposition = INPUT_PASS_TO_ALL; break; Loading include/uapi/linux/input.h +2 −0 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
Documentation/input/event-codes.txt +5 −0 Original line number Diff line number Diff line Loading @@ -91,6 +91,11 @@ sent in the evdev event stream. event and query the device (using EVIOCG* ioctls) to obtain its current state. * SYN_TIME_SEC, SYN_TIME_NSEC: - Used to report the timestamp from the hardware. The timestamp should record the exact time when the hardware events happens. The timestamp is CLOCK_MONOTONIC based. EV_KEY: ---------- EV_KEY events take the form KEY_<name> or BTN_<name>. For example, KEY_A is used Loading
drivers/input/input.c +2 −0 Original line number Diff line number Diff line Loading @@ -267,6 +267,8 @@ static int input_get_disposition(struct input_dev *dev, case EV_SYN: switch (code) { case SYN_CONFIG: case SYN_TIME_SEC: case SYN_TIME_NSEC: disposition = INPUT_PASS_TO_ALL; break; Loading
include/uapi/linux/input.h +2 −0 Original line number Diff line number Diff line Loading @@ -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) Loading