Files
AnyPS5/core/libs/prx/libScePad/include
MarcZX10 660dff1bd1 feat(libScePad): add the host rumble intensity scale and ANYPS5_RUMBLE parser
Add a header-only helper that scales the 16-bit motor amplitudes of a rumble command by a whole-number percentage with exact integer arithmetic (round half up, never amplifying), builds the command the host controller receives (a stop when nothing is left to play), and parses ANYPS5_RUMBLE as a whole number from 0 to 100, refusing anything else with an error that names the variable. 100 is a bypass that returns the unscaled command, so an unset variable keeps today's behaviour. Nothing uses it yet.
2026-10-29 02:06:36 +00:00
..