libwiiclassic - Using a Nintendo Wii classic controller with your Omega2
This is the first release in a series of at least 4 projects, coming over the next 2 weeks.
libwiiclassiclibrary enables owners of an Omega2(+) to easily develop software in C which is capable of using a Nintendo Wii Classic controller as input device. Github page: https://github.com/gamer-cndg/omega2-wii-classic-controller/
When you want to get a joystick on your microcontroller project, you have a few options:
- Build a completely custom controller and case yourself, using buttons and joysticks (a.k.a. potentiometers)
- Buy some bulky shield made for Arduino (e.g. from Sparkfun) or Raspberry Pi (e.g. from Adafruit)
- use commercial controllers like the PS2 controller and decode the signals yourself
- use a USB joystick (if you have a USB port and it is broken out) and use some Linux library or SDL to get the input
However, I found another option, which is incredibly easy to implement: Use a Nintendo Wii Classic controller! These controllers work over plain old I²C.
Compilation and usage instructions can be found on the github page.