ZeroTrace HID
HID
The ZeroTrace HID scripting reference — keyboard, mouse, gamepad, and utility commands
The HID command set is the core of a ZeroTrace payload: type text, move the pointer, emulate a gamepad, and control the device itself. Pick a section below for the full reference.
Command reference
- Keyboard — type text, press keys and combos, media and system keys, layouts, and timing.
- Mouse — relative cursor movement, clicks, drags, scrolling, and automated motion patterns.
- Gamepad — buttons, sticks, triggers, the D‑pad, and input patterns.
- Utilities — timing, flow control, variables, LED, storage, and device/system commands.
How arguments work everywhere
Across every HID command, arguments are expanded before dispatch — so ${var}$ and operators like _$random(...) work in any argument. Argument counts are matched exactly: a command with the wrong number of arguments is silently skipped.
Transport differences
Keyboard commands are sent over both USB‑HID and BLE‑HID. Mouse and gamepad commands are USB‑HID only.