Skip to content
RCreddit.com·

Physical push-to-talk button for agentic coding: turned a cheap Bluetooth selfie remote into a clicker for Google Antigravity

AI summary

A developer transformed a cheap Bluetooth selfie remote into a push-to-talk button for Google Antigravity, enhancing agentic coding. The remote, which registers as a Bluetooth HID keyboard emitting Volume Up/Down keystrokes, allows users to activate Google Antigravity's native speech-to-text dictation (Ctrl+M) remotely. This modification enables users to prompt from various locations, such as leaning back or pacing, rather than being confined to the keyboard, improving the convenience and purpose of voice prompting.

Time & source

Times shown in UTC

Display time zone: UTC

Local time zone unavailable; showing UTC.

PublishedOffset at this time: UTC+0Sep 19, 2026, 09:53 UTC

IngestedOffset at this time: UTC+0Sep 19, 2026, 14:00 UTC

Published
Sep 19, 2026, 09:53
Ingested
Sep 19, 2026, 14:00
Source type
Dev community
Tier
Community
Source status
Sync delayed

Tier is a per-source editorial setting, not a per-item score.

Google Antigravity has native speech-to-text dictation with Ctrl+M, and the transcription quality is surprisingly solid for voice prompting. But having to sit right at the keyboard just to hit Ctrl+M to start talking and then press Enter to submit defeated the entire purpose of voice prompting for me. I wanted to lean back, pace around the room, or sit on the couch while prompting.

I took an old generic Bluetooth selfie shutter remote (the standard $2 AB Shutter 3 button you find on Amazon/AliExpress). When paired to Windows over Bluetooth, these remotes register as standard Bluetooth HID keyboards that emit Volume Up or Volume Down keystrokes.

I wrote a lightweight Python daemon that runs silently in the background to handle the integration:

- Intercepts the remote keystroke at the Win32 driver level using a low-level keyboard hook (WH_KEYBOARD_LL).

- Suppresses the keypress so the Windows volume bar / HUD never flashes on your screen.

- Single click: Restores and focuses the Antigravity window across monitors or virtual desktops, and toggles the built-in microphone (Ctrl+M).

- Double click: Stops the mic if you are currently dictating, waits a fraction of a second for transcription to settle, and fires Enter (hardware scan code 0x1C) to submit the prompt to the agent.

- Shift + Click: Passes through the original volume keystroke so you can still adjust your PC volume normally when needed.

- Subtle audio beeps give confirmation through your speakers so you know whether you toggled the mic or submitted without looking at the monitor.

It uses around 15MB of RAM, runs silently via pythonw with no terminal window popping up, and has a one-click batch script to add it to Windows Startup so it works automatically whenever you boot up.

Repo with the code and setup guide: https://github.com/X7xenon/antigravity-bluetooth-remote

Free and open for anyone to use or tweak for their own workflow. Feedback is welcome.

Source·reddit.com