cancel
Showing results for 
Search instead for 
Did you mean: 

usb problem

marwa2
Associate II
Posted on February 05, 2013 at 14:06

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
jzawadzk
Associate II
Posted on February 07, 2013 at 19:40

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 6

Also, take a look at ''HID Usage Tables'' (Hut1_11.pdf), section 10 Keyboard/Keypad Page.