GHI Electronics,LLC USBwiz User Manual
1. USBwiz Functions
Keyboard
Most keyboards return 8 bytes in the HID report which are decoded as follows:
First byte is the modifier byte: (When the bit is set, the associated button is pressed)
Modifier Key Bit Order
Left CTRL 0
Left SHIFT 1
Left ALT 2
Left GUI 3
Right CTRL 4
Right SHIFT 5
Right ALT 6
Right GUI 7
Key array bytes follows with each byte represent a pressed key. Thus, several pressed
keys can be reported at the same time. When many keys are pressed and the keyboard
cannot handle them, it will return an error in the HID report. Here are the codes for the
keys in this array:
Usage
ID
(Hex)
Usage Name Remarks
00 Reserved (no event indicated) Status indicator, Not a physical Button
01
Keyboard ErrorRollOver Status indicator, Not a physical Button
02
Keyboard POSTFail Status indicator, Not a physical Button
03
Keyboard ErrorUndefined Status indicator, Not a physical Button
04
Keyboard a and A remapped for other languages
05 Keyboard b and B
06
Keyboard c and C remapped for other languages
07 Keyboard d and D
08 Keyboard e and E
09 Keyboard f and F
0A Keyboard g and G
0B Keyboard h and H
0C Keyboard i and I
0D Keyboard j and J
0E Keyboard k and K
0F Keyboard l and L
10
Keyboard m and M remapped for other languages
11 Keyboard n and N
12
Keyboard o and O remapped for other languages
13
Keyboard p and P remapped for other languages
14 Keyboard q and Q
remapped for other languages
15 Keyboard r and R
16
Keyboard s and S remapped for other languages
17 Keyboard t and T
Rev.2.27 Page 22 of 64 www.ghielectronics.com
Commenti su questo manuale