eKK8011AB
USB & PS/2 Keyboard Encoder
Using page (generic desktop): 0x05 0x01
Using (system control): 0x09 0x80
Collection (application): 0xa1 0x01
Report id (2): 0x85 0x02
Using minimum (81): 0x19 0x81
Using maximum (83): 0x29 0x83
Logical minimum (0): 0x15 0x00
Logic maximum (1): 0x25 0x01
Report size (1): 0x75 0x01
Report count (3): 0x95 0x03
Input (data, variable, absolute): 0x81 0x02
Report count (5): 0x95 0x05
Input (constant): 0x81 0x01
End collection: 0xc0
6.2.2 LED Report for USB Keyboard
When one of the LED buttons (Num, Caps, Scroll) is pressed, the host issues a Setup
package with a Set_Report request to Endpoint 0 and an Out package with 1 byte data,
which indicates the LED status. The format of the 1 byte data is:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Constant Constant Constant
Kana
Compose Scroll Lock Caps Lock Num Lock
6.2.3 USB Keyboard Scan Code
When the keys of HID Using Page 07 are pressed, the scan codes will be sent using
Endpoint 1. If the keys of HID Using Page 01 and 0C are pressed, the scan codes will
be sent using Endpoint 2.
When the host issues an IN packet to Endpoint 1 to receive data from the device and
the keys of HID Using Page 07 are pressed, the device return 8 bytes to the host. The
8 bytes as follows:
Byte 7
Byte 6
Byte 5
Byte 4
Byte 3
Byte 2
Byte 1
Byte 0
Key 6
Key 5
Key 4
Key 3
Key 2
Key 1
Reserved Modifier
The modifier bytes are as follows:
Bit 7 Bit 6 Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Right GUI Right Alt Right Shift Right Ctrl Left GUI
Left Alt
Left Shift
Left Ctrl
When the host issues an IN packet to Endpoint 2 to receive data from the device and
the keys of HID Using Page 0C (or 01) are pressed, the device return 3 (or 2) bytes to
the host. The 3 (or 2) bytes are as follows:
22 •
Product Specification (V1.4) 07.10.2006
(This specification is subject to change without further notice)