Triggering Voice Dictation With a DJI Mic Button
chikenhenwy · reddit · 2026-07-19
The author used Claude Code to repurpose the button on a DJI Mic Mini 2 lapel mic into a remote voice input switch, solving the annoyance of having to touch the keyboard to start dictation. The key method was having Claude Code reverse-engineer the button: it discovered that the DJI mic has a camera shutter function, and pressing the transmitter button makes the receiver emit a `volume-up` HID event. When the receiver is plugged into a Mac via USB-C, the system recognizes this event. The author then used Karabiner-Elements to write a rule matching only DJI devices, remapping this button to the hands-free shortcut for Wispr Flow. The result: you can press the lapel mic button from anywhere in the room to start/stop dictation, with text going directly into Claude Code or wherever the cursor is. Regular keyboard volume keys are unaffected since the rule targets only DJI devices. Note that the receiver must be plugged via USB, as Bluetooth mode doesn't expose button events. The project is open-source with a one-click install, and the original Mic Mini is also compatible.
More from coding & agent
- TokenPrint turns Qwen inference into a DevTools-style visual debugger — Rich-Fruit-326 · 2026-07-21
- This week's must-read AI papers span agents, long-context RL, and robot policies — TheTuringPost · 2026-07-21
- Mingle uses MCP to let agents find collaborators without profiles — PassionGlittering106 · 2026-07-21
- Insight Partners maps the crowded AI automation and agent stack — n_sri_laasya · 2026-07-21
- A broken agent router burned 30.2M tokens in 3.5 hours on Claude Code — RileyRalmuto · 2026-07-21
- A thread maps the code-and-epistemics phrases Codex keeps using — alexisgallagher · 2026-07-21