Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 603 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 603 Bytes

Example mouse for usbd-hid-device

This example turns a STM32F3DICOVERY board into a mouse. The mouse cursor is controlled by the accelerometer, and the only and one user button acts like left mouse button. LEDs are used to indicate the current direction.

Note that we do not do neither digital filtering nor combining data from accelerometer and gyroscope for sake of simplicity. This results in too sensitive and "choppy" mouse movements. If you want a usable accelerometer-based mouse, please add proper Kalman or Madgwick filter.