Driver for a Nintendo Wii extension controllers.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
The Nunchuk protocol information is found here:
The Classic Controller protocol information is found here:
Additional information available here:
This software was tested on a SolderCore with a SenseCore and Nunchuk adapter:
It was also tested using a Protoshield and WiiChuck adapter from Sparkfun:
|WII_CLASSIC_REPORT_t||Classic controller status report structure|
|wii_classic_sample||Sample joystick, button, and trigger state|
|WII_NUNCHUK_REPORT_t||Nunchuk controller status report structure|
|wii_nunchuk_accelerometer_interface||Create abstract accelerometer interface|
|wii_nunchuk_sample||Sample accelerometer, joystick, and button state|
|wii_extension_controller_initialize||Initialize extension controller|
|wii_extension_controller_read_memory||Read extension controller memory|
|wii_extension_controller_write_memory_byte||Write extension controller memory|