|
| Chapter 4: Programming | |
| Table 1: NCR Proprietary HID Usages |
|
|
| Usage | Hexadecimal Value | |
|
| ||
| HID_USAGE_PAGE_NCR_MISC 0xFF8F |
| |
|
|
| |
| KEYLOCK | 0x01 |
|
|
|
| |
| KEYBOARD_TONE | 0x02 |
|
|
|
| |
| KEYBOARD_MAP | 0x03 |
|
|
|
| |
| KEY_CLICK_INFO | 0x11 |
|
|
|
| |
| ERROR_TONE | 0x12 |
|
|
|
| |
| TONE FREQUENCY | 0x21 |
|
|
|
| |
| TONE DURATION | 0x22 |
|
|
|
| |
| TONE VOLUME | 0x23 |
|
|
|
| |
| KEY_MATRIX_USAGE | 0x31 |
|
|
|
|
|
The report descriptors as emitted by the HID device should be consulted as the authority for the format of the reports. Software should access fields using report
Keylock hardware HID interface: The keylock reports its positions as HID buttons. The positions are assigned as follows:
•Button 1 = Ex
•Button 2 = L
•Button 3 = R
•Button 4 = S.
Tone hardware interface: The ErrorTone usage collects a tone output report that sounds an immediate tone. The KeyClick usage collects a tone output report that sets the sound made for a key click. The units for Duration are milliseconds. The volume is a value between Logical_Minimum (silent) and Logical_Maximum (greatest volume). The tone is an index from Table 2: Note Numbers and Frequencies.