mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Added pair function
This commit is contained in:
parent
bf411d1141
commit
305eeb0820
1 changed files with 5 additions and 0 deletions
5
Wii.h
5
Wii.h
|
@ -131,6 +131,11 @@ public:
|
|||
/**@}*/
|
||||
|
||||
/** @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.
|
||||
* @param a Either ::HatX or ::HatY.
|
||||
|
|
Loading…
Reference in a new issue