mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
This commit is contained in:
parent
d1f726cd9d
commit
60d5dc7902
@ -214,7 +214,7 @@ bool ImGui_ImplSdlGL2_Init(SDL_Window* window)
|
|||||||
io.KeyMap[ImGuiKey_PageDown] = SDL_SCANCODE_PAGEDOWN;
|
io.KeyMap[ImGuiKey_PageDown] = SDL_SCANCODE_PAGEDOWN;
|
||||||
io.KeyMap[ImGuiKey_Home] = SDL_SCANCODE_HOME;
|
io.KeyMap[ImGuiKey_Home] = SDL_SCANCODE_HOME;
|
||||||
io.KeyMap[ImGuiKey_End] = SDL_SCANCODE_END;
|
io.KeyMap[ImGuiKey_End] = SDL_SCANCODE_END;
|
||||||
io.KeyMap[ImGuiKey_Insert] = SDLK_INSERT;
|
io.KeyMap[ImGuiKey_Insert] = SDL_SCANCODE_INSERT;
|
||||||
io.KeyMap[ImGuiKey_Delete] = SDLK_DELETE;
|
io.KeyMap[ImGuiKey_Delete] = SDLK_DELETE;
|
||||||
io.KeyMap[ImGuiKey_Backspace] = SDLK_BACKSPACE;
|
io.KeyMap[ImGuiKey_Backspace] = SDLK_BACKSPACE;
|
||||||
io.KeyMap[ImGuiKey_Enter] = SDLK_RETURN;
|
io.KeyMap[ImGuiKey_Enter] = SDLK_RETURN;
|
||||||
|
@ -325,7 +325,7 @@ bool ImGui_ImplSdlGL3_Init(SDL_Window* window)
|
|||||||
io.KeyMap[ImGuiKey_PageDown] = SDL_SCANCODE_PAGEDOWN;
|
io.KeyMap[ImGuiKey_PageDown] = SDL_SCANCODE_PAGEDOWN;
|
||||||
io.KeyMap[ImGuiKey_Home] = SDL_SCANCODE_HOME;
|
io.KeyMap[ImGuiKey_Home] = SDL_SCANCODE_HOME;
|
||||||
io.KeyMap[ImGuiKey_End] = SDL_SCANCODE_END;
|
io.KeyMap[ImGuiKey_End] = SDL_SCANCODE_END;
|
||||||
io.KeyMap[ImGuiKey_Insert] = SDLK_INSERT;
|
io.KeyMap[ImGuiKey_Insert] = SDL_SCANCODE_INSERT;
|
||||||
io.KeyMap[ImGuiKey_Delete] = SDLK_DELETE;
|
io.KeyMap[ImGuiKey_Delete] = SDLK_DELETE;
|
||||||
io.KeyMap[ImGuiKey_Backspace] = SDLK_BACKSPACE;
|
io.KeyMap[ImGuiKey_Backspace] = SDLK_BACKSPACE;
|
||||||
io.KeyMap[ImGuiKey_Enter] = SDLK_RETURN;
|
io.KeyMap[ImGuiKey_Enter] = SDLK_RETURN;
|
||||||
|
Loading…
Reference in New Issue
Block a user