summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/joycon_protocol/ringcon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/helpers/joycon_protocol/ringcon.h')
-rw-r--r--src/input_common/helpers/joycon_protocol/ringcon.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/input_common/helpers/joycon_protocol/ringcon.h b/src/input_common/helpers/joycon_protocol/ringcon.h
index 6e858f3fc..9f0888de3 100644
--- a/src/input_common/helpers/joycon_protocol/ringcon.h
+++ b/src/input_common/helpers/joycon_protocol/ringcon.h
@@ -13,24 +13,28 @@
#include "input_common/helpers/joycon_protocol/common_protocol.h"
#include "input_common/helpers/joycon_protocol/joycon_types.h"
+namespace Common::Input {
+enum class DriverResult;
+}
+
namespace InputCommon::Joycon {
class RingConProtocol final : private JoyconCommonProtocol {
public:
explicit RingConProtocol(std::shared_ptr<JoyconHandle> handle);
- DriverResult EnableRingCon();
+ Common::Input::DriverResult EnableRingCon();
- DriverResult DisableRingCon();
+ Common::Input::DriverResult DisableRingCon();
- DriverResult StartRingconPolling();
+ Common::Input::DriverResult StartRingconPolling();
bool IsEnabled() const;
private:
- DriverResult IsRingConnected(bool& is_connected);
+ Common::Input::DriverResult IsRingConnected(bool& is_connected);
- DriverResult ConfigureRing();
+ Common::Input::DriverResult ConfigureRing();
bool is_enabled{};
};