mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
From @BunnyFl's disassembly of the 13.42 libScePad.sprx (#15087): GetDeviceInfo, GetCapability, GetVersionInfo, GetIdleCount, GetControllerIdleCount, GetActiveTime, SetPS4BcVibrationMode, GetInfoByPortType, GetExtensionUnitInfo, ReadHistory, OpenExt2, ReadStateExt and GetDeviceId get their checks in order, and keep throwing where the console asks the pad driver or reads state that isn't modelled. ReadHistory's third argument is a byte size of 0x960, and OpenExt2 takes (userId, 0x10, param).