mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
WiimoteScannerDarwin: Fix lint
This commit is contained in:
parent
b494d109d4
commit
156ffef98c
5 changed files with 14 additions and 13 deletions
|
@ -46,8 +46,8 @@ public:
|
||||||
~WiimoteScannerLinux() override;
|
~WiimoteScannerLinux() override;
|
||||||
bool IsReady() const override;
|
bool IsReady() const override;
|
||||||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||||
void Update() override {} // not needed on Linux
|
void Update() override {} // not needed on Linux
|
||||||
void RequestStopSearching() override {} // not needed on Linux
|
void RequestStopSearching() override {} // not needed on Linux
|
||||||
private:
|
private:
|
||||||
int m_device_id;
|
int m_device_id;
|
||||||
int m_device_sock;
|
int m_device_sock;
|
||||||
|
|
|
@ -25,6 +25,7 @@ public:
|
||||||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||||
void Update() override {} // not needed
|
void Update() override {} // not needed
|
||||||
void RequestStopSearching() override { m_stop_scanning = true; }
|
void RequestStopSearching() override { m_stop_scanning = true; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
IOBluetoothHostController* m_host_controller;
|
IOBluetoothHostController* m_host_controller;
|
||||||
bool m_stop_scanning = false;
|
bool m_stop_scanning = false;
|
||||||
|
|
|
@ -38,8 +38,8 @@ public:
|
||||||
~WiimoteScannerHidapi();
|
~WiimoteScannerHidapi();
|
||||||
bool IsReady() const override;
|
bool IsReady() const override;
|
||||||
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
void FindWiimotes(std::vector<Wiimote*>&, Wiimote*&) override;
|
||||||
void Update() override {} // not needed for hidapi
|
void Update() override {} // not needed for hidapi
|
||||||
void RequestStopSearching() override {} // not needed for hidapi
|
void RequestStopSearching() override {} // not needed for hidapi
|
||||||
};
|
};
|
||||||
} // namespace WiimoteReal
|
} // namespace WiimoteReal
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue