I have a project that needs data sent from a PC to my Teensy where the Teensy itself is acting as Keyboard/Mouse/Joystick. So it looks like I need a RawHID on top of Keyboard/Mouse/Joystick.
Right now I'm using that "All of the Above"/USB_EVERYTHING configuration which should do just fine for the development phase but ultimately, for production environment, I would like to include only RawHID/Keyboard/Mouse/Joystick.
I'm fairly confident I could get it done by coming up with my own usb_desc.h configuration but how to I go implementing this while making sure it can easily be in working order on a new PC installation for instance? It would obviously also need to survive Arduino and Teensydruino upgrades.
Can I somehow create my own "USB Type" without having to edit files from Teensydruino SDK?
Are there recommended good practices for that sort of things?
Right now I'm using that "All of the Above"/USB_EVERYTHING configuration which should do just fine for the development phase but ultimately, for production environment, I would like to include only RawHID/Keyboard/Mouse/Joystick.
I'm fairly confident I could get it done by coming up with my own usb_desc.h configuration but how to I go implementing this while making sure it can easily be in working order on a new PC installation for instance? It would obviously also need to survive Arduino and Teensydruino upgrades.
Can I somehow create my own "USB Type" without having to edit files from Teensydruino SDK?
Are there recommended good practices for that sort of things?