CyberM.input.isCaptured()
Whether another WebUI currently owns keyboard input.
Contextual actions should become inert while this is true so chat and menu typing cannot activate gameplay.
Returns
- boolean
- reason when permission is refused
Registered in ResourceHost.cpp as LuaInputCaptured (line 6758).
CyberM.input.isDown(key)
Whether an allowlisted contextual action key is currently held.
Requires input.actions. Supported keys are A-Z, 0-9, SPACE, ENTER/RETURN, and arrows. Prefer a press edge or hold timer over firing every frame.
Returns
- boolean
- reason when the key or permission is refused
Registered in ResourceHost.cpp as LuaInputKeyDown (line 6757).
For agents and LLMs: this page as Markdown · llms.txt · llms-full.txt