<!-- Canonical page: https://reversedwithai.com/p/gamekb-k17-macropad-protocol -->
Canonical page: https://reversedwithai.com/p/gamekb-k17-macropad-protocol

# Reverse engineered a $30 macropad's WebHID config protocol with Claude Code and wrote an open tool

> A cheap macropad configured without the vendor web app.

Denis Darkin had Claude Code work out the configuration protocol of the GAMEKB-K17 macropad from its vendor web app, then built an open command-line tool and editor that writes key maps, macros and colours.

## Key facts

- Target: GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220)
- Category: Firmware and hardware
- Platform: USB HID / Windows
- Models: Claude
- Tools: Claude Code
- Outcome: Works
- Checks: Source available: yes; Repro steps: yes; Real hardware: yes; Verified by others: not reported
- Author: [Denis Darkin](https://x.com/dvdarkin)
- Added: 2026-10-15
- Updated: 2026-10-15
- Sources reviewed: 2026-10-15 (editor)

## What was done

Denis Darkin bought a roughly 30 USD macropad that can only be configured through the maker's WebHID web page. The author used Claude Code to reverse engineer the configuration protocol from that web app, and published the protocol spec and a tool called gamekb under the MIT licence.

### How it was done

Claude worked from the vendor web configurator to find the commands it sends over USB. The author says every command was verified on the hardware, and the tool only sends commands that were. The tool compares the pad with a layout file, sends only the differences, reads everything back to check, and exits.

### Results

gamekb is a command-line tool plus a small desktop editor. It writes key remaps, firmware macros and per-key RGB straight to the pad, so no software runs afterward. The author uses it for a Claude Code layout with keys for slash commands. It was tested on Windows only, Linux needs a udev rule, and it is not affiliated with the pad maker.

## What the commit history shows

None of the 1 commits in the public repository credits an AI. Many tools add no credit, so this does not show the AI was not used.

Measured by this site from public git history.

## Questions about GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220)

### What is the GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220) project?

Denis Darkin had Claude Code work out the configuration protocol of the GAMEKB-K17 macropad from its vendor web app, then built an open command-line tool and editor that writes key maps, macros and colours. It is listed under Firmware and hardware for USB HID / Windows.

### Which AI model was used on GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220)?

The entry names Claude. The tools named alongside are Claude Code.

### Did the AI reverse engineering of GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220) work?

Its author reports that it works. Checks recorded: source available yes, repro steps yes, real hardware yes.

### Is the source code for GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220) available?

Yes. The code, patches or tooling are public: https://github.com/dvdarkin/gamekb-k17. The sources give enough steps to reproduce it.

## Sources

- [Repository](https://github.com/dvdarkin/gamekb-k17)
- [Write-up](https://x.com/dvdarkin/status/2110541828097462605)

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: Denis Darkin (2026). Reverse engineered a $30 macropad's WebHID config protocol with Claude Code and wrote an open tool. Reversed with AI. https://reversedwithai.com/p/gamekb-k17-macropad-protocol
