Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkeys and cross tool input fixes #375

Merged
merged 10 commits into from
Mar 7, 2024
Merged

Hotkeys and cross tool input fixes #375

merged 10 commits into from
Mar 7, 2024

Conversation

Dregu
Copy link
Collaborator

@Dregu Dregu commented Mar 2, 2024

  • Fixed most of the issues with OL and PL inputs clashing and doing stuff in both. OL now ignores keyboard / mouse input when PL is typing / hovering UI
  • Also fixed ImGuiIO.wantkeyboard to disable input in the other tool
  • Added set_hotkey(fun(chord), KEY chord, HOTKEY_TYPE flags) to hook keys though global windows hotkeys, which should once and for all skip all game input and other UI input
  • Added GuiDrawContext:key_picker(string message, KEY_TYPE flags) to capture any key easily
  • Added some more input functions and documentation to ImGuiIO

@Dregu Dregu merged commit fe5202a into main Mar 7, 2024
10 checks passed
@Dregu Dregu deleted the Keys branch March 7, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant