I'm looking to create a USB device that would be basically a HID keyboard. I am able to do that with Uno. I flash new firmware with a HID keyboard descriptor and on the arduino side I loop and check for button presses. Based on butotn presses I send the report.
What I would like to add to this is option to send some data from a PC and based on that data do something (like turn an LED on.)
Here is an example:
uint8_t inputByte = get_input(); //new
I'm on Linux and I tried sending some data via hidrawX but that did not work out. Any ideas?
I'm willing to also write new device driver for Linux if needed.