-
-
Notifications
You must be signed in to change notification settings - Fork 441
Description
Summary
Key mods like Ctrl, Alt, Shift are not sent to ImGUI during imguiController.Update((float)delta);
Steps to reproduce
Reproducible here: https://github.com/dotnet/Silk.NET/tree/main/examples/CSharp/OpenGL%20Demos
Windows 11, using WindowOptions.Default
- Add
ImGui.ShowDemoWindow();beforeimguiController.Render();to draw demo window - Start the project
- In demo window, navigate to "Inputs & Focus" category
- Press "Ctrl", "Ctrl+A", "Shift+Tab" or any other key combo with mod keys
Expected: Mods should appear in "Keys mods:" label. "Keys down:" label should show "ModCtrl", "ModShift", etc... together with "LeftCtrl", "LeftShift", etc...
Actual: Mods do not appear in "Keys mods:" label. "Keys down:" label contains only "LeftCtrl", "LeftShift", etc... This results in shortcuts not working at all. You can test shortcuts in "Shortcuts" subcategory of "Inputs & Focus"
Comments
Issue is somewhere here
Silk.NET/src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui/ImGuiController.cs
Line 250 in 3c0313b
| private void UpdateImGuiInput() |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status