HOTKEY_TYPE
| Name | Value | Description |
|---|---|---|
HOTKEY_TYPE.GLOBAL | 1 | Enabled even when the game window is inactive and will capture keys even from other programs. |
HOTKEY_TYPE.INPUT | 2 | Enabled even when inputting text and will override normal text input keys. |
HOTKEY_TYPE.NORMAL | 0 | 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. |