Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By XixianWasTakenv0.4.1MITIn 1 marketplace
Approve, interrupt and retry prompts in Claude Code, Codex CLI or the Claude desktop app from a PS5 DualSense controller. The lightbar, rumble and triggers signal when the agent waits for approval or finishes; the desktop app needs macOS and Accessibility permission.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 critical · 3 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
dualsense, ps5-controller, claude-desktop, codex-cli, haptics, hardware-remote, game-controller, controller ·
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
English · 中文
Lean back and drive your coding agent from the couch. padpilot turns a PS5 DualSense controller into a wireless remote for Claude Code, OpenAI Codex CLI, and the Claude desktop app:
✕ / R2 approves and submits, ○ / L2 cancels and interrupts, □ clears input, △ sends continue, R3 retries your last prompt, and holding △ opens an 8-direction prompt wheel. Your custom shortcuts in ~/.claude/keybindings.json are respected automatically.padpilot tutorial (or /padpilot:tutorial in Claude Code) to learn the controls step by step with your real controller. While the tutorial page is open, practice mode is active so no presses ever reach your agent.
Claude Code / Codex ──Hooks──▶ padpilot daemon ──HID──▶ DualSense (light / rumble / triggers / speaker)
▲ │ ▲
└──── keystrokes ◀───────────┘ └──── buttons / sticks / touchpad
(PTY wrapper, or the Claude desktop app on macOS)
Requires a DualSense controller (USB or Bluetooth), Python ≥ 3.8, and macOS (terminal features also work on Linux; Claude desktop app control is macOS-only).
git clone https://github.com/XixianWasTaken/padpilot.git
cd padpilot
# 1. Set up the runtime environment (installs hidapi into ~/.padpilot/venv) and add to PATH
./bin/padpilot setup
ln -sf "$PWD/bin/padpilot" ~/.local/bin/padpilot
# 2. Install the Claude Code plugin (hooks + slash commands)
claude plugin marketplace add "$PWD"
claude plugin install padpilot@padpilot
# 3. (Optional) Install Codex hooks (backs up ~/.codex/hooks.json first; run /hooks once in Codex to trust)
padpilot install-codex
# 4. Verify & explore
padpilot doctor # check hidapi, controller, and daemon
padpilot demo # test rainbow lightbar + rumble
padpilot tutorial # open the interactive Pad School tutorial
padpilot manual # open the bilingual reference manual
Add aliases to your shell profile for everyday terminal use:
alias cc='padpilot run claude'
alias cx='padpilot run codex'
| Mode | How to start | Lights / Rumble / Audio | Approvals | Everyday Button Control |
|---|---|---|---|---|
| 1. Terminal Wrapper (Recommended) | padpilot run claude / codex | ✓ | ✕ approve / ○ deny | Full keystroke injection (auto-detects DECCKM & Kitty keyboard protocol) |
| 2. Claude Desktop App (macOS) | Open the Claude desktop app | ✓ | Hook approval (45s timeout) | Direct control of the input box, reply cards, question boxes & dictation while frontmost |
| 3. Hook-Only Mode (IDEs / Raw CLI) | Run claude / codex directly | ✓ | Hook approval (45s timeout) | Approvals only; regular button presses are not sent |
To send keystrokes and focus the input box in the Claude desktop app, grant Accessibility permission once:
padpilot desktop # opens the macOS Accessibility prompt (System Settings → Privacy & Security → Accessibility)
padpilot stop && padpilot desktop # restart daemon and verify it reports "ok"
~/.padpilot/venv. Keystrokes are posted directly to the Claude desktop app's process and only while it is the frontmost window.padpilot run terminal session is also open, buttons go to the terminal by default—except when the Claude desktop app is frontmost with a mid-turn question box open (and the terminal session is not waiting for input), in which case R1 + face buttons and ✕ answer that question box.7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub xixianwastaken/padpilot --plugin padpilotPlugins from other owners that cover similar ground