Good evening.
I am working on a USB HID joystick. The USB documentation on nordic, while better than the woefully inadequate zephyr mainline docs, only covers the surface cases.
I want the bDeviceClass of 0 and a custom bcdDevice.
I can't seem to figure out how to do this without completely deconstructing the macro magic and breaking things. For example, I tried turning
into
which has only led to a hard fault in the os with nothing else changed
Is there a safe method to modify the device descriptor outside of the given few modifiable values?