Skip to content

PlayStation and Switch controllers as Xbox controllers for isolated games - #38

Merged
narkotrxll merged 3 commits into
mainfrom
feature/playstation-as-xbox
Oct 16, 2026
Merged

narkotrxll merged 3 commits into
mainfrom
feature/playstation-as-xbox

Conversation

@narkotrxll

@narkotrxll narkotrxll commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Before: games that only know Xbox controllers did not react to a DualShock 4, DualSense or Switch Pro controller unless DS4Windows, x360ce or Steam Input with a driver was installed.

After: Controllers → "PlayStation and Switch controllers as an Xbox controller" (off by default). These controllers then appear to isolated games as an Xbox controller in a free slot, without any driver; the slot card says "Via InputSplit" and the controller test, shortcuts, dead zones and remapping work with it. Vibration works over USB.

How: the helper's new pad bridge opens the controllers over HID, parses their reports (DS4 USB/Bluetooth, DualSense USB/Bluetooth, Switch Pro 0x30/0x3F), gives each a free XInput slot and publishes its state in a shared memory section (Local\InputSplit.PadBridge, seqlock). The hook answers XInputGetState/Ex, GetCapabilities, GetBatteryInformation and SetState for that slot from it, only while the game is isolated. Hook protocol 6. Known limits: a game that already reads these controllers natively may react twice (said in the setting's hint); Bluetooth vibration is not sent yet. Not yet tried on real Windows.

…ames

New pad bridge (Controllers page switch, off by default): the helper opens
DualShock 4, DualSense and Switch Pro controllers over HID, gives each a free
XInput slot and publishes its state in a shared memory section. The hook answers
XInputGetState/Ex, GetCapabilities, GetBatteryInformation and SetState for that
slot from it, only while the game is isolated, so games that only know Xbox
controllers can use them without any driver. Vibration is sent back over USB.
Hook protocol 6.
@narkotrxll
narkotrxll merged commit b457d02 into main Oct 16, 2026
3 checks passed
@narkotrxll
narkotrxll deleted the feature/playstation-as-xbox branch October 16, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant