Fix typos KeyDown => KeysDown

This commit is contained in:
daniel-murray
2018-04-14 00:05:09 +02:00
committed by omar
parent d1c16d4ccd
commit 83d97d4a9b
12 changed files with 16 additions and 16 deletions

View File

@ -593,7 +593,7 @@ bool ImGui_ImplDX10_Init(void* hwnd, ID3D10Device* device)
io.BackendFlags |= ImGuiBackendFlags_HasMouseCursors; // We can honor GetMouseCursor() values
io.BackendFlags |= ImGuiBackendFlags_HasSetMousePos; // We can honor io.WantSetMousePos requests (optional, rarely used)
// Keyboard mapping. ImGui will use those indices to peek into the io.KeyDown[] array that we will update during the application lifetime.
// Keyboard mapping. ImGui will use those indices to peek into the io.KeysDown[] array that we will update during the application lifetime.
io.KeyMap[ImGuiKey_Tab] = VK_TAB;
io.KeyMap[ImGuiKey_LeftArrow] = VK_LEFT;
io.KeyMap[ImGuiKey_RightArrow] = VK_RIGHT;