mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
1.2 KiB
1.2 KiB
libSceSystemGesture technical debt
Silent stubs
- System gesture recognizers (libSceSystemGesture) -
sceSystemGestureGetPrimitiveTouchEvents,GetPrimitiveTouchEventsCount,GetTouchEvents,GetPrimitiveTouchEventByIndexand the recognizer append, remove, reset and update calls report that no touch input exists, so a title never receives a gesture event. Handle and pointer arguments are still checked across all query entry points includingsceSystemGestureGetTouchEventByIndex. Error codes follow the 0x80D1 values main already uses in this file; KytyPS5 uses 0x8089 (INVALID_ARGUMENT 0x80890001, INVALID_HANDLE 0x80890006), and which one the console returns is not verified.sceSystemGestureGetTouchRecognizerInformationreturns the gesture type and rectangle given tosceSystemGestureCreateTouchRecognizerorUpdateTouchRecognizerRectangle, stored in the title's recognizer buffer in a layout private to this file, and always reportsupdated_time0 because no recognizer is ever updated with input. It throws for a recognizer that was not created bysceSystemGestureCreateTouchRecognizeror has no rectangle, since the console's result in those cases is not known