diff options
author | Ameer <aj662@drexel.edu> | 2020-07-14 17:23:10 +0200 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-07-14 17:23:10 +0200 |
commit | ab65de2f96984415cbeb3fee392b930c61f0d8b4 (patch) | |
tree | d0098c8e0af4625ed09d14dc2d3405bfabd2e2ee /src/input_common/gcadapter/gc_adapter.h | |
parent | Merge pull request #4314 from lioncash/input-warn (diff) | |
download | yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.tar yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.tar.gz yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.tar.bz2 yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.tar.lz yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.tar.xz yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.tar.zst yuzu-ab65de2f96984415cbeb3fee392b930c61f0d8b4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/input_common/gcadapter/gc_adapter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.h b/src/input_common/gcadapter/gc_adapter.h index 120ce4c02..e2cdd6255 100644 --- a/src/input_common/gcadapter/gc_adapter.h +++ b/src/input_common/gcadapter/gc_adapter.h @@ -100,6 +100,9 @@ public: void BeginConfiguration(); void EndConfiguration(); + /// Returns true if there is a device connected to port + bool DeviceConnected(std::size_t port); + std::array<Common::SPSCQueue<GCPadStatus>, 4>& GetPadQueue(); const std::array<Common::SPSCQueue<GCPadStatus>, 4>& GetPadQueue() const; @@ -119,9 +122,6 @@ private: /// Stop scanning for the adapter void StopScanThread(); - /// Returns true if there is a device connected to port - bool DeviceConnected(std::size_t port); - /// Resets status of device connected to port void ResetDeviceType(std::size_t port); |