SIGN IN SIGN UP
shadps4-emu / shadPS4 UNCLAIMED

PlayStation 4 emulator for Windows, Linux, macOS and FreeBSD written in C++

0 0 91 C++

Refactor pad handles (#4386)

* Set up [userid, type, index] -> pad_handle mapping and hook up currently existing GameControllers backend to it

* just use basic oop principles why are we even shoving callee responsibility in caller logic

* support special pads

* random edge case I thought of

* return error if handle is already opened, redirect scePadOpenExt to scePadOpen

* scePadClose

* error out if trying to close an unopened handle

* oof

* logging
K
kalaposfos13 committed
66112bc90a2a9dc0f830ca497cb6ff22c4ca2e33
Parent: d3597c7
Committed by GitHub <noreply@github.com> on 5/10/2026, 8:04:20 AM