Hi all!
I'm working a project to create a HID device for controlling a simulation which runs on Linux. I'm more of an engineer/designer than a programmer, but my basic Arduino knowledge has gotten me through the last few weeks of designing and building the device itself. At this point, I have a device that uses a Leonardo with the Mouse and Keyboard libraries to control the computer as an HID device.
However, I've now found out that what is required is not to emulate a mouse and keyboard, but to send raw HID data to the computer which my teammate can then use in her simulation to trigger actions. Trouble is, she has no real knowledge about HID devices (she usually uses commercial products in her simulations), and I feel out of my depth trying to understand what my Arduino needs to send to the computer.
Right now, I'm looking at this project, and the Raw HID feature seems to be what I'm looking for. I just need guidance on how that translates to what code I need to write. She showed me the terminal on her computer, and it looked like binary data, but how do I make the Arduino send that data as an HID device? It seems like this Raw HID library can do it, but I'm having trouble understanding.
I apologise for my lack of experience with Arduino and programming, but I would appreciate any help! I can try and answer any questions you have to clarify my issue, or ask my teammate. Thank you!