mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
sceSystemGestureCreateTouchRecognizer now records the gesture type and rectangle in the title-owned recognizer buffer, and sceSystemGestureUpdateTouchRecognizerRectangle replaces the stored rectangle. sceSystemGestureGetTouchRecognizerInformation reports them back with updated_time 0, since no recognizer is ever updated with input. Recognizers that were not created by sceSystemGestureCreateTouchRecognizer, or that have no rectangle, throw because the console's result for them is unknown. The guest test now passes full-size recognizer and rectangle structures instead of an int. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.1 KiB
1.1 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. 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