Skip to content

ZeroTrace HID

Disable Caps Lock

Auto-clear Caps Lock before a script runs

The disable_capslock config key (default true) makes the firmware check the host's Caps Lock state before every script run and clear it if it is on.

disable_capslock = true      # default — clear caps lock before each run
disable_capslock = false     # leave the host's caps lock untouched

Why it exists

It prevents the most common silent payload failure: a script that types whoami ends up sending WHOAMI because the host had Caps Lock on, breaking case-sensitive commands and password fields.

The check reads the standard HID lock-state report the host sends back to the device, so it works on every supported OS. If you specifically need Caps Lock left as-is — for example a payload that toggles it deliberately — set the key to false.

Command Palette

Search for a command to run...