Mouse + keyboard + generic HID USB composite device issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mouse + keyboard + generic HID USB composite device issue

Jump to solution
1,265 Views
laszlomonda
Contributor IV

Hi guys,

 

I'm developing a mouse + keyboard + generic HID composite USB application on an FRDM-K22F dev board.

 

The mouse and keyboard interfaces work well. The mouse pointer moves downwards upon pressing the SW2 button and the keyboard sends the scancode of "a" upon pressing the SW3 button.

 

Unfortunately, the generic HID interface doesn't seem to work. It enumerates properly but doesn't function. It should echo the send package just like the generic HID KSDK demo. It should also enable the red / green / blue LED when the first character of the sent package is "r" / "g" / "b".

 

I've written a test script to check whether the generic HID interface works as intended. My script works perfectly with the official generic HID KSDK demo but the transfer stalls when sending a package to this composite device.

 

I've just added the generic HID interface to my application in my most recent commit and tried hard to make everything right, but I surely made some mistake.

 

I'd appreciate any help. Thank you very much in advance!

- Laci

Labels (1)
0 Kudos
1 Solution
605 Views
laszlomonda
Contributor IV

Fixed! Sorry for the post, I should have been more watchful.

View solution in original post

0 Kudos
1 Reply
606 Views
laszlomonda
Contributor IV

Fixed! Sorry for the post, I should have been more watchful.

0 Kudos