mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-06 13:30:00 +00:00
scePadOpen for the system user's remote control port (type 16) returned the DualSense handle, so scePadReadState on the "remote" reported the controller's buttons as connected. SDL's PS5 video driver maps that port's buttons to keys, so every Cross also arrived as Return and every D-pad press as an arrow key. In Raptor (PPSA94002) the Return overwrote the key typed on the on-screen keyboard before the name field read it, and Circle closed the dialog instead of the keyboard. The port now opens its own handle that reads no buttons with connected false, and closes independently of the DualSense handle. Unlike the special port handles, it stays out of KnownHandle, so calls that act on the DualSense reject it. Co-Authored-By: Claude Opus 5.5 <[email protected]>