Imgui now recognizes numpad enter key presses
This commit is contained in:
parent
cbc0c6ccd0
commit
954538fdf0
@ -1189,6 +1189,7 @@ void ImGuiWrapper::init_input()
|
|||||||
io.KeyMap[ImGuiKey_Backspace] = WXK_BACK;
|
io.KeyMap[ImGuiKey_Backspace] = WXK_BACK;
|
||||||
io.KeyMap[ImGuiKey_Space] = WXK_SPACE;
|
io.KeyMap[ImGuiKey_Space] = WXK_SPACE;
|
||||||
io.KeyMap[ImGuiKey_Enter] = WXK_RETURN;
|
io.KeyMap[ImGuiKey_Enter] = WXK_RETURN;
|
||||||
|
io.KeyMap[ImGuiKey_KeyPadEnter] = WXK_NUMPAD_ENTER;
|
||||||
io.KeyMap[ImGuiKey_Escape] = WXK_ESCAPE;
|
io.KeyMap[ImGuiKey_Escape] = WXK_ESCAPE;
|
||||||
io.KeyMap[ImGuiKey_A] = 'A';
|
io.KeyMap[ImGuiKey_A] = 'A';
|
||||||
io.KeyMap[ImGuiKey_C] = 'C';
|
io.KeyMap[ImGuiKey_C] = 'C';
|
||||||
|
Loading…
Reference in New Issue
Block a user