void Wiimote::EmuStop() { m_channel = 0; DisableDataReporting(); NOTICE_LOG(WIIMOTE, "Stopping Wiimote data reporting."); DisablePowerAssertionInternal(); }
Wiimote::Wiimote(const unsigned int _index) : index(_index) #ifdef __APPLE__ , inputlen(0) #elif defined(__linux__) && HAVE_BLUEZ , out_sock(-1), in_sock(-1) #elif defined(_WIN32) , dev_handle(0), stack(MSBT_STACK_UNKNOWN) #endif , leds(0), m_last_data_report(Report((u8 *)NULL, 0)) , m_channel(0), m_connected(false) { #if defined(__linux__) && HAVE_BLUEZ bdaddr = (bdaddr_t){{0, 0, 0, 0, 0, 0}}; #endif DisableDataReporting(); }
void Wiimote::EmuStart() { DisableDataReporting(); EnablePowerAssertionInternal(); }
void Wiimote::Disconnect() { m_channel = 0; DisableDataReporting(); }
void Wiimote::EmuStart() { DisableDataReporting(); }