Files
AnyPS5/docs/dev/debt/libSceSystemGesture.md
T
KernelPanicNTandClaude Opus 5.5 1536689622 feat(libSceSystemGesture): implement sceSystemGestureGetTouchRecognizerInformation
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>
2026-10-14 13:47:24 +00:00

1.1 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. 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