<!-- Canonical page: https://reversedwithai.com/p/freemicro-codex-keypad -->
Canonical page: https://reversedwithai.com/p/freemicro-codex-keypad

# FreeMicro: repurposed OpenAI's Codex Micro keypad for Claude Code

> OpenAI's Codex keypad, repurposed to drive Claude Code.

Claude Code decoded the keypad's vendor HID channel for keys and LEDs, producing an MIT-licensed macOS driver with Claude Code hooks.

## Key facts

- Target: OpenAI Codex Micro keypad
- Category: Firmware and hardware
- Platform: USB HID / macOS
- Models: Claude
- Tools: Claude Code
- Outcome: Works
- License: MIT
- Checks: Source available: yes; Repro steps: yes; Real hardware: yes; Verified by others: not reported
- Author: [Eli Benveniste](https://github.com/eliBenven)
- Added: 2026-10-13
- Updated: 2026-10-13
- Sources reviewed: 2026-10-13 (editor)

## What was done

Eli Benveniste used Claude Code to reverse engineer OpenAI's Codex Micro keypad, whose keys and lights only work with the ChatGPT desktop app. The result is FreeMicro, an MIT-licensed macOS driver that turns the six agent keys into status lights for Claude Code projects. It also publishes the first public write-up of the keypad's vendor HID protocol.

The keypad shows up as a vendor HID device (VID 0x303A, PID 0x8360). Its keys send no standard scancodes, and its data rides on HID usage page 0xFF00, which standard hidapi libraries cannot see. Benveniste and Claude Code dropped down to IOKit on macOS to read raw reports. Key presses decoded quickly. The lights took more captures, and two LED protocols emerged: one for the agent-key status lights and one for the underglow and backlight. Synthetic keystrokes go back to the foreground app through CGEvent. Claude Code hooks feed a state engine with one state per project directory, which drives the LEDs: blue for working, amber for waiting on the user, green for done.

FreeMicro is on PyPI as version 0.4.0. It is macOS only, works over USB and Bluetooth, and adds features the vendor app lacks: per-app profiles, layers, LED themes, and a split mode that lets Codex and Claude Code share the pad. Everything was verified on one unit running firmware v0.4.1, and a firmware update could break it.

## What the commit history shows

5 of 47 commits in the public repository credit an AI, over 1 day between 2026-07-23 and 2026-07-23. Credited: Claude Opus 4.8 (5), Claude (version not given) (5).

Measured by this site from public git history.

## Sources

- [Repository](https://github.com/eliBenven/freemicro)
- [Write-up](https://www.ventechdigital.com/blog/reverse-engineering-the-codex-micro-for-claude-code)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Eli Benveniste (2026). FreeMicro: repurposed OpenAI's Codex Micro keypad for Claude Code. Reversed with AI. https://reversedwithai.com/p/freemicro-codex-keypad
