From 0ce53aa7c78f36d0a717325a13df189bf62b3b8b Mon Sep 17 00:00:00 2001 From: Valiantsin Dzerakh Date: Sat, 14 Nov 2026 22:19:51 +0300 Subject: [PATCH 1/2] The DualSense and DualShock 4 touchpad click is a bindable gamepad input named touchpad, shown and captured on the Controls tab (#482) PAD_TOUCHPAD follows the paddles in input_map.h and reads SDL_GAMEPAD_BUTTON_TOUCHPAD in input.c pad_physical, so input_capture sees the click when a Controls cell waits for a press (#852 had no pad id to report it). It is unbound by default; pads without a touchpad never report it held. Co-Authored-By: Claude Opus 5.5 --- docs/controls.md | 2 +- runtime/cfg_probe.c | 8 ++++++++ runtime/input.c | 3 ++- runtime/input_map.c | 3 ++- runtime/input_map.h | 7 ++++--- runtime/ui/binds_page.cpp | 2 +- runtime/ui_text.c | 4 ++++ runtime/ui_text.h | 4 ++-- totk.ini.example | 1 + 9 files changed, 25 insertions(+), 9 deletions(-) diff --git a/docs/controls.md b/docs/controls.md index 808a2a0e..8f41313d 100644 --- a/docs/controls.md +++ b/docs/controls.md @@ -94,7 +94,7 @@ The *Controls* tab of the settings menu lists, under the button layout, every Sw The tab writes `totk.ini` lines, one per Switch button or stick direction: `bind_