mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Add Quartz/CoreGraphics controller interface for default k&m events
This commit is contained in:
parent
1ab99ee22c
commit
3dc8136e14
7 changed files with 365 additions and 1 deletions
|
@ -126,7 +126,8 @@ 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 Keyboard/Mouse
|
||||
return !((controller.source == "Keyboard") // OSX IOKit Keyboard/Mouse
|
||||
|| (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