I'm currently trying to get the CC2540 to act as both a mouse and a keyboard. I am basing my project off of the HIDEmuKbd project. Currently I can get the keyboard to work no problem, but when I try and use the mouse nothing happens.
I believe it has something to do with the fact that the mode in the hid report map is set to HID_PROTOCOL_MODE_BOOT. This causes my mouse commands to return without executing as it requires the mouse protocol in the table to match the general protocol mode that is set in the file (HID_PROTOCOL_MODE_REPORT). However, forcing this to execute or manually changing it to match has no effect and the mouse still does not work.
There's little to no documentation on working with the mouse that I can find. Do I need to send a command to set up boot mode? Any insight here would be appreciated.