Skip to content

feat(windows): OsmsPad virtual gamepad backend - #8

Merged
mlopezsegura merged 1 commit into
masterfrom
feature/osmspad-gamepad
Nov 16, 2026
Merged

mlopezsegura merged 1 commit into
masterfrom
feature/osmspad-gamepad

Conversation

@mlopezsegura

Copy link
Copy Markdown
Collaborator

Adds gamepad_driver = osmspad: on Windows, virtual Xbox Series controllers are created through OpenStreamMS's own OsmsPad driver (UMDF + VHF) instead of ViGEmBus. Each controller is tagged with the Windows session it belongs to, so OpenStreamMS can isolate controllers per session by instance ID. Rumble is sent back to the client.

If the driver isn't installed, Sunshine falls back to ViGEmBus.

🤖 Generated with Claude Code

New gamepad_driver value "osmspad" for OpenStreamMS's OsmsPad driver (UMDF on
the Virtual HID Framework): every controller is an Xbox Series pad that
Windows puts on the XInput path through its inbox xinputhid filter, with
rumble (motors and triggers) returned to the client. Controllers belong to
Sunshine's handle, so the driver removes them if Sunshine exits. When the
driver is not installed, allocation falls back to ViGEmBus with the usual
type selection. Virtual HID Driver is not used under this policy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mlopezsegura
mlopezsegura merged commit d9caae4 into master Nov 16, 2026
4 checks passed
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