Skip to content

Commit

Permalink
imgui enter key remap fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andras-v committed Nov 2, 2022
1 parent 04801e6 commit 4e955b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/napimgui/src/imguiservice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ namespace nap
io.KeyMap[ImGuiKey_End] = (int)EKeyCode::KEY_END;
io.KeyMap[ImGuiKey_Delete] = (int)EKeyCode::KEY_DELETE;
io.KeyMap[ImGuiKey_Backspace] = (int)EKeyCode::KEY_BACKSPACE;
io.KeyMap[ImGuiKey_Enter] = (int)EKeyCode::KEY_KP_ENTER;
io.KeyMap[ImGuiKey_Enter] = (int)EKeyCode::KEY_RETURN;
io.KeyMap[ImGuiKey_Escape] = (int)EKeyCode::KEY_ESCAPE;
io.KeyMap[ImGuiKey_Space] = (int)EKeyCode::KEY_SPACE;
io.KeyMap[ImGuiKey_A] = (int)EKeyCode::KEY_a;
Expand Down

0 comments on commit 4e955b0

Please sign in to comment.