Repository navigation
Conversation
The wired 360 pad fell back to the generic driver and failed doctor. Add parseXbox360Report for its 20-byte XInput report (byte 2: dpad, start/back, stick clicks; byte 3: bumpers, guide, face buttons; bytes 4-5: uint8 triggers; bytes 6-13: int16 LE sticks), route the PID in createDriver() and doctor's findDevice(), and commit the 17/17 doctor report as a replay fixture. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The north button (△ / Y) sends a single Space per press, which Claude Code's default hold voice mode reads as a typed space. Document setting voice.mode to "tap", add a troubleshooting entry, and show the Xbox 360 demos. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Summary
The wired Xbox 360 Controller (
045e:028e, reports as "Controller") fell back to the generic driver and failedopenmicro doctor. This adds a parser for its 20-byte XInput report and routes the PID to it.Layout (decoded from a live capture on macOS):
00 14(message type, length)01/02/04/08, Start10, Back20, L340, R38001, RB02, Guide04, A/B/X/Y10/20/40/80Changes
src/controller/xbox-driver.ts:parseXbox360Report+XBOX_360_PIDS. Guide →touchpad;l2/r2presses synthesized at >25%.src/controller/hid-manager.ts,src/doctor.ts: route045e:028ebefore the generic fallback.test/drivers.test.ts: unit tests built from real captured frames.test/fixtures.test.ts: select the 360 parser by PID for fixture replay.test/fixtures/controllers/045e-028e-usb.json: 17/17 doctor report;CONTROLLERS.mdtable regenerated.demo/,assets/demo/xbox360/: Xbox 360 demo scenes and GIFs, shown in the README.README.md,src/harness/claude.ts: push-to-talk (△ / Y) setup. The button only works when Claude Code'svoice.modeistap. The default,hold, types a space instead of listening. Adds a setup section and a troubleshooting entry.Test plan
npm run typecheck && npm run lint && npm run format:check && npm test(328 tests pass)node dist/cli.js doctoron a real pad: 17/17,Driver: xbox🤖 Generated with Claude Code