3#include <ArcdpsUnofficialExtras/KeyBindsTranslation.h>
29 bool KeyCodeInputWndHandle(HWND pWindowHandle, UINT pMessage, WPARAM pAdditionalW, LPARAM pAdditionalL);
39 bool KeyCodeInput(
const char* pLabel, KeyBinds::Key& pKeyContainer, Language pLanguage, HKL pHkl,
KeyCodeInputFlags pFlags = 0, KeyBinds::Modifier pFixedModifier = 0);
Definition KeyInput.cpp:46
bool KeyCodeInputWndHandle(HWND pWindowHandle, UINT pMessage, WPARAM pAdditionalW, LPARAM pAdditionalL)
Has to be called in mod_wnd or your specific window handler. This function only has to be called once...
Definition KeyInput.cpp:55
int32_t KeyCodeInputFlags
Definition KeyInput.h:19
void OpenKeyCodePopupState(const KeyBinds::Key &pKeyContainer, KeyCodeInputFlags pFlags, KeyBinds::Modifier pFixedModifier)
Definition KeyInput.cpp:158
void RestartKeyCodePopupState()
Definition KeyInput.cpp:170
KeyCodeInputFlags_
Definition KeyInput.h:13
@ KeyCodeInputFlags_NoMouse
Definition KeyInput.h:15
@ KeyCodeInputFlags_OnlyGW2Keys
Definition KeyInput.h:16
@ KeyCodeInputFlags_FixedModifier
Definition KeyInput.h:17
@ KeyCodeInputFlags_NoModifier
Definition KeyInput.h:14
bool KeyCodeInput(const char *pLabel, KeyBinds::Key &pKeyContainer, Language pLanguage, HKL pHkl, KeyCodeInputFlags pFlags, KeyBinds::Modifier pFixedModifier)
Show a keybind on a button. On pressing that button a popup is opened and all keyevents are used to f...
Definition KeyInput.cpp:182
void KeyCodeInputActiveFrame()
Definition KeyInput.cpp:174
void CloseKeyCodePopupState()
Definition KeyInput.cpp:166
const KeyBinds::Key & GetKeyCodeInputKeyState()
Definition KeyInput.cpp:178