You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# nunchuck_mouse
|
|
|
|
|
|
|
|
A program to enable usage of a Nintendo Wii Nunchuk as a computer mouse using a USB capable Arduino
|
|
|
|
All design and test carried out using an MKR1000 and 2 nunchuks, one genuine, one fake, on Arduino IDE 1.8.19
|
|
|
|
|
|
|
|
For SAMD usage, roll back to Arduino SAMD boards 1.6.21 in board manager as per https://github.com/arduino/ArduinoCore-samd/issues/423
|
|
|
|
Inspiration: https://www.raphnet.net/electronique/wusbmote/index_en.php
|
|
|
|
|
|
|
|
Please get in touch if you make this spaghetti work better
|
|
|
|
At present all values are hard coded, adjust as necessary for your needs
|
|
|
|
|
|
|
|
TODO:
|
|
|
|
- Implement proper scrolling. Perhaps use accelerometer?
|
|
|
|
- Make a means of setting up joystick
|
|
|
|
- Redo it all from scratch to reduce code size (approx 42KB in test setup) and make more responsive
|
|
|
|
- Test on Linux
|
|
|
|
- Maybe move it out of Arduino ecosystem?
|