Keybinds allow your users to interact with your overlay via their keyboard.
showMainWindow
or showScoreboardWindow
keys
mode
"toggle"
will trigger the callback when the key is toggled on and off"hold"
will trigger the callback when the key is held downmode
of a keybind, you’ll want to handle all three
events.
pauseKeybindListening
and resumeKeybindListening
functions before and after the user records the
keybind.
This will prevent them from triggering an existing keybind while recording a new one. This is only a
concern for in-game windows, so if you don’t allow users to change keybinds via an in-game window,
you can skip this section.