← Independent projects

I liked the keyboard. I just wanted it to behave properly on my Mac. That turned out to be an interesting rabbit hole.

EngineeringIndependent build

Cherry Keys for Mac

Turning a hardware compatibility problem into a native Mac product through requirements definition, AI-assisted development and physical acceptance testing.

The problem

I bought a CHERRY KW X ULP because I wanted genuine mechanical switches in an ultra-thin keyboard. Standard typing worked on my Mac, but the manufacturer’s Windows-only configuration software left a gap: I could use the hardware without making it work the way I wanted.

The product need was straightforward: make the keyboard customisable on macOS. Turning it into requirements took technical investigation. Some shortcuts produced compound inputs, while receiver, Bluetooth and USB connections exposed different identities and input layouts. I needed a solution design that accounted for those differences and acceptance checks grounded in the physical keyboard.

My role & ownership

I originated the project and owned the requirements, investigation, architectural decisions, debugging priorities, hardware acceptance, documentation, and open-source publication. I used Reverse Engineer Anything (REA) to investigate the manufacturer’s compiled Windows software and OpenAI Codex for technical exploration, code generation, implementation, and debugging.

That was AI-assisted engineering, not wholly hand-coded authorship. I supplied the physical observations, set the constraints, and decided whether the result actually solved the problem. AI helped me work in an unfamiliar systems domain; it did not remove the need to understand the boundaries or test the keyboard.

What I built

Cherry Keys for Mac is a native Swift and SwiftUI application for host-side keyboard customisation. It supports modifier remapping, independent preset and Fn-layer assignments, shortcuts, text snippets, recorded macros, and Mac actions such as Spotlight, screenshots, and media controls. Manually selected profiles can be imported and exported, and the app can stay in the menu bar.

Low-poly conceptual keyboard illustration: a Command key and a thin remapping layer represent bringing Mac customisation to an ultra-thin keyboard.
Conceptual illustration · no operational data or product screenshots

The application captures supported CHERRY input before macOS merges keyboards, applies the selected profile, and sends replacement events. Other keyboards retain their normal input path. This is software running on the Mac, not modified firmware or settings permanently written to the keyboard.

Challenges & decisions

Choosing the interception boundary was central. Host-side HID capture let me preserve device identity and translate inputs without requiring Windows software, a virtual machine, or a custom kernel driver. Transport-aware filtering mattered because a receiver connection and a Bluetooth connection were not interchangeable views of the same input layout.

Privilege separation was another deliberate boundary. The user application owns profiles and executes actions. An approved root broker authenticates the application and launches a bounded capture process, whose responsibilities are restricted to supported input interfaces and standard lock LEDs. Privileged components do not execute arbitrary profile commands. These controls address concrete risks; they are not a claim of independent security certification.

Reliability also meant handling interruptions rather than only the happy path. The app starts paused, preserves enabled intent through temporary sleep or lock interruptions, and respects an explicit pause. Protected password entry returns to native keyboard behaviour. Cancelled macros are not replayed after waking.

Outcomes & lessons

  • A native macOS application for CHERRY keyboard remapping, macros, and Mac actions.
  • Tested with the KW X ULP across four connection modes.
  • Public source available under the MIT licence.

I released the utility as an MIT-licensed open-source preview. The documented physical checks cover four connection modes on one KW X ULP and one Apple silicon Mac. Core four-mode acceptance was recorded on v0.4.3; sleep and lock recovery on v0.4.4. The later v0.4.5 preset/Fn separation and Calculator changes were physically checked over the F1 receiver, with the other connections awaiting that specific recheck. Browser Home remained unverified.

The project demonstrates how I use AI-assisted development for product innovation: define the user need, investigate constraints, choose an implementation boundary and test the result against physical observations. The supported scope remains a locally signed development preview with the device and version limits above. Full Windows-software parity, external adoption and universal CHERRY compatibility are not established.

This is independent community software, not affiliated with or endorsed by CHERRY. Explore the source and documentation for current installation requirements, permissions, and limitations.

Tools & methods

SwiftSwiftUImacOS
Contact

Let’s make
AI useful.

For digital product and applied AI roles, collaborations, or a good problem worth exploring.

Get in touch