A Two-Dollar Shutter Remote Now Runs Voice Prompting

Found something delightfully overengineered in r/PromptEngineering this week: a two-dollar Bluetooth shutter remote now doubles as a hands-free trigger for Google Antigravity’s voice dictation. This Redditor, u/_7xen_on, ran into the classic problem with voice prompting: to use it, you still have to sit at the keyboard and hit Ctrl+M, then hit Enter to submit. That defeats the whole point of leaning back and just talking. It’s the same reason half the voice-to-text tools people try for a week end up abandoned. The interface friction cancels out the convenience.

Here’s the twist. Instead of building custom hardware, this innovator repurposed one of those cheap AB Shutter 3 remotes you already see on Amazon or AliExpress for camera selfies. These things have been floating around since the selfie-stick era, usually bundled with a phone clamp nobody uses anymore. Paired over Bluetooth on Windows, these register as a plain HID keyboard sending “Volume Up” or “Volume Down.” A lightweight Python daemon intercepts that keystroke at the Win32 driver level, before the volume HUD even flashes on screen, and turns a $2 camera clicker into a full mic-and-submit remote.

I’ll admit I didn’t see that coming when I opened the thread. A shutter remote is the last thing I’d expect to see wired into an AI coding agent, and that’s exactly why it’s worth breaking down. Most people would’ve reached for a stream deck or tried to flash custom firmware onto an ESP32. This person looked at a drawer full of forgotten gadgets and found the cheapest possible path to the same result.

Here’s how the creator mapped it:

  • 🖱️ Single click: restores and focuses the Antigravity window (across monitors or virtual desktops) and toggles the built-in mic with Ctrl+M
  • 🖱️ Double click: stops the mic if you’re mid-dictation, waits a fraction of a second for the transcription to settle, then fires Enter (hardware scan code 0x1C) to submit the prompt
  • 🔊 Shift + Click: passes the original volume keystroke straight through, so you can still turn your PC volume up or down like normal

The daemon also plays subtle audio beeps through your speakers, so you know whether you just toggled the mic or submitted a prompt without needing to look at the screen. That little bit of audio feedback is doing more work than it looks like. It means you can pace around your kitchen, dictate a whole prompt, and know exactly when it landed without ever glancing at a laptop screen. It runs on pythonw with no terminal window, sits around 15MB of RAM, and ships with a one-click batch script to add itself to Windows Startup, so it’s just there every time you boot without you having to remember to launch it.

One Redditor in the comments, u/sweet_perusal, called out the obvious risk: does the double-click timing ever misfire and submit early? Fair question for anything using click-count detection as a signal. Debounce logic on physical buttons is notoriously fiddly, and click-count detection means the software has to guess your intent based on timing windows that vary from person to person and even click to click depending on how tired your thumb is. The build doesn’t appear to have a public fix for that edge case yet, so if you’re pacing around the room mid-thought, know that a mistimed double click could send an unfinished prompt straight to the agent before you’re done talking.

Compared to a dedicated stream deck or a $150 macro pad, this is the budget version of the same idea: cheap, disposable hardware plus software that gives it real meaning. If you already have a shutter remote lying around from a phone tripod, you’re one script away from turning it into a prompting remote instead of buying anything new. That’s the actual lesson buried in this build. The hardware was never the hard part. Anyone can buy a $2 remote. The value is entirely in the fifty-odd lines of Python that decide what a click means.

Quick pro tips if you’re setting this up yourself:

  • 💡 Test the double-click timing on a throwaway prompt first, so you know your own click cadence before trusting it on real work. Run a handful of test submissions with prompts you don’t care about losing, and get a feel for how fast you naturally double-click before you rely on it for anything important.
  • 💡 Keep the shift-click passthrough in your back pocket. It’s easy to forget it exists until you actually need to turn your volume down during a call, and rediscovering it mid-meeting beats fumbling for the volume rocker on your keyboard.

The repo, with the full code and setup guide, is up on GitHub under the author’s account, free and open source for anyone to tweak. Worth a look if voice prompting is part of your workflow and you want to stop being chained to your desk. Full setup details and the community discussion are in the original Reddit thread.

Frequently Asked Questions

Q: Does the double-click timing fire Enter too early while transcription is still catching up?

The script includes a built-in delay (fraction of a second, as mentioned in the post) to let transcription settle before firing Enter. If you find it’s submitting too fast, you can tweak the timing constant in the Python code, it’s a single variable change. Most users report it feels natural after one or two test runs.

Q: Will this work with any Bluetooth remote, or only the AB Shutter 3?

Any cheap Bluetooth selfie remote that emits standard Volume Up/Down keystrokes should work. The script is agnostic to the hardware, it just hooks the keystroke at the driver level. If your remote sends different key codes, you’d need to swap those in the config, but it takes 30 seconds.

Q: Can I still adjust my PC volume normally if this is running?

Yes. The Shift + Click passthrough lets you send the original volume keystroke to Windows, so your volume controls work like normal. Without Shift, the keystroke gets suppressed so the volume HUD doesn’t pop up and distract you during dictation.

Q: Why not just use Antigravity’s voice features in the browser directly?

Browser-native voice input ties you to the keyboard for confirmation and usually requires you to stay focused on the tab. This solution lets you pace around, lean back, or work from across the room, genuine hands-free without sprinting back to hit Enter.

Hands-free prompt engineering: mapped a cheap Bluetooth shutter remote to Google Antigravity voice dictation
by u/_7xen_on in PromptEngineering

Scroll to Top