For games on a later SDK that read their controllers through libpad2 over
libdbc (The Third Age): scePad2Init/End, scePad2CreateSocket/DeleteSocket,
scePad2GetState (1 with a controller), scePad2GetButtonProfile (the DualShock
2's, four bytes), scePad2Read (the 18-byte report: buttons active low, sticks
RX RY LX LY, the twelve pressures in the controller's order), and
scePad2GetButtonInfo; libvib's sceVibGetProfile (0x03) and sceVibSetActParam
(the motors as libvib packs them, to the input's rumble); sceDbcInit/End.
The controllers are libpad's: the same ports, players and PadInput, so the
PC's devices and the frame-keyed scripts drive both libraries. Behaviour read
from The Third Age's libpad2 and how its pad manager uses each answer.
Co-Authored-By: Claude Opus 5.5 <[email protected]>