ZeroMem
Hardware & Input Architecture

Hardware Input Bridges: KMBox Net, Ferrum Box, Makcu & RP2040 Architecture

7 min read • HID Emulation & USB Passthrough

Because modern kernel anti-cheat systems monitor software input injection calls (`SendInput` or low-level hooks), external USB microcontrollers are used to send mouse and keyboard inputs at the physical layer. These boards connect directly to the target PC and allow the user to plug in their physical mouse or keyboard. However, their internal architecture differs significantly: some units support full hardware passthrough with inline signal mixing, while others operate as secondary input devices. Firmware transparency and documentation availability also vary widely between solutions.

1. Signal Topologies: Hardware Passthrough vs. Dual-Device Emulation

While all four platforms function as physical USB controllers that accept user peripherals, they handle incoming input reports differently:

Hardware Passthrough with In-Line Report Merging

The physical mouse plugs into the microcontroller's USB Host port. The MCU receives physical input packets, adds synthetic coordinate offsets directly in its internal buffers, and forwards a single composite report to the host PC. The OS detects only one physical mouse, avoiding cursor contention.

Dual-Device Emulation

The board acts as an independent secondary USB mouse or keyboard alongside the primary peripheral. If the user moves their physical mouse while synthetic input packets arrive concurrently, the OS receives conflicting vectors from two distinct devices in the same polling cycle.

2. Device Profiles: Features, Firmware & Detection Vectors

KMBox Net

Keyboard & Mouse Closed-Source $20 – $35

KMBox Net features onboard USB Host ports (Mouse-In and Keyboard-In), an RJ45 Ethernet controller (W5500 or ESP32-Ethernet), and a USB Device output to the gaming machine. A second computer sends movement commands across a local network over UDP.

Technical Specifications:

  • Input Coverage: Supports concurrent keyboard and mouse emulation, with physical input ports for passthrough.
  • Firmware & Documentation: Closed-source. Firmware is distributed as encrypted binary blobs. Official English documentation is minimal; integration relies on community network wrappers.
  • Detection Vectors: Default factory VID/PID strings are blacklisted on multiple anti-cheat systems. Safe use requires flashing custom vendor IDs and device strings.

Ferrum Box

Keyboard & Mouse Documented Protocol $120 – $200

Ferrum Box is a high-speed hardware passthrough unit designed for up to 8000Hz (8K) polling rates. It sits between the user's peripherals and the target PC, mirroring hardware descriptors so that peripheral software (such as Logitech G HUB or Razer Synapse) remains functional.

Technical Specifications:

  • Input Coverage: Keyboard and mouse passthrough at up to 8000Hz polling rates without input lag or packet drops.
  • Firmware & Documentation: Core firmware is commercial, but the command protocol is documented and supported by open-source implementations (e.g., Hurra).
  • Detection Vectors: 1:1 descriptor mirroring leaves no secondary device signature on the host operating system. Cost is significantly higher than other options.

Makcu (Medius Firmware)

Mouse Only Open-Source $7 – $15

Makcu hardware running Medius firmware is dedicated to mouse signal passthrough. Built around low-cost microcontrollers (such as ESP32-S3 or RP2040 with USB Host), it clones the connected mouse's descriptors and merges synthetic delta movements into the hardware packet stream.

Technical Specifications:

  • Input Coverage: Mouse only. Specialized for hardware mouse packet interception and 1000Hz polling.
  • Firmware & Documentation: Fully open-source on GitHub with comprehensive technical documentation covering descriptor cloning, report mapping, and trajectory smoothing.
  • Detection Vectors: Clean hardware descriptor matching. Risk is limited to behavioral trajectory patterns if motion smoothing is poorly tuned.

Custom Microcontroller Bridges (RP2040, Arduino Leonardo)

Configurable Open-Source $2 – $6

DIY builds using Raspberry Pi Pico (RP2040) or ATmega32U4 boards. Basic setups operate as standalone HID emulators, while advanced setups with PIO-USB or external USB Host controllers can achieve passthrough.

Technical Specifications:

  • Input Coverage: Configurable in C/C++ for mouse, keyboard, or composite HID reports.
  • Firmware & Documentation: Extensive open-source documentation via the Raspberry Pi Pico SDK and TinyUSB library.
  • Detection Vectors: Stock descriptors and generic USB vendor strings are easily identified by anti-cheats. Custom descriptor crafting is required.

3. Technical Comparison Matrix

Overview of inputs, passthrough capabilities, firmware openness, and pricing across all four hardware solutions:

Metric KMBox Net Ferrum Box Makcu (Medius) RP2040 / MCU
Supported Inputs Keyboard + Mouse Keyboard + Mouse Mouse Only Configurable
Hardware Passthrough Yes (Mouse & Key In) Yes (8000Hz Passthrough) Yes (USB Host In-Line) Optional (via PIO-USB)
Firmware Source Closed-Source Documented Protocol Open-Source (GitHub) Open-Source (TinyUSB)
Documentation Minimal Moderate Extensive Extensive
Max Polling Rate 1000Hz 8000Hz 1000Hz 1000Hz
Detection Surface Moderate (Requires Custom VID/PID) Low (Clean Hardware Mirror) Low (Single Cloned Device) Variable (Descriptor Dependent)
Estimated Hardware Cost $20 – $35 $120 – $200 $7 – $15 $2 – $6

4. Engineering Summary

Firmware Transparency Matters: Closed-source devices like KMBox Net mean users cannot audit or modify device descriptors. When an anti-cheat engine blacklists a firmware revision, users must wait for vendor updates. With open-source platforms like Makcu or RP2040, developers can change descriptor tables, VID/PID strings, and polling parameters directly.

Selecting by Input Scope: For mouse-only assistance, Makcu running Medius firmware provides in-line passthrough and complete source access at low cost. For dual keyboard and mouse setups, KMBox Net provides ready-made network input ingestion, while Ferrum Box serves setups requiring 8000Hz peripheral passthrough.

ZeroMem Architecture: ZeroMem interacts with these hardware controllers over their standard network (UDP) or serial protocols. By combining zero-memory visual processing with physical-tier hardware output, the software avoids operating system injection hooks entirely.

Technical Discussion & Firmware Configuration

Join developers and engineers on Discord to discuss microcontroller firmware, custom USB descriptors, and input telemetry.