Files
AnyPS5/docs/dev/debt/libSceSystemGesture.md
T

1.2 KiB

libSceSystemGesture technical debt

Silent stubs

  • System gesture recognizers (libSceSystemGesture) - sceSystemGestureGetPrimitiveTouchEvents, GetPrimitiveTouchEventsCount, GetTouchEvents, GetPrimitiveTouchEventByIndex and 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 including sceSystemGestureGetTouchEventByIndex. 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. sceSystemGestureGetTouchRecognizerInformation returns the gesture type and rectangle given to sceSystemGestureCreateTouchRecognizer or UpdateTouchRecognizerRectangle, stored in the title's recognizer buffer in a layout private to this file, and always reports updated_time 0 because no recognizer is ever updated with input. It throws for a recognizer that was not created by sceSystemGestureCreateTouchRecognizer or has no rectangle, since the console's result in those cases is not known