summaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2020-06-22 10:40:27 -0400
committerGravatar Ameer2020-06-22 17:05:50 -0400
commitf5d2a1e8bdb334a0354689a8da471b7f7525e61f (patch)
tree38f135f824cbc55001966aac5f1222caee1d9b2a /src/input_common/main.cpp
parentTidy up the pointers, use pair over tuple where appropriate (diff)
downloadyuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.gz
yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.tar.xz
yuzu-f5d2a1e8bdb334a0354689a8da471b7f7525e61f.zip
Update src/input_common/main.cpp
Co-authored-by: LC <mathew1800@gmail.com> update libusb submodule (hopefully windows build error fixed)
Diffstat (limited to 'src/input_common/main.cpp')
-rw-r--r--src/input_common/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp
index 827a1a30c..a9572c23c 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -29,7 +29,7 @@ static std::shared_ptr<GCButtonFactory> gcbuttons;
29static std::shared_ptr<GCAnalogFactory> gcanalog; 29static std::shared_ptr<GCAnalogFactory> gcanalog;
30 30
31void Init() { 31void Init() {
32 std::shared_ptr<GCAdapter::Adapter> gcadapter = std::make_shared<GCAdapter::Adapter>(); 32 auto gcadapter = std::make_shared<GCAdapter::Adapter>();
33 gcbuttons = std::make_shared<GCButtonFactory>(gcadapter); 33 gcbuttons = std::make_shared<GCButtonFactory>(gcadapter);
34 Input::RegisterFactory<Input::ButtonDevice>("gcpad", gcbuttons); 34 Input::RegisterFactory<Input::ButtonDevice>("gcpad", gcbuttons);
35 gcanalog = std::make_shared<GCAnalogFactory>(gcadapter); 35 gcanalog = std::make_shared<GCAnalogFactory>(gcadapter);