fix: reroute synthetic media keys (Steam Input Volume +/-)#2187
Open
xXJSONDeruloXx wants to merge 1 commit into
Open
fix: reroute synthetic media keys (Steam Input Volume +/-)#2187xXJSONDeruloXx wants to merge 1 commit into
xXJSONDeruloXx wants to merge 1 commit into
Conversation
Author
|
Video from pr description was tested with patched upstream gamescope but on bazzite HTPC (-deck) edition, but to further test, here’s current shipped gamescope in steamOS reproducing same issue: IMG_3420.movas you can see, with QAM open the inputs are sent to root server input surface but not while game is focused so this is not isolated to one set of hardware or a Bazzite quirk. This fixes intended behavior in SteamOS as well |
Author
|
And here’s on SteamDeck and Steam os with patched gamescope: IMG_3422.movBoth QAM focused and in-game both pass through the synth keys correctly Edit: also confirmed that the controls on the SteamDeck itself still send brightness +/- with steam/QAM + LStick up/down, as it should |
This was referenced May 19, 2026
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.
Currently, holding steam or QAM and pressing left stick up or down will modify system volume while QAM is visible or while in Steam BPM in a gamescope-session, but while a game is focused this chord does not work.
More details documented here:
ublue-os/bazzite#4856
The core issue is that the reroute key logic in
wlserver_handle_keyonly works for real keyboard events, but synthetic keys from Steam Input go throughwlserver_key. and that path would forward those events to the focused game surface, not reroute to root server input surface.PR here ropes wlserver_key into the same forbidden key route, so synthetic vol keys get handled in the same was as physical ones.
After building with this fix, here's it working with steam controller 2:
IMG_3405.MOV