mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-14 06:40:23 +02:00
Add Quartz/CoreGraphics controller interface for default k&m events
This commit is contained in:
1 parent
1ab99ee22c
commit
3dc8136e14
7 files changed
+365
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user