How to use Codex to support a Bluetooth mouse on macOS
The author built a macOS application around a reverse engineered BLE specification and added support for a few other Razer mice.
Prompt to try
Editorial adaptation, not the source author’s exact prompt. Replace bracketed inputs and review tool permissions first.
Help investigate [Bluetooth mouse] for [target platform]. Interpret [BLE capture] collected with [capture tool] while performing [mouse action]. Explain the observed messages and update [protocol specification]. Repeat for supplied button and binding captures, then build an app around the supported behavior.
Reach people exploring AI agents
See placements →What happened
The author built a macOS application around a reverse engineered BLE specification and added support for a few other Razer mice.
Reported by gh123man on Hacker NewsHow the agent did it
- Capture BLE packets with btvs on Windows.
- Perform a mouse action with Synapse open.
- Send the capture to Codex to interpret it and update the spec.
Where a person stepped in
The author performed the capture experiments; the post does not describe separate review steps.
A person approved each step before the agent continued.
The author bought a Razer Basilisk V3 X HyperSpeed as a Bluetooth mouse for a Mac, then discovered that Razer did not offer software support for it. Instead of returning the mouse, they used coding agents, mostly Codex, to reverse engineer its BLE specification and build an application around that work. They also added support for a few other Razer mice.
The investigation depended on capturing observable behavior. On Windows, the author captured BLE packets with btvs, performed a mouse action while Synapse was open, and sent the capture to Codex. Codex helped determine what had happened and update the specification. The author repeated this process for every mouse button and binding until they had the full picture. They also pointed readers to documentation describing the process and results.
The author said they had essentially no reverse engineering experience and probably would not have attempted the project without an agent. The post describes the resulting application and expanded device support, but gives no separate review procedure. Who it's for: Mac users and developers interested in investigating unsupported peripherals through captured device traffic.
Prompt
Suggested prompt (written by Agents In Use, not the author's)
Source: Hacker News · gh123man
Frequently asked questions
How did the author collect protocol evidence?
They captured BLE packets with btvs on Windows and performed mouse actions with Synapse open before sending captures to Codex.
Did the author have reverse engineering experience?
The author reported essentially no reverse engineering experience and said they likely would not have attempted the project without a coding agent.
More details
Remaining steps
- Repeat for every mouse button and binding.
About this account
Codex interpreted supplied BLE captures and helped update the specification and build an app.
Platform: Hacker News. Attribution: https://news.ycombinator.com/item?id=47541717. Prompt: Suggested (written by Agents In Use, not the author's). Sourced by the Agents In Use pipeline.
Credit: gh123man on Hacker News
Source published 27 Mar 2026
Source checked 14 Oct 2026
Tools and topics
Codex · btvs · Razer Synapse
Bluetooth · macOS · Reverse engineering
Editorial completeness: 100/100. Measures documented fields, not agent performance or verified outcomes.