mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-12 06:27:57 -05:00
Update src/input_common/main.cpp
Co-authored-by: LC <mathew1800@gmail.com> update libusb submodule (hopefully windows build error fixed)
This commit is contained in:
2
externals/libusb
vendored
2
externals/libusb
vendored
Submodule externals/libusb updated: c5085fc4eb...71c3083fdd
@ -29,7 +29,7 @@ static std::shared_ptr<GCButtonFactory> gcbuttons;
|
|||||||
static std::shared_ptr<GCAnalogFactory> gcanalog;
|
static std::shared_ptr<GCAnalogFactory> gcanalog;
|
||||||
|
|
||||||
void Init() {
|
void Init() {
|
||||||
std::shared_ptr<GCAdapter::Adapter> gcadapter = std::make_shared<GCAdapter::Adapter>();
|
auto gcadapter = std::make_shared<GCAdapter::Adapter>();
|
||||||
gcbuttons = std::make_shared<GCButtonFactory>(gcadapter);
|
gcbuttons = std::make_shared<GCButtonFactory>(gcadapter);
|
||||||
Input::RegisterFactory<Input::ButtonDevice>("gcpad", gcbuttons);
|
Input::RegisterFactory<Input::ButtonDevice>("gcpad", gcbuttons);
|
||||||
gcanalog = std::make_shared<GCAnalogFactory>(gcadapter);
|
gcanalog = std::make_shared<GCAnalogFactory>(gcadapter);
|
||||||
|
Reference in New Issue
Block a user