Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
The session speaks Selkies' signaling and wire protocol over a WebRTC peer connection, so the station's video and audio play natively with no WebView in the path. Keys, pads and the pointer ride the server's data channels; Android forwards only classified pads' keys and motion to the plugin while a stream runs, leaving the remote on the router's label path. The stream keeps its sound on the device even with a headset paired, binds video by track id rather than by stream, and shows a spinner while it starts instead of trace text over the game.
A controller seat starts with one gamepad slot and the station drops input for any other, so a second pad drove nothing. The app now asks the room for a slot per pad, with the same assign_slot frame the room page sends when the host drags a gamepad onto a person, and the station's role update re-maps the lanes. The room client exposes the roster and the assign/release calls the start-menu player assignment will use.
benklop
force-pushed
the
feat/romm-stream-gamepads
branch
from
December 5, 2026 04:46
ccb8f4b to
1cb589e
Compare
This branch has not been deployed
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.
Summary
A controller seat starts with one gamepad slot, and the station drops input for any other slot, so a second pad drove nothing. The client now asks the room for a slot per pad, with the same
assign_slotframe the room page sends when the host drags a gamepad onto a person; the station's role update re-maps the lanes. The room client exposes the roster and assign/release calls that the start-menu player assignment will use later.Stacked on #2673.
Written with AI assistance; the room protocol was exercised against the live station.
Related Issues
No linked issue.
Type of Change
Changes Made
assign_slot/release_slot, cached widening of the stream's own seat, reconnect-safe state reads.Platform
Testing
Test Steps
grantsline follow[0]→[0, 1]→[0].flutter test test/util/game_stream/passes (85 tests).Screenshots (if applicable)
None.
Checklist