Arduino sample code that use wii classic controller as a mouse.
- STM32F103C8T6 minimum Development Board(BluePill)
- ST Link V2 Programmer For STM8 STM32
- Arduino IDE (Version: 1.8.5)
- wii classic controller : RVL-005(02)
Controller | BluePill | Note |
---|---|---|
GND | GND | |
5V | 5V | |
SDA | PB_7 | |
SCL | PB_6 |
-
Install Arduino_STM32
-
Build & upload project with Arduino
-
Use controller
Left-Stick:mouse cursor
B-Button:Left-Click A-Button:Right-Click ※wait for about 2 seconds until calibration
see LICENSE.md