CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A
87
Code Examples
The bridge adds the trailing zeros, inserts the reserved byte, rearranges the modifier and scan code
1 bytes, and removes the packet header to produce the USB report.
Table 5-17. Example USB Report for the 'a' Down Key
The following table shows the up key packet sent from the keyboard to the bridge (all data bytes are
zero).
Table 5-18. Example Up Key Standard 101 Keys Report
The bridge adds the trailing zeros, inserts the reserved byte, and removes the packet header to pro-
duce the USB report.
Table 5-19. Example USB report for a Standard 101 Key Null Packet Report
■
Multimedia Keys (Hot keys) Report
An Application Report Header of 0xFF indicates that this report is a Multimedia Keys Report.
Table 5-20. Multimedia Keys Report Format
Example
The following reports are sent if a user presses 'Volume Increase' (Hot Key 8) key on the
keyboard. The following table shows the 'Volume Increase' down key packet sent from the keyboard
to the bridge.
Table 5-16. Example 'a' down key Standard 101 Keys Report
Byte 2
Scan Code 1
0x04
Modifier
Keys
Reserved
Scan
Code 1
Scan
Code 2
Scan
Code 3
Scan
Code 4
Scan
Code 5
Scan
Code 6
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
Byte 2
Scan Code 1
0x00
Modifier
Keys
Reserved
Scan
Code 1
Scan
Code 2
Scan
Code 3
Scan
Code 4
Scan
Code 5
Scan
Code 6
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
Byte
Name
2
Application Report Header (0xFF)
3
Hot Key Scan Code (upper 8 bits)
4
Hot Key Scan Code (lower 8 bits)