/openjoystickdriver:diagnosing-ojd-controllers [VVVV:PPPP or controller ID]from openjoystickdriver
Diagnoses game controllers under OpenJoystickDriver (ojd) on macOS by reading identity, record, inputs, and packets. Use when a pad is missing, misread, silent, or needs a support report.
Ships in openjoystickdriver. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Controller: $ARGUMENTS. When empty, run ojd controller list and ask which one.
Build the diagnosis from this run's output only. CONTROLLER is a VVVV:PPPP, a session ID (E-…, changes per connection), or a unit ID (U-…, stable per port); use an ID when two pads share a VID:PID.
- [ ] ojd controller show CONTROLLER record + layer, route, handler, mapping source, publication
- [ ] ojd controller watch CONTROLLER --duration 10 user presses every control
- [ ] ojd controller check CONTROLLER OtherControl = wrong bit, Skipped = dead control
- [ ] ojd --json controller capture CONTROLLER --duration 10 > capture.jsonl
- [ ] ojd diagnose service checks; --frames 10 for stutter
- [ ] ojd explain CODE for each E code seen
The user operates the pad, so run watch, check, and capture while they press controls, and tell them what to press first.
controller show says | Cause | Fix |
|---|---|---|
| no record, HID gamepad | mapped from HID descriptor or SDL_GameControllerDB | record, if a control is wrong |
waits-for-guide-press | pad silent until its home button | press it |
reason SystemGamepad | macOS handles the pad | ojd controller claim CONTROLLER |
no-protocol-match | no family speaks it | capture, then record |
layer User | the user's file applies | ojd record show VVVV:PPPP |
A pad connected before a record changed keeps the old record until it reconnects.
Smallest step that works: nothing → ControllerPatch (/openjoystickdriver:writing-ojd-controller-patches) → Controller record (/openjoystickdriver:writing-ojd-controller-records) → generator script (/openjoystickdriver:generating-ojd-documents) → Swift source, only for a handshake, encryption, or transport no document can state. A per-model fact is a record field, never a Swift branch.
Data-mining comes before any bug report or controller support issue:
ojd diagnose --output support-report.json writes a report; read it with the user before sharing.Ask before any --force. Keep serials, unit IDs, Bluetooth addresses, and user paths out of public posts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ojd, openjoystickdriver, game-controller, macos, controller-diagnostics
npx claudepluginhub openjoystickdriver/openjoystickdriver --plugin openjoystickdriver6 skills in this plugin
/adding-ojd-rumbleAdds rumble to an OpenJoystickDriver controller with a session.rumble template, including follow-up and stop reports, and checks it with packet captures. Use when a pad's motors stay still./generating-ojd-documentsWrites a JavaScript generator that ojd generate turns into checked OpenJoystickDriver records, patches, profiles, or virtual devices. Use when several controller models differ by a few details./packaging-ojd-modsPackages OpenJoystickDriver records, patches, profiles, virtual devices, and protocol descriptions as a mod folder with a mod.plist manifest. Use when sharing ojd files with other users./writing-ojd-controller-patchesWrites an OpenJoystickDriver ControllerPatch that changes a bundled controller record, such as a deadzone, the handler, or a mode key. Use when ojd knows a model but one detail is wrong./writing-ojd-controller-recordsWrites a complete OpenJoystickDriver Controller record for a model with no bundled record, maps its report bits, and replays a capture to test it. Use when ojd does not know a controller.Other plugins' skills for the same job