diff options
| author | Nick <nick@nicks-imac.attlocal.net> | 2017-08-21 01:44:03 -0400 |
|---|---|---|
| committer | Nick <nick@nicks-imac.attlocal.net> | 2017-08-21 01:44:03 -0400 |
| commit | 0df4f7db4fc8a843d6740e01d305ed406620674a (patch) | |
| tree | 7606070a8865926e73d2cad9d99c44c035b29a91 /Source/Core/InputCommon/InputConfig.cpp | |
| parent | 5aed9a67ef5baefc1f46c788a003c6c9053c3f6b (diff) | |
Depreciate old OSX Keyboard and Mouse
Diffstat (limited to 'Source/Core/InputCommon/InputConfig.cpp')
| -rw-r--r-- | Source/Core/InputCommon/InputConfig.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/InputConfig.cpp b/Source/Core/InputCommon/InputConfig.cpp index 86bda0189f..5cf24a9b93 100644 --- a/Source/Core/InputCommon/InputConfig.cpp +++ b/Source/Core/InputCommon/InputConfig.cpp @@ -136,8 +136,7 @@ bool InputConfig::IsControllerControlledByGamepadDevice(int index) const const auto& controller = m_controllers.at(index).get()->default_device; // Filter out anything which obviously not a gamepad - return !((controller.source == "Keyboard") // OSX IOKit Keyboard/Mouse - || (controller.source == "Quartz") // OSX Quartz Keyboard/Mouse + return !((controller.source == "Quartz") // OSX Quartz Keyboard/Mouse || (controller.source == "XInput2") // Linux and BSD Keyboard/Mouse || (controller.source == "Android" && controller.name == "Touchscreen") // Android Touchscreen |
