Files
KytyPS5/src
Kelvin Oliveira 1cfb9522a3 controller: use Back as the touchpad click on pads without a touchpad (#1355)
* 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>
2026-10-10 19:20:34 +02:00
..
2026-10-10 19:07:06 +02:00
2026-10-10 05:42:32 +02:00
2026-10-10 19:07:06 +02:00
2026-10-10 05:42:32 +02:00
2026-07-16 10:21:41 +02:00
2026-07-16 10:21:41 +02:00
2026-07-16 10:21:41 +02:00
2026-07-16 10:21:41 +02:00
2026-07-21 07:37:52 +02:00
2026-10-10 19:07:06 +02:00
2026-10-10 19:07:06 +02:00
2026-09-17 20:35:36 +04:00