Repository navigation
Xbox Wireless Adapter: controllers no longer switch off when they reconnect (#517, up to date) - #550
Merged
Merged
Conversation
…he right stick pads_native says SDL is up, so the window can leave gamepads alone; pad_right_stick gives Big Picture's box tilt the stick without asking the browser.
…SDL (#496) navigator.getGamepads starts WebView2's own controller reading (raw input) beside SDL's XInput. On Windows that pair switches off a controller reconnecting through the Xbox Wireless Adapter (SDL #3468). The window's reading is now only a fallback for when SDL can't start, and the box tilt takes the right stick from the launcher.
…or the stick every 50 ms Only Windows has the Xbox Wireless Adapter trouble, so Linux and macOS keep the window's fallback for a controller SDL doesn't open. Big Picture's tilt asks for the right stick at most every 50 ms, not every frame.
Only the command list clashed (LaunchBox and start_with_programs commands from main, next to pads_window_off and pad_right_stick): kept all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Requested by Ruben · project thread
What this changes
This is Xarishark's #517, brought up to date with main. See #517 for what it does.
Only the command list in
lib.rsclashed. Main added the LaunchBox andstart_with_programscommands, #517 addspads_window_offandpad_right_stick, and all of them are kept. Test control (#548) doesn't read controllers, so the two don't affect each other.The same code, apart from #548, passed every CI job in the check-only #547.
Merge this with a merge commit, not squash, so #517 shows as merged and Xarishark's commits keep his name.
How you tested it
npm testpasses (left to CI)node --test tests/*.test.cjspasses: 988 of 988, on Linuxnpm run dev). Nobody has tried it with an Xbox Wireless Adapter yet: the reporter of Xbox controller fails to reconnect after manual power-off or idle timeout while Recomp Launcher is open #496 is the one to confirm.Checklist
recomplauncher.jsonGenerated by Claude Code