dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
713 stars 163 forks source link

HID example request #24

Closed Serasidis closed 6 years ago

Serasidis commented 6 years ago

Congratulations for your great work ! I have tested successfully your USB device stack with STM32F103C8 and STM32F407VET6. It works great !

Is there any HID example like the cdc_loop.c you have included in the demo folder ? Any mouse or keyboard HID example is enough to be used as template for other HID devices

Thanks in advance

Serasidis commented 6 years ago

4 months with no answer...

xcvista commented 5 years ago

HID is actually a bit complicated, since the keyboard/mouse emulation and generic HID have some differences. Also STM32L4 even supports PS/2 mode for keyboard/mouse HID.

If you want examples of simple HID, I might be able to provide one which is an interrupt-driven USB CDC + HID composite, with the HID part implementing CMSIS-DAP.

lulle2007200 commented 4 years ago

2 years late, but i'd appreciate a composite example.