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

Closed
opened 2026-11-24 09:57:08 +00:00 by L0STAi · 2 comments
L0STAi commented 2026-11-24 09:57:08 +00:00 (Migrated from github.com)
Contributor

Imported from Marvisak/VIctory. Originally posted by L0STAi on 2026-11-24T09:57:08Z.


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?

<!-- greyfinch-sync:Marvisak/VIctory:issue:6579191743 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/767). Originally posted by [L0STAi](https://github.com/L0STAi) on 2026-11-24T09:57:08Z. --- 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?
pluvialmoon commented 2026-11-24 11:04:08 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by pluvialmoon on 2026-11-24T10:13:33Z.


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

take a look at mine

<!-- greyfinch-sync:Marvisak/VIctory:comment:7128486619 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/767#issuecomment-7128486619). Originally posted by [pluvialmoon](https://github.com/pluvialmoon) on 2026-11-24T10:13:33Z. --- https://github.com/Marvisak/VIctory/compare/main...pluvialmoon:VIctory:sdl-gamepads?expand=1 take a look at mine
Sunkiller-qc commented 2026-11-24 14:04:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from Marvisak/VIctory. Originally posted by Sunkiller-qc on 2026-11-24T13:09:01Z.


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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7132418362 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/issues/767#issuecomment-7132418362). Originally posted by [Sunkiller-qc](https://github.com/Sunkiller-qc) on 2026-11-24T13:09:01Z. --- 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.
Sign in to join this conversation.
No labels
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.

Reference
Marvisak/VIctory#767
No description provided.