# 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.

Agent: Codex
Tools: Codex, btvs, Razer Synapse
Category: Hardware
Date: 2026-03-27

Outcome: The author built a macOS application around a reverse engineered BLE specification and added support for a few other Razer mice.

## Steps

1. Capture BLE packets with btvs on Windows.
2. Perform a mouse action with Synapse open.
3. Send the capture to Codex to interpret it and update the spec.
4. Repeat for every mouse button and binding.

Human oversight: The author performed the capture experiments; the post does not describe separate review steps.

Source: [gh123man on Hacker News](https://news.ycombinator.com/item?id=47541717)

Canonical URL: https://agentsinuse.com/use-cases/codex-to-support-a-bluetooth-mouse-on-macos/
