mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-20 10:56:58 +02:00
1cfb9522a3
* controller: use Back as the touchpad click on pads without a touchpad Gamepads without a touchpad (Switch, Xbox, 8BitDo, ...) cannot click it, so games that require the touchpad can't be played with them. The keyboard already emulates it (Backspace/Tab); gamepads had nothing. For SDL_GAMEPAD_BUTTON_BACK on a pad that reports no touchpads, report PAD_BUTTON_TOUCH_PAD plus a finger at the centre of the touchpad. Pads with a real touchpad are unchanged. Fixes #1298 * controller: establish touch before fallback click --------- Co-authored-by: nmzik <Nmzik@mail.ru>