Backends: SDL: Fixed key mapping for ImGuiKey_Menu (#4921) + misc typos (#4928)

This commit is contained in:
ocornut
2022-01-24 12:10:40 +01:00
parent dd6a44abb1
commit cda3db1449
2 changed files with 3 additions and 3 deletions

View File

@ -171,7 +171,7 @@ static ImGuiKey ImGui_ImplSDL2_KeycodeToImGuiKey(int keycode)
case SDLK_RSHIFT: return ImGuiKey_RightShift;
case SDLK_RALT: return ImGuiKey_RightAlt;
case SDLK_RGUI: return ImGuiKey_RightSuper;
case SDLK_MENU: return ImGuiKey_Menu;
case SDLK_APPLICATION: return ImGuiKey_Menu;
case SDLK_0: return ImGuiKey_0;
case SDLK_1: return ImGuiKey_1;
case SDLK_2: return ImGuiKey_2;