Skip to content

Commit 475146a

Browse files
mrmavmellinoe
authored andcommitted
added space input to XNA sample
1 parent 8a9c83f commit 475146a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImGui.NET.SampleProgram.XNA/ImGuiRenderer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ protected virtual void SetupInput()
158158
_keys.Add(io.KeyMap[(int)ImGuiKey.Backspace] = (int)Keys.Back);
159159
_keys.Add(io.KeyMap[(int)ImGuiKey.Enter] = (int)Keys.Enter);
160160
_keys.Add(io.KeyMap[(int)ImGuiKey.Escape] = (int)Keys.Escape);
161+
_keys.Add(io.KeyMap[(int)ImGuiKey.Space] = (int)Keys.Space);
161162
_keys.Add(io.KeyMap[(int)ImGuiKey.A] = (int)Keys.A);
162163
_keys.Add(io.KeyMap[(int)ImGuiKey.C] = (int)Keys.C);
163164
_keys.Add(io.KeyMap[(int)ImGuiKey.V] = (int)Keys.V);

0 commit comments

Comments
 (0)