Skip to content

feat: add support for DualSense Controller(USB) on Windows#986

Open
ShadyLeaf wants to merge 1 commit into
ayangweb:masterfrom
ShadyLeaf:dualsense
Open

feat: add support for DualSense Controller(USB) on Windows#986
ShadyLeaf wants to merge 1 commit into
ayangweb:masterfrom
ShadyLeaf:dualsense

Conversation

@ShadyLeaf

Copy link
Copy Markdown

This PR adds a small Windows-only USB DualSense input backend.

The backend reads DualSense USB HID input reports through Win32 HID APIs and maps them into the existing gamepad-changed event names used by the current gamepad model. It does not change the frontend.

Scope:

  • USB DualSense only
  • Windows only
  • no Bluetooth support
  • falls back to gilrs when no USB DualSense is available
  • keeps the existing gilrs path for Xbox/XInput and non-Windows platforms

Notes:

  • When a USB DualSense is connected on Windows, it is preferred over the gilrs backend.
  • Bluetooth DualSense devices are ignored by this backend and continue through fallback behavior where supported by gilrs.

@ShadyLeaf

Copy link
Copy Markdown
Author

This should solve #877

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