2013-02-05 05:06 AM
2013-02-07 10:40 AM
To solve your problem, after sending {0,0,4,0,0,0,0,0} ( = press and hold 'a' key), you have to release it by sending {0,0,0,0,0,0,0,0} in next report.
Search for: ''Device Class Definition for HID'' (HID1_11.pdf), appendix B explains keyboard protocol:
Byte: / Meaning:
0: Modifier keys 1: Reserved 2: Keycode 1 3: Keycode 2 4: Keycode 3 5: Keycode 4 6: Keycode 5 7: Keycode 6Also, take a look at ''HID Usage Tables'' (Hut1_11.pdf), section 10 Keyboard/Keypad Page.