diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-09-04 20:06:01 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-09-04 20:06:01 -0500 |
| commit | 9bb63bf2eb66a13705ca67f449d4819cbfcdf053 (patch) | |
| tree | 676b823e7e904e5b35475a4132412812237c8591 /Source/Core | |
| parent | 3a04c771808d2967ff54f3a8b7af9fed3428fd21 (diff) | |
[Android] Fix multi-gamecube controller input, config changes
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Android/ButtonManager.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/DolphinWX/Android/ButtonManager.cpp b/Source/Core/DolphinWX/Android/ButtonManager.cpp index 5b5d8242fa..cede1887d4 100644 --- a/Source/Core/DolphinWX/Android/ButtonManager.cpp +++ b/Source/Core/DolphinWX/Android/ButtonManager.cpp @@ -201,20 +201,12 @@ namespace ButtonManager auto it = m_controllers.find(dev); if (it != m_controllers.end()) return it->second->PressEvent(button, action); - - m_controllers[dev] = new InputDevice(dev); - return m_controllers[dev]->PressEvent(button, action); } void GamepadAxisEvent(const std::string& dev, int axis, float value) { auto it = m_controllers.find(dev); if (it != m_controllers.end()) - { it->second->AxisEvent(axis, value); - return; - } - m_controllers[dev] = new InputDevice(dev); - m_controllers[dev]->AxisEvent(axis, value); } void Shutdown() { |
