Added pair function

This commit is contained in:
Kristian Sloth Lauszus 2013-05-06 23:32:00 +02:00
parent bf411d1141
commit 305eeb0820

5
Wii.h
View file

@ -131,6 +131,11 @@ public:
/**@}*/ /**@}*/
/** @name Wii Controller functions */ /** @name Wii Controller functions */
/** Call this to start the paring sequence with a controller */
void pair(void) {
if(pBtd)
pBtd->pairWithWiimote();
}
/** /**
* Used to read the joystick of the Nunchuck. * Used to read the joystick of the Nunchuck.
* @param a Either ::HatX or ::HatY. * @param a Either ::HatX or ::HatY.