I've been googling a lot and found a fair few pages where a Pi Zero is being used as a USB device (many thanks to people here who pointed me in the right direction).
I've got mine up and running; I have 6 footswitches and they now send a keystroke to a USB connected PC. I now need to send the ALT and SHIFT keys, and am really struggling to wrap my head around the USB report descriptor.
Some of the examples send 32 (hex 20) as the SHIFT button, but the USB HID table (and as far as I can work out as an 8-bit byte) says it should be 225 (hex E1).
I've been following this example: https://www.rmedgar.com/blog/using-rpi- ... descriptor
I realise it's not completely Pi related, but I'm completely lost at this stage and not sure where else to ask.
Would someone be kind enough to talk me through how the descriptor works and how I would arrive at the correct char to send for the "left alt" key for example?