Skip to main content
marwa2
Associate
February 5, 2013
Question

usb problem

  • February 5, 2013
  • 1 reply
  • 530 views
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.
    This topic has been closed for replies.

    1 reply

    jzawadzk
    Associate
    February 7, 2013
    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.