From 475146aa8f3d76b736d7e2ba89edb2ac2aca2a0f Mon Sep 17 00:00:00 2001 From: mrmav Date: Sat, 20 Jun 2020 13:37:56 +0100 Subject: [PATCH] added space input to XNA sample --- src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs index 04c121e..829b83b 100644 --- a/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs +++ b/src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs @@ -158,6 +158,7 @@ namespace ImGuiNET.SampleProgram.XNA _keys.Add(io.KeyMap[(int)ImGuiKey.Backspace] = (int)Keys.Back); _keys.Add(io.KeyMap[(int)ImGuiKey.Enter] = (int)Keys.Enter); _keys.Add(io.KeyMap[(int)ImGuiKey.Escape] = (int)Keys.Escape); + _keys.Add(io.KeyMap[(int)ImGuiKey.Space] = (int)Keys.Space); _keys.Add(io.KeyMap[(int)ImGuiKey.A] = (int)Keys.A); _keys.Add(io.KeyMap[(int)ImGuiKey.C] = (int)Keys.C); _keys.Add(io.KeyMap[(int)ImGuiKey.V] = (int)Keys.V);