mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-20 01:52:39 +00:00
Verify a touchpad is present before polling it for input. Without this check the Debug log is spammed with the message "error: Parameter 'touchpad' is invalid" if you have a controller without a touchpad. One would think every touchpad supports at least 1 finger, but in case there's some weird edge case check the finger count to be sure. |
||
---|---|---|
.. | ||
SDL.cpp | ||
SDL.h | ||
SDLGamepad.cpp | ||
SDLGamepad.h |