3#include <ArcdpsUnofficialExtras/KeyBindStructs.h>
4#include <ArcdpsUnofficialExtras/Definitions.h>
32 bool KeyCodeInputWndHandle(HWND pWindowHandle, UINT pMessage, WPARAM pAdditionalW, LPARAM pAdditionalL);
42 bool KeyCodeInput(
const char* pLabel, KeyBinds::Key& pKeyContainer, Language pLanguage, HKL pHkl,
KeyCodeInputFlags pFlags = 0, KeyBinds::Modifier pFixedModifier = 0);
Definition KeyInput.cpp:55
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:64
int32_t KeyCodeInputFlags
Definition KeyInput.h:22
void OpenKeyCodePopupState(const KeyBinds::Key &pKeyContainer, KeyCodeInputFlags pFlags, KeyBinds::Modifier pFixedModifier)
Definition KeyInput.cpp:167
void RestartKeyCodePopupState()
Definition KeyInput.cpp:179
KeyCodeInputFlags_
Definition KeyInput.h:16
@ KeyCodeInputFlags_NoMouse
Definition KeyInput.h:18
@ KeyCodeInputFlags_OnlyGW2Keys
Definition KeyInput.h:19
@ KeyCodeInputFlags_FixedModifier
Definition KeyInput.h:20
@ KeyCodeInputFlags_NoModifier
Definition KeyInput.h:17
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:191
void KeyCodeInputActiveFrame()
Definition KeyInput.cpp:183
void CloseKeyCodePopupState()
Definition KeyInput.cpp:175
const KeyBinds::Key & GetKeyCodeInputKeyState()
Definition KeyInput.cpp:187