Keyboard plus generic HID reports

General discussion on mikroC.
Post Reply
Author
Message
dubs
Posts: 1
Joined: 07 Sep 2011 16:16

Keyboard plus generic HID reports

#1 Post by dubs » 09 Sep 2011 18:48

I'm trying to create the USB descriptor file to emulate a keyboard and a generic HID for data transfer. I have the two interfaces set up correctly, but I don't know how to add the keyboard report descriptor in the file. It appears there can only be one report descriptor for a HID device using the microc descriptor tool. Is there a way to add the second HID report to the USBdsc file? Device enumerates as a composite device with the generic HID portion working, but the second, the keyboard does not enumerate.

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: Keyboard plus generic HID reports

#2 Post by janko.kaljevic » 12 Sep 2011 12:35

Hello,

Unfortunately, currently our HID library support only descriptor file as we implemented. So you will have to define one report descriptor.

Best regards.

Post Reply

Return to “mikroC General”