feat(profiles): add Valve Steam Deck gamepad - #89
Draft
ReenigneArcher wants to merge 6 commits into
Draft
Conversation
❌ 2 Tests Failed:
View the top 2 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Introduces a native Steam Deck controller profile (VID 0x28DE, PID 0x1205) across all supported backends: - New `GamepadProfileKind::steam_deck` enum value and `profiles::steam_deck()` factory - 64-byte vendor HID descriptor, native state packet packing (buttons, sticks, triggers, touch, motion) - `SteamDeckFeatureReportState` shared helper for feature-report initialization (serial query, desktop-mapping commands, rumble via `0xEB`) - Linux uhid backend: 4 ms periodic reports, SET/GET feature handling, serial seeding from stable_id - Windows backend: periodic state re-submission thread, feature-report responder, VHF queue dedup on button bytes - FreeBSD uses uinput path for Steam Deck (same as Xbox/Switch) - Four rear paddles (L4/R4/L5/R5) exposed via `supported_rear_paddle_count = 4`, Quick Access mapped to `misc1` - Protocol constant `LVH_WINDOWS_GAMEPAD_STEAM_DECK = 7`, broker validation updated - Full unit and consumer tests on Linux, Windows, and FreeBSD backends
ReenigneArcher
force-pushed
the
feat/steam-controller
branch
from
August 17, 2026 22:45
f30319f to
ed138c9
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description
Introduces a native Steam Deck controller profile (VID 0x28DE, PID 0x1205) across all supported backends:
GamepadProfileKind::steam_deckenum value andprofiles::steam_deck()factorySteamDeckFeatureReportStateshared helper for feature-report initialization (serial query, desktop-mapping commands, rumble via0xEB)supported_rear_paddle_count = 4, Quick Access mapped tomisc1LVH_WINDOWS_GAMEPAD_STEAM_DECK = 7, broker validation updatedScreenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.