mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
9 lines
2.0 KiB
Markdown
9 lines
2.0 KiB
Markdown
# libSceMove technical debt
|
|
|
|
### Functional
|
|
|
|
- [libSceMove](../../../core/libs/prx/libSceMove/Export.cpp): the host implements only disconnected controllers. The native module confirms initialization errors, disconnected return 1 without output writes, invalid-handle error 0x80EE0004, and initialization then argument then handle validation for queries. Reset-light-sphere still omits the device ioctl and its failure mapping.
|
|
- [sceMoveOpen and sceMoveClose](../../../core/libs/prx/libSceMove/Export.cpp): native opening resolves a user/device through the input service, rejects duplicate device handles with 0x80EE0007, limits storage to eight slots with 0x80EE0005, and obtains handles from the device ioctl. The host generates monotonically increasing handles, accepts arbitrary type/index values and returns 0x80EE0007 for duplicate slots and throws for other users. Closing an unknown handle returns the confirmed 0x80EE0004.
|
|
- [sceMoveReadStateRecent](../../../core/libs/prx/libSceMove/Export.cpp): a null data array is accepted for SDK versions through 0x03ffffff and rejected from 0x04000000 on, as the native module does; the count pointer and a nonnegative timestamp are required for every version. Connected state records and device-service failures remain unimplemented.
|
|
- [sceMoveGetBluetoothAddress, sceMoveGetCalibrationInfo, sceMoveGetDeviceId, sceMoveIsReproductionModel, sceMoveIsValidHandle, sceMoveReadStateRecentForTracker, sceMoveSetCalibrationMode, sceMoveSetExtensionPortOutput, sceMoveSetLightSphereForTracker, sceMoveWriteCalibrationInfo](../../../core/libs/prx/libSceMove/Export.cpp): in 13.42 module disassembly (sha256 f528763dd75ee1124b5ae0d8a7d9bd13e6642f964818724877cfbee710ac1851), the initialization flag byte (0x10018) is checked first: nine exports return 0x80EE0001 before argument/handle checks, and sceMoveIsValidHandle returns 0 (false) when uninitialized. Console runtime behavior is not measured, and initialized paths remain unimplemented placeholders throwing NotImplemented_nid_no_patch.
|