mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-12 13:21:42 +00:00
keyboard fixes v2
This commit is contained in:
parent
0df4f7db4f
commit
3cddb62aea
2 changed files with 3 additions and 4 deletions
|
@ -136,7 +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 == "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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue