mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Added pairWithWiimote function
This commit is contained in:
parent
cb5dda24b9
commit
00a9a33ab8
1 changed files with 2 additions and 0 deletions
2
BTD.h
2
BTD.h
|
@ -370,6 +370,8 @@ public:
|
||||||
* it should be at least 3 to work properly with the library.
|
* it should be at least 3 to work properly with the library.
|
||||||
*/
|
*/
|
||||||
uint8_t hci_version;
|
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. */
|
/** Used to only send the ACL data to the wiimote. */
|
||||||
bool connectToWii;
|
bool connectToWii;
|
||||||
/** True if a Wiimote is connecting. */
|
/** True if a Wiimote is connecting. */
|
||||||
|
|
Loading…
Reference in a new issue