Howto expand hid keys count

Discussions about USB Audio on XMOS devices
mmar
Experienced Member
Posts: 123
Joined: Fri Jul 05, 2013 5:55 pm

Howto expand hid keys count

Post by mmar »

In version 6 code descriptor for HID seems be simple in master h file. I try add next button , but still works only six.
New version 7 change definition to speci file and here is hard coded src\hid_report_descriptor.h

Code: Select all

        &(hidUsageByte0Bit0.item),
        &(hidUsageByte0Bit1.item),
        &(hidUsageByte0Bit2.item),
        &(hidUsageByte0Bit3.item),
        &(hidUsageByte0Bit4.item),
        &(hidUsageByte0Bit5.item),
How to add 7th Bit6 or more, that will work?