From 00a9a33ab80119b424bb9adee129f0b8f124ec6b Mon Sep 17 00:00:00 2001 From: Kristian Sloth Lauszus Date: Sat, 23 Feb 2013 18:52:55 +0100 Subject: [PATCH] Added pairWithWiimote function --- BTD.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BTD.h b/BTD.h index 80171484..6a8e4188 100755 --- a/BTD.h +++ b/BTD.h @@ -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. */