diff options
| author | 2022-12-23 08:32:02 -0600 | |
|---|---|---|
| committer | 2023-01-19 18:05:22 -0600 | |
| commit | e1a3bda4d9881cb99c36b64733b814a3bb437f13 (patch) | |
| tree | a9c0d864b023a810f48c129bb8bd6e84afb2ed2b /src/input_common/helpers/joycon_protocol/ringcon.h | |
| parent | core: hid: Fix input regressions (diff) | |
| download | yuzu-e1a3bda4d9881cb99c36b64733b814a3bb437f13.tar.gz yuzu-e1a3bda4d9881cb99c36b64733b814a3bb437f13.tar.xz yuzu-e1a3bda4d9881cb99c36b64733b814a3bb437f13.zip | |
Address review comments
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/ringcon.h')
| -rw-r--r-- | src/input_common/helpers/joycon_protocol/ringcon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/helpers/joycon_protocol/ringcon.h b/src/input_common/helpers/joycon_protocol/ringcon.h index 0c25de23e..6e858f3fc 100644 --- a/src/input_common/helpers/joycon_protocol/ringcon.h +++ b/src/input_common/helpers/joycon_protocol/ringcon.h | |||
| @@ -17,7 +17,7 @@ namespace InputCommon::Joycon { | |||
| 17 | 17 | ||
| 18 | class RingConProtocol final : private JoyconCommonProtocol { | 18 | class RingConProtocol final : private JoyconCommonProtocol { |
| 19 | public: | 19 | public: |
| 20 | RingConProtocol(std::shared_ptr<JoyconHandle> handle); | 20 | explicit RingConProtocol(std::shared_ptr<JoyconHandle> handle); |
| 21 | 21 | ||
| 22 | DriverResult EnableRingCon(); | 22 | DriverResult EnableRingCon(); |
| 23 | 23 | ||
| @@ -25,7 +25,7 @@ public: | |||
| 25 | 25 | ||
| 26 | DriverResult StartRingconPolling(); | 26 | DriverResult StartRingconPolling(); |
| 27 | 27 | ||
| 28 | bool IsEnabled(); | 28 | bool IsEnabled() const; |
| 29 | 29 | ||
| 30 | private: | 30 | private: |
| 31 | DriverResult IsRingConnected(bool& is_connected); | 31 | DriverResult IsRingConnected(bool& is_connected); |