Data over multiple endpoints for a 'USB Keyboard and PS/2 Mouse Combination Device'

Question: How to send data over multiple endpoints for a 'USB Keyboard and PS/2 Mouse Combination Device'?

 

Answer:

The Combi Keyboard Hub reference design uses 1 endpoint for the hub and another for the keyboard. The Hub application is the closest sample code which is available. It should give a general picture how this is done in firmware (look in the desc.asm file of the CKHub firmware)

Make sure that you have the HID Usage Page document for detailed references. This can be downloaded from www.usb.org