Skip to content

HOTKEY_TYPE

source

NameValueDescription
HOTKEY_TYPE.GLOBAL1

Enabled even when the game window is inactive and will capture keys even from other programs.

HOTKEY_TYPE.INPUT2

Enabled even when inputting text and will override normal text input keys.

HOTKEY_TYPE.NORMAL0

Suppressed when the game window is inactive or inputting text in this tool instance (get_io().wantkeyboard == true). Can't detect if OL is in a text input and script is running in PL though. Use ImGuiIO if you need to do that.