1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _HIL_H_ 20 #define _HIL_H_ 21 #include <asm/types.h> 22 #define HIL_CLOCK 8MHZ 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define HIL_EK1_CLOCK 30HZ 25 #define HIL_EK2_CLOCK 60HZ 26 #define HIL_TIMEOUT_DEV 5 27 #define HIL_TIMEOUT_DEVS 10 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define HIL_TIMEOUT_NORESP 10 30 #define HIL_TIMEOUT_DEVS_DATA 16 31 #define HIL_TIMEOUT_SELFTEST 200 32 #define HIL_WIRE_PACKET_LEN 15 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 enum hil_wire_bitpos { 35 HIL_WIRE_START = 0, 36 HIL_WIRE_ADDR2, 37 HIL_WIRE_ADDR1, 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 HIL_WIRE_ADDR0, 40 HIL_WIRE_COMMAND, 41 HIL_WIRE_DATA7, 42 HIL_WIRE_DATA6, 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 HIL_WIRE_DATA5, 45 HIL_WIRE_DATA4, 46 HIL_WIRE_DATA3, 47 HIL_WIRE_DATA2, 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 HIL_WIRE_DATA1, 50 HIL_WIRE_DATA0, 51 HIL_WIRE_PARITY, 52 HIL_WIRE_STOP 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 }; 55 enum hil_pkt_bitpos { 56 HIL_PKT_CMD = 0x00000800, 57 HIL_PKT_ADDR2 = 0x00000400, 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 HIL_PKT_ADDR1 = 0x00000200, 60 HIL_PKT_ADDR0 = 0x00000100, 61 HIL_PKT_ADDR_MASK = 0x00000700, 62 HIL_PKT_ADDR_SHIFT = 8, 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 HIL_PKT_DATA7 = 0x00000080, 65 HIL_PKT_DATA6 = 0x00000040, 66 HIL_PKT_DATA5 = 0x00000020, 67 HIL_PKT_DATA4 = 0x00000010, 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 HIL_PKT_DATA3 = 0x00000008, 70 HIL_PKT_DATA2 = 0x00000004, 71 HIL_PKT_DATA1 = 0x00000002, 72 HIL_PKT_DATA0 = 0x00000001, 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 HIL_PKT_DATA_MASK = 0x000000FF, 75 HIL_PKT_DATA_SHIFT = 0 76 }; 77 enum hil_error_bitpos { 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 HIL_ERR_OB = 0x00000800, 80 HIL_ERR_INT = 0x00010000, 81 HIL_ERR_NMI = 0x00020000, 82 HIL_ERR_LERR = 0x00040000, 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 HIL_ERR_PERR = 0x01000000, 85 HIL_ERR_FERR = 0x02000000, 86 HIL_ERR_FOF = 0x04000000 87 }; 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 enum hil_control_bitpos { 90 HIL_CTRL_TEST = 0x00010000, 91 HIL_CTRL_IPF = 0x00040000, 92 HIL_CTRL_APE = 0x02000000 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 }; 95 #define HIL_DO_ALTER_CTRL 0x40000000 96 #define HIL_CTRL_ONLY 0xc0000000 97 typedef u32 hil_packet; 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 enum hil_command { 100 HIL_CMD_IFC = 0x00, 101 HIL_CMD_EPT = 0x01, 102 HIL_CMD_ELB = 0x02, 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 HIL_CMD_IDD = 0x03, 105 HIL_CMD_DSR = 0x04, 106 HIL_CMD_PST = 0x05, 107 HIL_CMD_RRG = 0x06, 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 HIL_CMD_WRG = 0x07, 110 HIL_CMD_ACF = 0x08, 111 HIL_CMDID_ACF = 0x07, 112 HIL_CMD_POL = 0x10, 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 HIL_CMDCT_POL = 0x0f, 115 HIL_CMD_RPL = 0x20, 116 HIL_CMDCT_RPL = 0x0f, 117 HIL_CMD_RNM = 0x30, 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 HIL_CMD_RST = 0x31, 120 HIL_CMD_EXD = 0x32, 121 HIL_CMD_RSC = 0x33, 122 HIL_CMD_DKA = 0x3d, 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 HIL_CMD_EK1 = 0x3e, 125 HIL_CMD_EK2 = 0x3f, 126 HIL_CMD_PR1 = 0x40, 127 HIL_CMD_PR2 = 0x41, 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 HIL_CMD_PR3 = 0x42, 130 HIL_CMD_PR4 = 0x43, 131 HIL_CMD_PR5 = 0x44, 132 HIL_CMD_PR6 = 0x45, 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 HIL_CMD_PR7 = 0x46, 135 HIL_CMD_PRM = 0x47, 136 HIL_CMD_AK1 = 0x48, 137 HIL_CMD_AK2 = 0x49, 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 HIL_CMD_AK3 = 0x4a, 140 HIL_CMD_AK4 = 0x4b, 141 HIL_CMD_AK5 = 0x4c, 142 HIL_CMD_AK6 = 0x4d, 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 HIL_CMD_AK7 = 0x4e, 145 HIL_CMD_ACK = 0x4f, 146 HIL_CMD_RIO = 0xfa, 147 HIL_CMD_SHR = 0xfb, 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 HIL_CMD_TER = 0xfc, 150 HIL_CMD_CAE = 0xfd, 151 HIL_CMD_DHR = 0xfe, 152 }; 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 #define HIL_IDD_DID_TYPE_MASK 0xe0 155 #define HIL_IDD_DID_TYPE_KB_INTEGRAL 0xa0 156 #define HIL_IDD_DID_TYPE_KB_ITF 0xc0 157 #define HIL_IDD_DID_TYPE_KB_RSVD 0xe0 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 #define HIL_IDD_DID_TYPE_KB_LANG_MASK 0x1f 160 #define HIL_IDD_DID_KBLANG_USE_ESD 0x00 161 #define HIL_IDD_DID_TYPE_ABS 0x80 162 #define HIL_IDD_DID_ABS_RSVD1_MASK 0xf8 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 #define HIL_IDD_DID_ABS_RSVD1 0x98 165 #define HIL_IDD_DID_ABS_TABLET_MASK 0xf8 166 #define HIL_IDD_DID_ABS_TABLET 0x90 167 #define HIL_IDD_DID_ABS_TSCREEN_MASK 0xfc 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 #define HIL_IDD_DID_ABS_TSCREEN 0x8c 170 #define HIL_IDD_DID_ABS_RSVD2_MASK 0xfc 171 #define HIL_IDD_DID_ABS_RSVD2 0x88 172 #define HIL_IDD_DID_ABS_RSVD3_MASK 0xfc 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 #define HIL_IDD_DID_ABS_RSVD3 0x80 175 #define HIL_IDD_DID_TYPE_REL 0x60 176 #define HIL_IDD_DID_REL_RSVD1_MASK 0xf0 177 #define HIL_IDD_DID_REL_RSVD1 0x70 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 #define HIL_IDD_DID_REL_RSVD2_MASK 0xfc 180 #define HIL_IDD_DID_REL_RSVD2 0x6c 181 #define HIL_IDD_DID_REL_MOUSE_MASK 0xfc 182 #define HIL_IDD_DID_REL_MOUSE 0x68 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 #define HIL_IDD_DID_REL_QUAD_MASK 0xf8 185 #define HIL_IDD_DID_REL_QUAD 0x60 186 #define HIL_IDD_DID_TYPE_CHAR 0x40 187 #define HIL_IDD_DID_CHAR_BARCODE_MASK 0xfc 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 #define HIL_IDD_DID_CHAR_BARCODE 0x5c 190 #define HIL_IDD_DID_CHAR_RSVD1_MASK 0xfc 191 #define HIL_IDD_DID_CHAR_RSVD1 0x58 192 #define HIL_IDD_DID_CHAR_RSVD2_MASK 0xf8 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 #define HIL_IDD_DID_CHAR_RSVD2 0x50 195 #define HIL_IDD_DID_CHAR_RSVD3_MASK 0xf0 196 #define HIL_IDD_DID_CHAR_RSVD3 0x40 197 #define HIL_IDD_DID_TYPE_OTHER 0x20 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 #define HIL_IDD_DID_OTHER_RSVD1_MASK 0xf0 200 #define HIL_IDD_DID_OTHER_RSVD1 0x30 201 #define HIL_IDD_DID_OTHER_BARCODE_MASK 0xfc 202 #define HIL_IDD_DID_OTHER_BARCODE 0x2c 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 #define HIL_IDD_DID_OTHER_RSVD2_MASK 0xfc 205 #define HIL_IDD_DID_OTHER_RSVD2 0x28 206 #define HIL_IDD_DID_OTHER_RSVD3_MASK 0xf8 207 #define HIL_IDD_DID_OTHER_RSVD3 0x20 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 #define HIL_IDD_DID_TYPE_KEYPAD 0x00 210 #define HIL_IDD_HEADER_AXSET_MASK 0x03 211 #define HIL_IDD_HEADER_RSC 0x04 212 #define HIL_IDD_HEADER_EXD 0x08 213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 #define HIL_IDD_HEADER_IOD 0x10 215 #define HIL_IDD_HEADER_16BIT 0x20 216 #define HIL_IDD_HEADER_ABS 0x40 217 #define HIL_IDD_HEADER_2X_AXIS 0x80 218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219 #define HIL_IDD_IOD_NBUTTON_MASK 0x07 220 #define HIL_IDD_IOD_PROXIMITY 0x08 221 #define HIL_IDD_IOD_PROMPT_MASK 0x70 222 #define HIL_IDD_IOD_PROMPT_SHIFT 4 223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 #define HIL_IDD_IOD_PROMPT 0x80 225 #define HIL_IDD_NUM_AXES_PER_SET(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK) 226 #define HIL_IDD_NUM_AXSETS(header_packet) (2 - !((header_packet) & HIL_IDD_HEADER_2X_AXIS)) 227 #define HIL_IDD_LEN(header_packet) ((4 - !(header_packet & HIL_IDD_HEADER_IOD) - 2 * !(HIL_IDD_NUM_AXES_PER_SET(header_packet))) + 2 * HIL_IDD_NUM_AXES_PER_SET(header_packet) * !!((header_packet) & HIL_IDD_HEADER_ABS)) 228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 #define HIL_IDD_AXIS_COUNTS_PER_M(header_ptr) (!(HIL_IDD_NUM_AXSETS(*(header_ptr))) ? -1 : (((*(header_ptr + 1) & HIL_PKT_DATA_MASK) + ((*(header_ptr + 2) & HIL_PKT_DATA_MASK)) << 8) * ((*(header_ptr) & HIL_IDD_HEADER_16BIT) ? 100 : 1))) 230 #define HIL_IDD_AXIS_MAX(header_ptr, __axnum) ((!(*(header_ptr) & HIL_IDD_HEADER_ABS) || (HIL_IDD_NUM_AXES_PER_SET(*(header_ptr)) <= __axnum)) ? 0 : ((HIL_PKT_DATA_MASK & *((header_ptr) + 3 + 2 * __axnum)) + ((HIL_PKT_DATA_MASK & *((header_ptr) + 4 + 2 * __axnum)) << 8))) 231 #define HIL_IDD_IOD(header_ptr) (*(header_ptr + HIL_IDD_LEN((*header_ptr)) - 1)) 232 #define HIL_IDD_HAS_GEN_PROMPT(header_ptr) ((*header_ptr & HIL_IDD_HEADER_IOD) && (HIL_IDD_IOD(header_ptr) & HIL_IDD_IOD_PROMPT)) 233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234 #define HIL_IDD_HAS_GEN_PROXIMITY(header_ptr) ((*header_ptr & HIL_IDD_HEADER_IOD) && (HIL_IDD_IOD(header_ptr) & HIL_IDD_IOD_PROXIMITY)) 235 #define HIL_IDD_NUM_BUTTONS(header_ptr) ((*header_ptr & HIL_IDD_HEADER_IOD) ? (HIL_IDD_IOD(header_ptr) & HIL_IDD_IOD_NBUTTON_MASK) : 0) 236 #define HIL_IDD_NUM_PROMPTS(header_ptr) ((*header_ptr & HIL_IDD_HEADER_IOD) ? ((HIL_IDD_IOD(header_ptr) & HIL_IDD_IOD_NPROMPT_MASK) >> HIL_IDD_IOD_PROMPT_SHIFT) : 0) 237 #define HIL_EXD_HEADER_WRG 0x03 238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 #define HIL_EXD_HEADER_WRG_TYPE1 0x01 240 #define HIL_EXD_HEADER_WRG_TYPE2 0x02 241 #define HIL_EXD_HEADER_RRG 0x04 242 #define HIL_EXD_HEADER_RNM 0x10 243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 #define HIL_EXD_HEADER_RST 0x20 245 #define HIL_EXD_HEADER_LOCALE 0x40 246 #define HIL_EXD_NUM_RRG(header_ptr) ((*header_ptr & HIL_EXD_HEADER_RRG) ? (*(header_ptr + 1) & HIL_PKT_DATA_MASK) : 0) 247 #define HIL_EXD_NUM_WWG(header_ptr) ((*header_ptr & HIL_EXD_HEADER_WRG) ? (*(header_ptr + 2 - !(*header_ptr & HIL_EXD_HEADER_RRG)) & HIL_PKT_DATA_MASK) : 0) 248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 #define HIL_EXD_LEN(header_ptr) (!!(*header_ptr & HIL_EXD_HEADER_RRG) + !!(*header_ptr & HIL_EXD_HEADER_WRG) + !!(*header_ptr & HIL_EXD_HEADER_LOCALE) + 2 * !!(*header_ptr & HIL_EXD_HEADER_WRG_TYPE2) + 1) 250 #define HIL_EXD_LOCALE(header_ptr) (!(*header_ptr & HIL_EXD_HEADER_LOCALE) ? -1 : (*(header_ptr + HIL_EXD_LEN(header_ptr) - 1) & HIL_PKT_DATA_MASK)) 251 #define HIL_EXD_WRG_TYPE2_LEN(header_ptr) (!(*header_ptr & HIL_EXD_HEADER_WRG_TYPE2) ? -1 : (*(header_ptr + HIL_EXD_LEN(header_ptr) - 2 - !!(*header_ptr & HIL_EXD_HEADER_LOCALE)) & HIL_PKT_DATA_MASK) + ((*(header_ptr + HIL_EXD_LEN(header_ptr) - 1 - !!(*header_ptr & HIL_EXD_HEADER_LOCALE)) & HIL_PKT_DATA_MASK) << 8)) 252 #define HIL_LOCALE_MAX 0x1f 253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 #define HIL_LOCALE_MAP "", "", "", "swiss.french", "portuguese", "arabic", "hebrew", "english.canadian", "turkish", "greek", "thai", "italian", "korean", "dutch", "swedish", "german", "chinese", "chinese", "swiss.french", "spanish", "swiss.german", "flemish", "finnish", "english.uk", "french.canadian", "swiss.german", "norwegian", "french", "danish", "japanese", "spanish", "english.us" 255 #define HIL_KEYCODES_SET1_TBLSIZE 128 256 #define HIL_KEYCODES_SET1 KEY_5, KEY_RESERVED, KEY_RIGHTALT, KEY_LEFTALT, KEY_RIGHTSHIFT, KEY_LEFTSHIFT, KEY_LEFTCTRL, KEY_SYSRQ, KEY_KP4, KEY_KP8, KEY_KP5, KEY_KP9, KEY_KP6, KEY_KP7, KEY_KPCOMMA, KEY_KPENTER, KEY_KP1, KEY_KPSLASH, KEY_KP2, KEY_KPPLUS, KEY_KP3, KEY_KPASTERISK, KEY_KP0, KEY_KPMINUS, KEY_B, KEY_V, KEY_C, KEY_X, KEY_Z, KEY_RESERVED, KEY_RESERVED, KEY_ESC, KEY_6, KEY_F10, KEY_3, KEY_F11, KEY_KPDOT, KEY_F9, KEY_TAB , KEY_F12, KEY_H, KEY_G, KEY_F, KEY_D, KEY_S, KEY_A, KEY_RESERVED, KEY_CAPSLOCK, KEY_U, KEY_Y, KEY_T, KEY_R, KEY_E, KEY_W, KEY_Q, KEY_TAB, KEY_7, KEY_6, KEY_5, KEY_4, KEY_3, KEY_2, KEY_1, KEY_GRAVE, KEY_F13, KEY_F14, KEY_F15, KEY_F16, KEY_F17, KEY_F18, KEY_F19, KEY_F20, KEY_MENU, KEY_F4, KEY_F3, KEY_F2, KEY_F1, KEY_VOLUMEUP, KEY_STOP, KEY_SENDFILE, KEY_SYSRQ, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_VOLUMEDOWN, KEY_DEL_EOL, KEY_DEL_EOS, KEY_8, KEY_9, KEY_0, KEY_MINUS, KEY_EQUAL, KEY_BACKSPACE, KEY_INS_LINE, KEY_DEL_LINE, KEY_I, KEY_O, KEY_P, KEY_LEFTBRACE, KEY_RIGHTBRACE, KEY_BACKSLASH, KEY_INSERT, KEY_DELETE, KEY_J, KEY_K, KEY_L, KEY_SEMICOLON, KEY_APOSTROPHE, KEY_ENTER, KEY_HOME, KEY_PAGEUP, KEY_M, KEY_COMMA, KEY_DOT, KEY_SLASH, KEY_BACKSLASH, KEY_SELECT, KEY_102ND, KEY_PAGEDOWN, KEY_N, KEY_SPACE, KEY_NEXT, KEY_RESERVED, KEY_LEFT, KEY_DOWN, KEY_UP, KEY_RIGHT 257 #define HIL_KEYCODES_SET3_TBLSIZE 128 258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259 #define HIL_KEYCODES_SET3 KEY_RESERVED, KEY_ESC, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0, KEY_MINUS, KEY_EQUAL, KEY_BACKSPACE, KEY_TAB, KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T, KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P, KEY_LEFTBRACE, KEY_RIGHTBRACE, KEY_ENTER, KEY_LEFTCTRL, KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_SEMICOLON, KEY_APOSTROPHE,KEY_GRAVE, KEY_LEFTSHIFT, KEY_BACKSLASH, KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M, KEY_COMMA, KEY_DOT, KEY_SLASH, KEY_RIGHTSHIFT, KEY_KPASTERISK, KEY_LEFTALT, KEY_SPACE, KEY_CAPSLOCK, KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_F10, KEY_NUMLOCK, KEY_SCROLLLOCK, KEY_KP7, KEY_KP8, KEY_KP9, KEY_KPMINUS, KEY_KP4, KEY_KP5, KEY_KP6, KEY_KPPLUS, KEY_KP1, KEY_KP2, KEY_KP3, KEY_KP0, KEY_KPDOT, KEY_SYSRQ, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_UP, KEY_LEFT, KEY_DOWN, KEY_RIGHT, KEY_HOME, KEY_PAGEUP, KEY_END, KEY_PAGEDOWN, KEY_INSERT, KEY_DELETE, KEY_102ND, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED, KEY_RESERVED 260 #define HIL_POL_NUM_AXES_MASK 0x03 261 #define HIL_POL_CTS 0x04 262 #define HIL_POL_STATUS_PENDING 0x08 263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 #define HIL_POL_CHARTYPE_MASK 0x70 265 #define HIL_POL_CHARTYPE_NONE 0x00 266 #define HIL_POL_CHARTYPE_RSVD1 0x10 267 #define HIL_POL_CHARTYPE_ASCII 0x20 268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 #define HIL_POL_CHARTYPE_BINARY 0x30 270 #define HIL_POL_CHARTYPE_SET1 0x40 271 #define HIL_POL_CHARTYPE_RSVD2 0x50 272 #define HIL_POL_CHARTYPE_SET2 0x60 273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 #define HIL_POL_CHARTYPE_SET3 0x70 275 #define HIL_POL_AXIS_ALT 0x80 276 #endif 277