Dev turns a $2 Bluetooth selfie remote into a push-to-talk button for AI coding agents

_7xen_on · reddit · 2026-09-19

A developer built a physical push-to-talk clicker for AI coding agents like Google Antigravity, mapping a $2 AB Shutter 3 Bluetooth selfie remote on Windows via a low-level keyboard hook (WHKEYBOARDLL). First click restores the IDE window (AttachThreadInput + SetForegroundWindow) and sends Ctrl+M to engage native dictation; second click kills the mic, waits an 80ms buffer, and dispatches hardware scan code 0x1C (Enter) to submit the prompt. It also suppresses the Windows volume OSD, runs locally with negligible CPU, includes a CLI calibration runner, and is open-sourced under MIT.

Related event: $2 Bluetooth Selfie Remote Hacked into AI Coding Push-to-Talk Button(2 posts)→

Original post →

More from coding & agent

coding & agent channel →