Go to the documentation of this file.
19 #define ETP_FW_ID_QUERY 0x00
20 #define ETP_FW_VERSION_QUERY 0x01
21 #define ETP_CAPABILITIES_QUERY 0x02
22 #define ETP_SAMPLE_QUERY 0x03
23 #define ETP_RESOLUTION_QUERY 0x04
28 #define ETP_REGISTER_READ 0x10
29 #define ETP_REGISTER_WRITE 0x11
30 #define ETP_REGISTER_READWRITE 0x00
35 #define ETP_PS2_CUSTOM_COMMAND 0xf8
40 #define ETP_PS2_COMMAND_TRIES 3
41 #define ETP_PS2_COMMAND_DELAY 500
46 #define ETP_READ_BACK_TRIES 5
47 #define ETP_READ_BACK_DELAY 2000
52 #define ETP_R10_ABSOLUTE_MODE 0x04
53 #define ETP_R11_4_BYTE_MODE 0x02
58 #define ETP_CAP_HAS_ROCKER 0x04
65 #define ETP_EDGE_FUZZ_V1 32
67 #define ETP_XMIN_V1 ( 0 + ETP_EDGE_FUZZ_V1)
68 #define ETP_XMAX_V1 (576 - ETP_EDGE_FUZZ_V1)
69 #define ETP_YMIN_V1 ( 0 + ETP_EDGE_FUZZ_V1)
70 #define ETP_YMAX_V1 (384 - ETP_EDGE_FUZZ_V1)
77 #define ETP_XMAX_V2 1152
79 #define ETP_YMAX_V2 768
82 #define ETP_PMAX_V2 255
84 #define ETP_WMAX_V2 15
90 #define PACKET_UNKNOWN 0x01
91 #define PACKET_DEBOUNCE 0x02
92 #define PACKET_V3_HEAD 0x03
93 #define PACKET_V3_TAIL 0x04
94 #define PACKET_V4_HEAD 0x05
95 #define PACKET_V4_MOTION 0x06
96 #define PACKET_V4_STATUS 0x07
101 #define ETP_MAX_FINGERS 5
106 #define ETP_WEIGHT_VALUE 5
142 #ifdef CONFIG_MOUSE_PS2_ELANTECH