Idea: Steam Controller (2026): HD grip haptics under Steam Input, following Steam's rumble intensity #3181

Open
opened 2026-12-04 14:53:40 +00:00 by iafx · 2 comments

With Steam Input on, the game's rumble goes to Steam's stand-in pad, so a Steam Controller (2026) only gets what Steam makes of it. Its grips can play HD haptics (Longshot already does this through RenHDrum), but only when the stream is written to the real device. PR #3045 @sandymac already finds and opens that device next to Steam Input for the gyro; this issue proposes reusing that path for haptics, and having haptics written straight to the controller follow Steam's rumble intensity setting.

1. Haptics over the #3045 device path

#3045 opens the real controller on Linux (hidraw) and Windows (cfgmgr32 + HID ioctls, avoiding the SetupDi/HidD calls Steam's overlay hooks). The same device could carry the grip stream:

  • Share the reader's device (or its path) with the haptics output, so RenHDrum's grip stream reaches the same Steam Controller the gyro comes from, with Steam Input on, on both platforms.
  • Keep the writes off the pads request thread (same reason as L3 in the #3045 review): an output report that stalls must not delay buttons and sticks.
  • On cleanup, only turn off the grip output if Longshot turned it on (same concern as L4 for the sensors).
  • A kill switch like the IMU ones, e.g. HOS_STEAM_CONTROLLER_HAPTICS.

This could land in #3045 or in a follow-up; if it's out of scope there, exposing where the device handle lives would already help.

2. Follow Steam's rumble intensity

Steam's rumble intensity setting only applies to what goes through its stand-in pad. Anything written straight to the controller (RenHDrum's grip stream, for one) ignores it, so the grips stay at full strength even when the player turned vibration down in Steam.

Steam keeps the setting in plain text files, so it can be followed without touching Steam:

  • General, per controller: <Steam>/steamapps/common/Steam Controller Configs/<account id>/config/preferences_<serial>.vdf, key "rumble_intensity" inside "ControllerPersonalization".
  • Per game (wins when set): <Steam>/userdata/<account id>/config/localconfig.vdf, key "SteamControllerRumbleIntensityV2" under "UserLocalConfigStore" > "apps" > "<app id>". Missing or 0 means the game follows the general setting.

