1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
pub const EV_SYN: u16 = 0x00;
pub const EV_KEY: u16 = 0x01; pub const EV_ABS: u16 = 0x03;
pub const SYN_REPORT: u16 = 0x00;
pub const ABS_MT_SLOT: u16 = 0x2f; pub const ABS_MT_TOUCH_MAJOR: u16 = 0x30; pub const ABS_MT_TOUCH_MINOR: u16 = 0x31; pub const ABS_MT_ORIENTATION: u16 = 0x34; pub const ABS_MT_POSITION_X: u16 = 0x35; pub const ABS_MT_POSITION_Y: u16 = 0x36; pub const ABS_MT_TRACKING_ID: u16 = 0x39; pub const ABS_MT_PRESSURE: u16 = 0x3a; pub const ABS_PRESSURE: u16 = 0x18; pub const ABS_DISTANCE: u16 = 0x19; pub const ABS_TILT_X: u16 = 0x1a; pub const ABS_TILT_Y: u16 = 0x1b; pub const ABS_X: u16 = 0x00; pub const ABS_Y: u16 = 0x01; pub const BTN_TOOL_PEN: u16 = 0x140; pub const BTN_TOOL_RUBBER: u16 = 0x141; pub const BTN_TOUCH: u16 = 0x14a; pub const BTN_STYLUS: u16 = 0x14b; pub const BTN_STYLUS2: u16 = 0x14c; pub const KEY_HOME: u16 = 0x66; pub const KEY_LEFT: u16 = 0x69; pub const KEY_RIGHT: u16 = 0x6a; pub const KEY_POWER: u16 = 0x74; pub const KEY_WAKEUP: u16 = 0x8f;