mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 03:10:22 +00:00
8576e9e1f3
Instead of register input based on if hardware is connected or not register input based on backend capabilities. Mouse support is default supported through touch events on screen (iOS) or touch on controller (Apple TV), and through connected mouse hardwares. Gamepad controllers are supported from iOS 14 and later. Register mouse and gamepad input based on above capabilities to be able to map actions to buttons on these input devices. Keyboard support is to be added but not in this commit. Remove the "isConnected" methods for each input and change the same method for game controllers to a "isSupported" function to deal with the iOS version support. Remove the sending of the EVENT_INPUT_CHANGED event due to the above reasons. The overide of the isConnected property function is also removed due to this reason. It caused problems that key mappings were reset on connections/disconnections. |
||
---|---|---|
.. | ||
3ds | ||
android | ||
atari | ||
dc | ||
dingux | ||
ds | ||
gph | ||
ios7 | ||
libretro | ||
maemo | ||
n64 | ||
null | ||
openpandora | ||
psp | ||
samsungtv | ||
sdl | ||
wii |