SDL3 Xbox and PlayStation controller support with rumble - implementation available #767

Closed
opened 2026-11-26 04:13:56 +00:00 by github-bot · 2 comments
Owner

@⁠L0STAi on GitHub · 2026-11-24 09:57 UTC · original

I've implemented SDL3 controller support for VIctory, including Xbox and PlayStation gamepads, button and analog input mapping, controller detection, XInput fallback, and rumble support.

Testing completed:

  • cargo check -p victory: passed
  • cargo build -p victory: passed
  • PlayStation controller input and vibration: tested successfully in-game
  • Xbox controller input: previously tested; latest rumble changes not yet verified on Xbox

Implementation: https://github.com/Marvisak/VIctory/compare/main...L0STAi:VIctory:feature/sdl3-controller-support

I attempted to open a pull request, but GitHub reports that PR creation is restricted to repository collaborators. Would a maintainer be willing to review these changes and advise how I can contribute them upstream?

**@⁠L0STAi** on GitHub · 2026-11-24 09:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/767) I've implemented SDL3 controller support for VIctory, including Xbox and PlayStation gamepads, button and analog input mapping, controller detection, XInput fallback, and rumble support. Testing completed: - cargo check -p victory: passed - cargo build -p victory: passed - PlayStation controller input and vibration: tested successfully in-game - Xbox controller input: previously tested; latest rumble changes not yet verified on Xbox Implementation: https://github.com/Marvisak/VIctory/compare/main...L0STAi:VIctory:feature/sdl3-controller-support I attempted to open a pull request, but GitHub reports that PR creation is restricted to repository collaborators. Would a maintainer be willing to review these changes and advise how I can contribute them upstream?
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:13:56 +00:00
Author
Owner

@⁠pluvialmoon on GitHub · 2026-11-24 10:13 UTC · original

https://github.com/Marvisak/VIctory/compare/main...pluvialmoon:VIctory:sdl-gamepads?expand=1

take a look at mine

**@⁠pluvialmoon** on GitHub · 2026-11-24 10:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/767#issuecomment-7128486619) https://github.com/Marvisak/VIctory/compare/main...pluvialmoon:VIctory:sdl-gamepads?expand=1 take a look at mine
Author
Owner

@⁠Sunkiller-qc on GitHub · 2026-11-24 13:09 UTC · original

An SDL3 backend was already requested in #187, and #312 (DaviTostes, open) implements it: SDL3.dll loaded at run time, up to four pads, hotplug, and SDL_RumbleGamepad / SDL_RumbleGamepadTriggers for rumble. With pluvialmoon's branch above, that's three versions. Your PlayStation test (input plus vibration in game) would help most on #312. It would also be worth saying there what your branch adds, for example the XInput fallback.

**@⁠Sunkiller-qc** on GitHub · 2026-11-24 13:09 UTC · [original](https://github.com/Marvisak/VIctory/issues/767#issuecomment-7132418362) An SDL3 backend was already requested in #187, and #312 (DaviTostes, open) implements it: SDL3.dll loaded at run time, up to four pads, hotplug, and `SDL_RumbleGamepad` / `SDL_RumbleGamepadTriggers` for rumble. With pluvialmoon's branch above, that's three versions. Your PlayStation test (input plus vibration in game) would help most on #312. It would also be worth saying there what your branch adds, for example the XInput fallback.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#767
No description provided.