Go to the documentation of this file.
21 #define TP_COMMAND 0xE2
23 #define TP_READ_ID 0xE1
24 #define TP_MAGIC_IDENT 0x01
31 #define TP_RECALIB 0x51
32 #define TP_POWER_DOWN 0x44
33 #define TP_EXT_DEV 0x21
34 #define TP_EXT_BTN 0x4B
36 #define TP_POR_RESULTS 0x25
37 #define TP_DISABLE_EXT 0x40
38 #define TP_ENABLE_EXT 0x41
43 #define TP_SET_SOFT_TRANS 0x4E
44 #define TP_CANCEL_SOFT_TRANS 0xB9
45 #define TP_SET_HARD_TRANS 0x45
51 #define TP_WRITE_MEM 0x81
52 #define TP_READ_MEM 0x80
59 #define TP_INERTIA 0x4D
62 #define TP_DRAGHYS 0x58
66 #define TP_MINDRAG 0x59
69 #define TP_THRESH 0x5C
70 #define TP_UP_THRESH 0x5A
71 #define TP_Z_TIME 0x5E
72 #define TP_JENKS_CURV 0x5D
77 #define TP_TOGGLE 0x47
79 #define TP_TOGGLE_MB 0x23
80 #define TP_MASK_MB 0x01
81 #define TP_TOGGLE_EXT_DEV 0x23
82 #define TP_MASK_EXT_DEV 0x02
83 #define TP_TOGGLE_DRIFT 0x23
84 #define TP_MASK_DRIFT 0x80
85 #define TP_TOGGLE_BURST 0x28
86 #define TP_MASK_BURST 0x80
87 #define TP_TOGGLE_PTSON 0x2C
88 #define TP_MASK_PTSON 0x01
89 #define TP_TOGGLE_HARD_TRANS 0x2C
90 #define TP_MASK_HARD_TRANS 0x80
91 #define TP_TOGGLE_TWOHAND 0x2D
92 #define TP_MASK_TWOHAND 0x01
93 #define TP_TOGGLE_STICKY_TWO 0x2D
94 #define TP_MASK_STICKY_TWO 0x04
95 #define TP_TOGGLE_SKIPBACK 0x2D
96 #define TP_MASK_SKIPBACK 0x08
97 #define TP_TOGGLE_SOURCE_TAG 0x20
99 #define TP_MASK_SOURCE_TAG 0x80
100 #define TP_TOGGLE_EXT_TAG 0x22
102 #define TP_MASK_EXT_TAG 0x04
106 #define TP_POR_SUCCESS 0x3B
111 #define TP_DEF_SENS 0x80
112 #define TP_DEF_INERTIA 0x06
113 #define TP_DEF_SPEED 0x61
114 #define TP_DEF_REACH 0x0A
116 #define TP_DEF_DRAGHYS 0xFF
117 #define TP_DEF_MINDRAG 0x14
119 #define TP_DEF_THRESH 0x08
120 #define TP_DEF_UP_THRESH 0xFF
121 #define TP_DEF_Z_TIME 0x26
122 #define TP_DEF_JENKS_CURV 0x87
125 #define TP_DEF_MB 0x00
126 #define TP_DEF_PTSON 0x00
127 #define TP_DEF_SKIPBACK 0x00
128 #define TP_DEF_EXT_DEV 0x00
130 #define MAKE_PS2_CMD(params, results, cmd) ((params<<12) | (results<<8) | (cmd))
145 #ifdef CONFIG_MOUSE_PS2_TRACKPOINT