{
  "api_version": "1.0.0",
  "slug": "gamekb-k17-macropad-protocol",
  "url": "https://reversedwithai.com/p/gamekb-k17-macropad-protocol",
  "markdown_url": "https://reversedwithai.com/p/gamekb-k17-macropad-protocol.md",
  "json_url": "https://reversedwithai.com/p/gamekb-k17-macropad-protocol.json",
  "title": "Reverse engineered a $30 macropad's WebHID config protocol with Claude Code and wrote an open tool",
  "tagline": "A cheap macropad configured without the vendor web app.",
  "summary": "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.",
  "target": {
    "name": "GAMEKB-K17 / HCY-K017 macropad (USB 0816:0220)",
    "type": "firmware",
    "type_label": "Firmware and hardware"
  },
  "platform": "USB HID / Windows",
  "models": [
    "Claude"
  ],
  "tools": [
    "Claude Code"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": "yes",
    "independently_verified": null
  },
  "author": {
    "name": "Denis Darkin",
    "url": "https://x.com/dvdarkin"
  },
  "sources": {
    "repository": "https://github.com/dvdarkin/gamekb-k17",
    "writeup": "https://x.com/dvdarkin/status/2110541828097462605",
    "discussions": [],
    "all": [
      "https://github.com/dvdarkin/gamekb-k17",
      "https://x.com/dvdarkin/status/2110541828097462605"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/gamekb-k17-macropad-protocol.webp",
    "credit": "Image: GitHub (dvdarkin/gamekb-k17)"
  },
  "commit_history": {
    "commits": 1,
    "ai_commits": 0,
    "ai_days": 0,
    "first_ai_commit": null,
    "last_ai_commit": null,
    "credited_models": []
  },
  "added_at": "2026-10-15T04:01:08.400435+00:00",
  "updated_at": "2026-10-15T04:01:08.400435+00:00",
  "sources_reviewed_at": "2026-10-15T04:01:08.400435+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "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.\n\n### How it was done\n\nClaude 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.\n\n### Results\n\ngamekb 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.",
  "ai_use_excerpts": null
}
