SciTech-ICEE-Embeded-Automation-Simulation-HID-STM32系列MCU的自动化交互: USB+OTG+HID模拟 & STM32 USB Tutorials

SciTech-ICEE-Embeded-Automation-Simulation-HID-

STM32系列MCU的自动化交互: USB+OTG+HID模拟

STM32 USB HID: Emulate a Mouse and Keyboard with STM32

https://controllerstech.com/stm32-usb-hid-mouse-keyboard/
Home ▸ STM32 Tutorials ▸ USB Tutorials ▸ STM32 as USB Mouse and Keyboard
Updated On: August 5, 2026
STM32 USB HID: Emulate a Mouse and Keyboard with STM32
This is Part 3 of the STM32 USB series.
In Part 2, we configured the STM32 as a USB HID gamepad.
We connected a joystick via ADC, wrote a custom HID report descriptor, and made Windows and macOS recognize the STM32 as a game controller without using any drivers for the same.
This time, we go further.
We will use the same HID class to make the STM32 behave as a USB mouse and, separately, as a USB keyboard.
Both projects are covered in this post.
The mouse uses the same joystick from Part 2, and the keyboard uses a 4×4 membrane keypad.

posted @ 2026-09-16 13:31  abaelhe  阅读(6)  评论(0)    收藏  举报