Remap
Any key does what you say.
Caps Lock sends Escape. Right Alt holds push-to-talk. The Windows key sends nothing. Rebind is free, and each rule is a few lines of Luau.
A keyboard types phrases. Caps Lock is remapped to Escape, Right Alt to F13 for push-to-talk, and the Windows key is swallowed.
The keyboard above, as Luau.
Each rb.bind claims only its own key. Every other key reaches your apps untouched.
Three keys, three rules
Set F13 as the push-to-talk key in your voice app. Left Ctrl + Left Alt + K (Left Control + Left Option + K on macOS) stops every script and releases held keys.
remap.luau
-- rebind: min_sdk=3.9.0 -- rebind: name=Remap -- rebind: version=1.0.0 -- Caps Lock sends Escape rb.bind("CapsLock", function() rb.hid.down("Escape") end, { release = function() rb.hid.up("Escape") end, }) -- hold Right Alt to talk: F13 is the push-to-talk key rb.bind("RAlt", function() rb.hid.down("F13") end, { release = function() rb.hid.up("F13") end, }) -- the Windows key sends nothing rb.bind("LWin")
The factory had opinions. You have scripts.
Install Rebind, run the script above, and press Caps Lock.