|
#define | HIL_CLOCK 8MHZ |
|
#define | HIL_EK1_CLOCK 30HZ |
|
#define | HIL_EK2_CLOCK 60HZ |
|
#define | HIL_TIMEOUT_DEV 5 /* ms */ |
|
#define | HIL_TIMEOUT_DEVS 10 /* ms */ |
|
#define | HIL_TIMEOUT_NORESP 10 /* ms */ |
|
#define | HIL_TIMEOUT_DEVS_DATA 16 /* ms */ |
|
#define | HIL_TIMEOUT_SELFTEST 200 /* ms */ |
|
#define | HIL_WIRE_PACKET_LEN 15 |
|
#define | HIL_DO_ALTER_CTRL |
|
#define | HIL_CTRL_ONLY 0xc0000000 /* *Only* alter the control registers */ |
|
#define | HIL_IDD_DID_TYPE_MASK 0xe0 /* Primary type bits */ |
|
#define | HIL_IDD_DID_TYPE_KB_INTEGRAL 0xa0 /* Integral keyboard */ |
|
#define | HIL_IDD_DID_TYPE_KB_ITF 0xc0 /* ITD keyboard */ |
|
#define | HIL_IDD_DID_TYPE_KB_RSVD 0xe0 /* Reserved keyboard type */ |
|
#define | HIL_IDD_DID_TYPE_KB_LANG_MASK 0x1f /* Keyboard locale bits */ |
|
#define | HIL_IDD_DID_KBLANG_USE_ESD 0x00 /* Use ESD Locale instead */ |
|
#define | HIL_IDD_DID_TYPE_ABS 0x80 /* Absolute Positioners */ |
|
#define | HIL_IDD_DID_ABS_RSVD1_MASK 0xf8 /* Reserved */ |
|
#define | HIL_IDD_DID_ABS_RSVD1 0x98 |
|
#define | HIL_IDD_DID_ABS_TABLET_MASK 0xf8 /* Tablets and digitizers */ |
|
#define | HIL_IDD_DID_ABS_TABLET 0x90 |
|
#define | HIL_IDD_DID_ABS_TSCREEN_MASK 0xfc /* Touch screens */ |
|
#define | HIL_IDD_DID_ABS_TSCREEN 0x8c |
|
#define | HIL_IDD_DID_ABS_RSVD2_MASK 0xfc /* Reserved */ |
|
#define | HIL_IDD_DID_ABS_RSVD2 0x88 |
|
#define | HIL_IDD_DID_ABS_RSVD3_MASK 0xfc /* Reserved */ |
|
#define | HIL_IDD_DID_ABS_RSVD3 0x80 |
|
#define | HIL_IDD_DID_TYPE_REL 0x60 /* Relative Positioners */ |
|
#define | HIL_IDD_DID_REL_RSVD1_MASK 0xf0 /* Reserved */ |
|
#define | HIL_IDD_DID_REL_RSVD1 0x70 |
|
#define | HIL_IDD_DID_REL_RSVD2_MASK 0xfc /* Reserved */ |
|
#define | HIL_IDD_DID_REL_RSVD2 0x6c |
|
#define | HIL_IDD_DID_REL_MOUSE_MASK 0xfc /* Mouse */ |
|
#define | HIL_IDD_DID_REL_MOUSE 0x68 |
|
#define | HIL_IDD_DID_REL_QUAD_MASK 0xf8 /* Other Quadrature Devices */ |
|
#define | HIL_IDD_DID_REL_QUAD 0x60 |
|
#define | HIL_IDD_DID_TYPE_CHAR 0x40 /* Character Entry */ |
|
#define | HIL_IDD_DID_CHAR_BARCODE_MASK 0xfc /* Barcode Reader */ |
|
#define | HIL_IDD_DID_CHAR_BARCODE 0x5c |
|
#define | HIL_IDD_DID_CHAR_RSVD1_MASK 0xfc /* Reserved */ |
|
#define | HIL_IDD_DID_CHAR_RSVD1 0x58 |
|
#define | HIL_IDD_DID_CHAR_RSVD2_MASK 0xf8 /* Reserved */ |
|
#define | HIL_IDD_DID_CHAR_RSVD2 0x50 |
|
#define | HIL_IDD_DID_CHAR_RSVD3_MASK 0xf0 /* Reserved */ |
|
#define | HIL_IDD_DID_CHAR_RSVD3 0x40 |
|
#define | HIL_IDD_DID_TYPE_OTHER 0x20 /* Miscellaneous */ |
|
#define | HIL_IDD_DID_OTHER_RSVD1_MASK 0xf0 /* Reserved */ |
|
#define | HIL_IDD_DID_OTHER_RSVD1 0x30 |
|
#define | HIL_IDD_DID_OTHER_BARCODE_MASK 0xfc /* Tone Generator */ |
|
#define | HIL_IDD_DID_OTHER_BARCODE 0x2c |
|
#define | HIL_IDD_DID_OTHER_RSVD2_MASK 0xfc /* Reserved */ |
|
#define | HIL_IDD_DID_OTHER_RSVD2 0x28 |
|
#define | HIL_IDD_DID_OTHER_RSVD3_MASK 0xf8 /* Reserved */ |
|
#define | HIL_IDD_DID_OTHER_RSVD3 0x20 |
|
#define | HIL_IDD_DID_TYPE_KEYPAD 0x00 /* Vectra Keyboard */ |
|
#define | HIL_IDD_HEADER_AXSET_MASK 0x03 /* Number of axis in a set */ |
|
#define | HIL_IDD_HEADER_RSC 0x04 /* Supports RSC command */ |
|
#define | HIL_IDD_HEADER_EXD 0x08 /* Supports EXD command */ |
|
#define | HIL_IDD_HEADER_IOD 0x10 /* IOD byte to follow */ |
|
#define | HIL_IDD_HEADER_16BIT 0x20 /* 16 (vs. 8) bit resolution */ |
|
#define | HIL_IDD_HEADER_ABS 0x40 /* Reports Absolute Position */ |
|
#define | HIL_IDD_HEADER_2X_AXIS 0x80 /* Two sets of 1-3 axis */ |
|
#define | HIL_IDD_IOD_NBUTTON_MASK 0x07 /* Number of buttons */ |
|
#define | HIL_IDD_IOD_PROXIMITY 0x08 /* Proximity in/out events */ |
|
#define | HIL_IDD_IOD_PROMPT_MASK 0x70 /* Number of prompts/acks */ |
|
#define | HIL_IDD_IOD_PROMPT_SHIFT 4 |
|
#define | HIL_IDD_IOD_PROMPT 0x80 /* Generic prompt/ack */ |
|
#define | HIL_IDD_NUM_AXES_PER_SET(header_packet) ((header_packet) & HIL_IDD_HEADER_AXSET_MASK) |
|
#define | HIL_IDD_NUM_AXSETS(header_packet) (2 - !((header_packet) & HIL_IDD_HEADER_2X_AXIS)) |
|
#define | HIL_IDD_LEN(header_packet) |
|
#define | HIL_IDD_AXIS_COUNTS_PER_M(header_ptr) |
|
#define | HIL_IDD_AXIS_MAX(header_ptr, __axnum) |
|
#define | HIL_IDD_IOD(header_ptr) (*(header_ptr + HIL_IDD_LEN((*header_ptr)) - 1)) |
|
#define | HIL_IDD_HAS_GEN_PROMPT(header_ptr) |
|
#define | HIL_IDD_HAS_GEN_PROXIMITY(header_ptr) |
|
#define | HIL_IDD_NUM_BUTTONS(header_ptr) |
|
#define | HIL_IDD_NUM_PROMPTS(header_ptr) |
|
#define | HIL_EXD_HEADER_WRG 0x03 /* Supports type2 WRG */ |
|
#define | HIL_EXD_HEADER_WRG_TYPE1 0x01 /* Supports type1 WRG */ |
|
#define | HIL_EXD_HEADER_WRG_TYPE2 0x02 /* Supports type2 WRG */ |
|
#define | HIL_EXD_HEADER_RRG 0x04 /* Supports RRG command */ |
|
#define | HIL_EXD_HEADER_RNM 0x10 /* Supports RNM command */ |
|
#define | HIL_EXD_HEADER_RST 0x20 /* Supports RST command */ |
|
#define | HIL_EXD_HEADER_LOCALE 0x40 /* Contains locale code */ |
|
#define | HIL_EXD_NUM_RRG(header_ptr) |
|
#define | HIL_EXD_NUM_WWG(header_ptr) |
|
#define | HIL_EXD_LEN(header_ptr) |
|
#define | HIL_EXD_LOCALE(header_ptr) |
|
#define | HIL_EXD_WRG_TYPE2_LEN(header_ptr) |
|
#define | HIL_LOCALE_MAX 0x1f |
|
#define | HIL_LOCALE_MAP |
|
#define | HIL_KEYCODES_SET1_TBLSIZE 128 |
|
#define | HIL_KEYCODES_SET1 |
|
#define | HIL_KEYCODES_SET3_TBLSIZE 128 |
|
#define | HIL_KEYCODES_SET3 |
|
#define | HIL_POL_NUM_AXES_MASK 0x03 /* Number of axis reported */ |
|
#define | HIL_POL_CTS 0x04 /* Device ready to receive data */ |
|
#define | HIL_POL_STATUS_PENDING 0x08 /* Device has status to report */ |
|
#define | HIL_POL_CHARTYPE_MASK 0x70 /* Type of character data to follow */ |
|
#define | HIL_POL_CHARTYPE_NONE 0x00 /* No character data to follow */ |
|
#define | HIL_POL_CHARTYPE_RSVD1 0x10 /* Reserved Set 1 */ |
|
#define | HIL_POL_CHARTYPE_ASCII 0x20 /* U.S. ASCII */ |
|
#define | HIL_POL_CHARTYPE_BINARY 0x30 /* Binary data */ |
|
#define | HIL_POL_CHARTYPE_SET1 0x40 /* Keycode Set 1 */ |
|
#define | HIL_POL_CHARTYPE_RSVD2 0x50 /* Reserved Set 2 */ |
|
#define | HIL_POL_CHARTYPE_SET2 0x60 /* Keycode Set 2 */ |
|
#define | HIL_POL_CHARTYPE_SET3 0x70 /* Keycode Set 3 */ |
|
#define | HIL_POL_AXIS_ALT 0x80 /* Data is from axis set 2 */ |
|