summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter/gc_poller.h
diff options
context:
space:
mode:
authorAmeer <aj662@drexel.edu>2020-06-22 05:56:56 +0200
committerAmeer <aj662@drexel.edu>2020-06-22 05:56:56 +0200
commit28046ae3a9cd5e32c7cae1cf64aa005502bf1749 (patch)
treee26cc2a7266fe3709a2417acba6536ee58a77964 /src/input_common/gcadapter/gc_poller.h
parentfix for sleep using stl (diff)
downloadyuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.tar
yuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.tar.gz
yuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.tar.bz2
yuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.tar.lz
yuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.tar.xz
yuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.tar.zst
yuzu-28046ae3a9cd5e32c7cae1cf64aa005502bf1749.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/gcadapter/gc_poller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/input_common/gcadapter/gc_poller.h b/src/input_common/gcadapter/gc_poller.h
index d3a56da5b..e96af7d51 100644
--- a/src/input_common/gcadapter/gc_poller.h
+++ b/src/input_common/gcadapter/gc_poller.h
@@ -6,6 +6,7 @@
#include <memory>
#include "core/frontend/input.h"
+#include "input_common/gcadapter/gc_adapter.h"
namespace InputCommon {
@@ -15,7 +16,7 @@ namespace InputCommon {
*/
class GCButtonFactory final : public Input::Factory<Input::ButtonDevice> {
public:
- GCButtonFactory(std::shared_ptr<GCAdapter::Adapter> adapter_);
+ explicit GCButtonFactory(std::shared_ptr<GCAdapter::Adapter> adapter_);
/**
* Creates a button device from a button press
@@ -42,7 +43,8 @@ private:
/// An analog device factory that creates analog devices from GC Adapter
class GCAnalogFactory final : public Input::Factory<Input::AnalogDevice> {
public:
- GCAnalogFactory(std::shared_ptr<GCAdapter::Adapter> adapter_);
+ explicit GCAnalogFactory(std::shared_ptr<GCAdapter::Adapter> adapter_);
+
std::unique_ptr<Input::AnalogDevice> Create(const Common::ParamPackage& params) override;
Common::ParamPackage GetNextInput();