Library for communicating with a Wii classic controller using the I2C bus.
Dependents: WiiClassicControllerTest
Note that you will also need the CommonTypes library to use this.
Get it here:http://mbed.org/users/RichardE/code/CommonTypes/
Diff: WiiClassicController.h
- Revision:
- 3:ecae3d286a99
- Parent:
- 1:9e766313a668
diff -r 52c4a0b3a509 -r ecae3d286a99 WiiClassicController.h --- a/WiiClassicController.h Sun Jun 30 12:05:27 2013 +0000 +++ b/WiiClassicController.h Sun Jun 30 16:37:49 2013 +0000 @@ -35,7 +35,7 @@ /** Read from the controller. * @returns true on success, false on failure. */ - bool Read( void ); + virtual bool Read( void ); /** Read left joystick X axis. * @returns joystick reading as number between 0 and 63.