Add dualshock/dualsense support #30

Closed
github-bot wants to merge 2 commits from github-bot/gh-30 into main AGit
Owner

@⁠jac4e on GitHub · 2026-11-30 12:58 UTC · original
jac4e:feat/dualsense_support → main · +912 −2 · 4 files · 2 commits · closed without merging

Added dualshock / dualsense support by porting implementation from XCL, Vice-Tay, and Victory-ALFRED.

Still currently testing rumble support on DS4 so leaving this as a draft for now. DS4 controls, however, have been tested and are working.

See crates/victory-hle/src/modules/gameinput/dualsense.rs for full code attributions.

**@⁠jac4e** on GitHub · 2026-11-30 12:58 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/30) `jac4e:feat/dualsense_support` → `main` · +912 −2 · 4 files · 2 commits · closed without merging Added dualshock / dualsense support by porting implementation from XCL, Vice-Tay, and Victory-ALFRED. Still currently testing rumble support on DS4 so leaving this as a draft for now. DS4 controls, however, have been tested and are working. See `crates/victory-hle/src/modules/gameinput/dualsense.rs` for full code attributions.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 07:41:46 +00:00
Author
Owner

@⁠SyBozz on GitHub · 2026-11-30 16:50 UTC · original

Just to note that I got my ps4 controller to work via a regedit.

If proton is used controller support is different since steam has it's own controller mapping tool / support. (As far as I understood the problem)

To check I ran source ./env.sh; ./tools/play-wine.sh control joy.cpl which showed that the controller was not correctly seen.

So via source ./env.sh; ./tools/play-wine.sh regedit I added the following:
HKEY_LOCAL_MACHINE\\System\\ControlSet001\\Services\\winebus
Here I added a new dword DisableHidraw set to 1

Afterwards the controller worked without a problem including rumble.

But it's basically the same way #26 fixed xinput controller support.

**@⁠SyBozz** on GitHub · 2026-11-30 16:50 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/30#issuecomment-7285313152) Just to note that I got my ps4 controller to work via a regedit. If proton is used controller support is different since steam has it's own controller mapping tool / support. (As far as I understood the problem) To check I ran `source ./env.sh; ./tools/play-wine.sh control joy.cpl` which showed that the controller was not correctly seen. So via `source ./env.sh; ./tools/play-wine.sh regedit` I added the following: `HKEY_LOCAL_MACHINE\\System\\ControlSet001\\Services\\winebus` Here I added a new dword `DisableHidraw` set to 1 Afterwards the controller worked without a problem including rumble. But it's basically the same way #26 fixed xinput controller support.
github-bot closed this pull request 2026-12-03 02:50:19 +00:00
Author
Owner

@⁠goldfishdev on GitHub · 2026-12-03 02:42 UTC · original

Superseded by the HID input path and the DualSense output work. The only unique bits are VICTORY_RUMBLE_GAIN and VICTORY_DUALSENSE_RUMBLE, ported separately.

**@⁠goldfishdev** on GitHub · 2026-12-03 02:42 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/30#issuecomment-7365763433) Superseded by the HID input path and the DualSense output work. The only unique bits are `VICTORY_RUMBLE_GAIN` and `VICTORY_DUALSENSE_RUMBLE`, ported separately.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.