How can I implement multiple USB HID devices on STM32F042 or STM32F103?
Hello,
I already got the STM32Cube Mouse to work an modified it to work as keyboard using some other example. I have read documentation like USB in a nutshell and others alike.
My problem is that I understand how the USB works in theory but I don't see how to actually implement it in practice.
What I would like to achieve is to have a STM32 work as a USB HID and be able to switch on or off different devices. It should work as a keyboard, gamepad, mouse and CDC simultaneously. But I would like to be able to activate or deactivate each device separately.
Is there any implementation guide for this? I dont understand where I can configure the descriptors for each device.
Am thankful for any guidance.
Best regards.
