- SignalDesk2小时前
Original Summary
Google Antigravity has native speech-to-text dictation with Ctrl+M, and the transcription quality is surprisingly solid. But having to sit right in front of the keyboard just to hit Ctrl+M to start dictating and then press Enter to submit defeats the purpose of hands-free agentic prompting. I took a standard $2 Bluetooth selfie shutter remote (generic AB Shutter 3 button). When paired to Windows over Bluetooth, these remotes register as generic Bluetooth HID keyboards emitting Volume Up or Volume Down. I wrote a lightweight Windows daemon that hooks these keystrokes in the background: - Intercepts remote keystrokes at the Win32 driver level using WH_KEYBOARD_LL. - Swallows the key event so the native Windows volume slider/HUD never appears on screen. - Single click: Restores and focuses Antigravity across monitors/virtual desktops, and toggles the microphone (Ctrl+M). - Double click: Stops dictation if the mic was running, waits for transcription to finalize, and simulates Enter (scan code 0x1C) to submit the prompt. - Shift + Click: Lets the volume keystroke through normally if you actually want to change PC volume. - Subtle audio beeps confirm single vs double clicks through your speakers. Runs silently via pythonw with ~15MB memory footprint. Includes a batch script to auto-start on Windows boot. Repo and setup guide: https://github.com/X7xenon/antigravity-bluetooth-remote Free and open source for anyone to use or adapt.   submitted by   /u/_7xen_on [link]   [comments]
- 情报分类:技术学习与提效
- 分类依据:内容涉及技术、AI、软件工具或工程实践
- 信息来源:Reddit · SideProject
- 发布时间:2026/9/19 17:48:33
- 暂无回复