Depreciate old OSX Keyboard and Mouse

This commit is contained in:
Nick
2017-08-21 01:44:03 -04:00
parent 5aed9a67ef
commit 0df4f7db4f
5 changed files with 2 additions and 370 deletions

View File

@ -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