Image: reddit.com · I dictate to Claude Code with the button on my collar mic — Claude Code reverse-engineered the mic to build it
A collar mic button turned into a dictation trigger
Claude Code worked out how a DJI Mic Mini 2 button reaches a Mac as a keypress and wrote a Karabiner-Elements rule that starts voice dictation.
Credits
- Reddit poster chikenhenwy Source ↗
- Repository account caezium Source ↗
Earliest dated source:
The full story
The poster wanted the button on their DJI Mic Mini 2 to start dictation without touching the keyboard. Claude Code found that DJI mics have a camera-shutter feature that sends a volume-up keypress, which arrives on a Mac as a normal HID event when the receiver is plugged in by USB-C.
Claude confirmed prior art, checked the manual, read the USB IDs from the receiver and wrote a Karabiner-Elements rule, filtered to that DJI device, that triggers Wispr Flow's hands-free shortcut. It works, with one caveat: in Bluetooth-only mode the mic exposes no button events. It is open source with a one-line installer.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: I dictate to Claude Code with the button on my collar mic — Claude Code reverse-engineered the mic tReddit poster: chikenhenwyPosted
The maker's post on r/ClaudeAI.
If it disappears: archived copy of Reddit: I dictate to Claude Code with the button on my collar mic — Claude Code reverse-engineered the mic t (opens in a new tab)
- The code: github.comRepository account: caezium
The project on GitHub.