mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
f3801ba10b
psx_mod_read_local_pad_sticks(player, out[4]) returns the mapped local stick axes (lx, ly, rx, ry; 0..255, centre 128) without touching the SIO sample, so a presentation plugin (a look-around camera) can read the right stick even when the game selected a digital pad. It returns 0 and centred axes for an invalid or disconnected player, in netplay, and during rollback resimulation; peer input is never presentation input. The debug-server axis override feeds it for deterministic tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>