Added pairWithWiimote function

This commit is contained in:
Kristian Sloth Lauszus 2013-02-23 18:52:55 +01:00
parent cb5dda24b9
commit 00a9a33ab8

2
BTD.h
View file

@ -370,6 +370,8 @@ public:
* it should be at least 3 to work properly with the library.
*/
uint8_t hci_version;
/** Call this function to pair with a Wiimote */
void pairWithWiimote() { pairWithWii = true; hci_state = HCI_CHECK_WII_SERVICE; };
/** Used to only send the ACL data to the wiimote. */
bool connectToWii;
/** True if a Wiimote is connecting. */