4 Commits
Author SHA1 Message Date
Thomas MartinandClaude Opus 5.5 f4fee1f4a1 The settings window, save and load from a gamepad
Window actions bound like the pad's buttons (input.ini, the Controls tab): fast forward,
the settings window (the gamepad's middle button by default), save and load a state
(unbound). input::windowActions evaluates them; DevicePad::windowActions gathers the
players'; the window acts on their presses. ImGui's gamepad navigation steers the settings
window (every gamepad), which takes the focus when opened and holds the gamepads from the
game while it is open. PS2X_VIRTUAL_PAD=<s>:<button>,... presses an SDL virtual gamepad's
buttons for scripted checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-23 01:03:28 +01:00
Thomas MartinandClaude Opus 5.5 aa891d64d7 Fast forward as a binding: the Controls tab, a gamepad's touchpad click
input::FastForward joins the actions (input.ini fast_forward): player 1's ` key and every
player's touchpad click by default (DualShock 4 / DualSense; no PS2 button has it), rebound
in the Controls tab like a PS2 button. padState reports it; DevicePad::fastForwardHeld
gathers the players' and the window sets the speed from it (focus and the panel's keyboard
hold as for the game's input).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 23:44:19 +01:00
Thomas MartinandClaude Opus 5.5 5c9e7851e8 Controls tab: a rumble strength per player (input.ini rumble, 0-100) and a Test button
The game's motors are scaled by the player's strength before they reach the gamepad (0: none), the setting saved in
input.ini's [playerN] sections (a number, or on / off; the fork skips the key it does not know). Test shakes the
player's gamepad for half a second at that strength, whatever the game asks. PS2X_RUMBLE=0 still turns it all off.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 19:43:28 +01:00
Thomas MartinandClaude Opus 5.5 08d22167d9 Phase 4 M2: pads and players. libpad's multitap (players 1-4 on port 1's slots, port 2's pad idle behind it, as the reference; a slot connected while its player has an input; PadInput by player, rumble through the actuator alignment); bozo_app: the input bindings moved from the team's ps2_input_bindings (input.ini compatible, raylib codes to SDL3 scancodes and gamepad codes, players 3-4), the user folder / logs / crash reports moved from ps2_app (identity set at run time), DevicePad on four hot-plugged SDL3 gamepads with the mapping database, rumble and pressure; free host and bozo-run take scripts for players 2-4
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 14:28:26 +01:00