Values (smaller is stronger): very high 60, high 100, medium-high 200, medium 0 (default; 320 when set in a game's own settings), medium-low 1000, low 8000, very low 16000.

Finding the Steam folder:

  • Windows: HKCU\Software\Valve\Steam SteamPath; the account is HKCU\Software\Valve\Steam\ActiveProcess ActiveUser.
  • Linux native: ~/.local/share/Steam (or ~/.steam/steam).
  • Under Proton the registry points at Proton's own Steam folder; the real one is in STEAM_COMPAT_CLIENT_INSTALL_PATH. When no account is named, the one whose localconfig.vdf changed last works.

Re-reading the files every couple of seconds (only when their write time changes) lets the player change it with the game open. I do exactly this in a small DLL for another game and it behaves well on Windows; the Proton path is new and not yet tested on a Deck.

It could live in RenHDrum instead of Longshot, so every game using it gets it.

Happy to test on a Steam Controller (2026) over cable and the puck on Windows.

With Steam Input on, the game's rumble goes to Steam's stand-in pad, so a Steam Controller (2026) only gets what Steam makes of it. Its grips can play HD haptics (Longshot already does this through RenHDrum), but only when the stream is written to the real device. PR #3045 @sandymac already finds and opens that device next to Steam Input for the gyro; this issue proposes reusing that path for haptics, and having haptics written straight to the controller follow Steam's rumble intensity setting. ## 1. Haptics over the #3045 device path #3045 opens the real controller on Linux (hidraw) and Windows (cfgmgr32 + HID ioctls, avoiding the SetupDi/HidD calls Steam's overlay hooks). The same device could carry the grip stream: - Share the reader's device (or its path) with the haptics output, so RenHDrum's grip stream reaches the same Steam Controller the gyro comes from, with Steam Input on, on both platforms. - Keep the writes off the pads request thread (same reason as L3 in the #3045 review): an output report that stalls must not delay buttons and sticks. - On cleanup, only turn off the grip output if Longshot turned it on (same concern as L4 for the sensors). - A kill switch like the IMU ones, e.g. `HOS_STEAM_CONTROLLER_HAPTICS`. This could land in #3045 or in a follow-up; if it's out of scope there, exposing where the device handle lives would already help. ## 2. Follow Steam's rumble intensity Steam's rumble intensity setting only applies to what goes through its stand-in pad. Anything written straight to the controller (RenHDrum's grip stream, for one) ignores it, so the grips stay at full strength even when the player turned vibration down in Steam. Steam keeps the setting in plain text files, so it can be followed without touching Steam: - General, per controller: `<Steam>/steamapps/common/Steam Controller Configs/<account id>/config/preferences_<serial>.vdf`, key `"rumble_intensity"` inside `"ControllerPersonalization"`. - Per game (wins when set): `<Steam>/userdata/<account id>/config/localconfig.vdf`, key `"SteamControllerRumbleIntensityV2"` under `"UserLocalConfigStore" > "apps" > "<app id>"`. Missing or 0 means the game follows the general setting. Values (smaller is stronger): very high 60, high 100, medium-high 200, medium 0 (default; 320 when set in a game's own settings), medium-low 1000, low 8000, very low 16000. Finding the Steam folder: - Windows: `HKCU\Software\Valve\Steam` `SteamPath`; the account is `HKCU\Software\Valve\Steam\ActiveProcess` `ActiveUser`. - Linux native: `~/.local/share/Steam` (or `~/.steam/steam`). - Under Proton the registry points at Proton's own Steam folder; the real one is in `STEAM_COMPAT_CLIENT_INSTALL_PATH`. When no account is named, the one whose `localconfig.vdf` changed last works. Re-reading the files every couple of seconds (only when their write time changes) lets the player change it with the game open. I do exactly this in a small DLL for another game and it behaves well on Windows; the Proton path is new and not yet tested on a Deck. It could live in RenHDrum instead of Longshot, so every game using it gets it. Happy to test on a Steam Controller (2026) over cable and the puck on Windows.
Member

For maintainers

PR #3045 is open and contains the requested device discovery path: builder/crates/build-core/src/hid_imu.rs, with Linux hidraw and Windows cfgmgr32/HID ioctl implementations and a background reader thread. The PR author requested this separate issue and described haptics as out of scope for that PR.


Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.

**For maintainers** PR #3045 is open and contains the requested device discovery path: `builder/crates/build-core/src/hid_imu.rs`, with Linux hidraw and Windows cfgmgr32/HID ioctl implementations and a background reader thread. The PR author requested this separate issue and described haptics as out of scope for that PR. --- <sub>Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.</sub>
Contributor

Part 1 is in #3302 (draft): under Steam Input, a Steam Controller (2026)'s grips now play on the real controller,
and Steam's stand-in pad stays quiet while they do.

Why the grips didn't play before. The stand-in carries the controller's ids (28de:1302), so it picked the grips.
Its report 0x88 writes went to a node that isn't the controller's and failed. It then fell back to motors and tried
the grips again every 30 s. The real controller played nothing.

What #3302 does:

  • The grips are played on the real controller, through the builder's HID writer thread.
  • The stand-in stays quiet while they play.
  • Kill switch: HOS_STEAM_CONTROLLER_HAPTICS=0.
  • When the game exits, the grips' mode is turned off only if Longshot turned it on.
  • It also covers a Steam Machine's own receiver (28de:1305), which the builder refused before.

Tested on a Steam Machine through its own receiver and through the Puck (28de:1304). A cable and Bluetooth are still
to test.

Part 2, following Steam's rumble settings, isn't in it. What I found on a Steam Machine (SteamOS):

  • The per-controller Game rumble switch (Settings → Controller → the controller) isn't written to Steam's files.
    Turning it off changed no .vdf or .json under config/ or userdata/. The controller's serial appears in none of
    them, so the game can't read this switch from a file. With it off, #3302's grips still play: they bypass Steam, as
    the PR's Risks say.
  • Per-game settings live in userdata/<id>/config/localconfig.vdf, under "apps" → "<app id>". For Longshot's
    shortcut they read "SteamControllerRumble" "-1" and "SteamControllerRumbleIntensityV2" "0", probably the
    defaults. They're likely what this issue means by Steam's rumble intensity. Before using them, someone needs to set
    each choice in the game's controller settings and record the values Steam writes. The game is sandboxed, so the
    builder would have to read them and pass them on.
  • An open question: should Steam's level replace Longshot's Vibration strength, cap it, or scale it? I'd like your
    view before building part 2.
Part 1 is in #3302 (draft): under Steam Input, a Steam Controller (2026)'s grips now play on the real controller, and Steam's stand-in pad stays quiet while they do. **Why the grips didn't play before.** The stand-in carries the controller's ids (`28de:1302`), so it picked the grips. Its report `0x88` writes went to a node that isn't the controller's and failed. It then fell back to motors and tried the grips again every 30 s. The real controller played nothing. **What #3302 does:** - The grips are played on the real controller, through the builder's HID writer thread. - The stand-in stays quiet while they play. - Kill switch: `HOS_STEAM_CONTROLLER_HAPTICS=0`. - When the game exits, the grips' mode is turned off only if Longshot turned it on. - It also covers a Steam Machine's own receiver (`28de:1305`), which the builder refused before. Tested on a Steam Machine through its own receiver and through the Puck (`28de:1304`). A cable and Bluetooth are still to test. **Part 2, following Steam's rumble settings, isn't in it.** What I found on a Steam Machine (SteamOS): - **The per-controller Game rumble switch** (Settings → Controller → the controller) **isn't written to Steam's files.** Turning it off changed no `.vdf` or `.json` under `config/` or `userdata/`. The controller's serial appears in none of them, so the game can't read this switch from a file. With it off, #3302's grips still play: they bypass Steam, as the PR's Risks say. - **Per-game settings live in `userdata/<id>/config/localconfig.vdf`**, under `"apps" → "<app id>"`. For Longshot's shortcut they read `"SteamControllerRumble" "-1"` and `"SteamControllerRumbleIntensityV2" "0"`, probably the defaults. They're likely what this issue means by Steam's rumble intensity. Before using them, someone needs to set each choice in the game's controller settings and record the values Steam writes. The game is sandboxed, so the builder would have to read them and pass them on. - **An open question:** should Steam's level replace Longshot's Vibration strength, cap it, or scale it? I'd like your view before building part 2.
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
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
MagicBeanDev/Longshot#3181
No description provided.