We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Input.Key
ImGuiKey.None
1 parent e15e305 commit 4528b57Copy full SHA for 4528b57
1 file changed
src/OpenGL/Extensions/Silk.NET.OpenGL.Extensions.ImGui/ImGuiController.cs
@@ -287,7 +287,6 @@ internal void PressChar(char keyChar)
287
/// </summary>
288
/// <param name="key">The Silk.NET.Input.Key to translate.</param>
289
/// <returns>The corresponding ImGuiKey.</returns>
290
- /// <exception cref="NotImplementedException">When the key has not been implemented yet.</exception>
291
private static ImGuiKey TranslateInputKeyToImGuiKey(Key key)
292
{
293
return key switch
@@ -409,7 +408,7 @@ private static ImGuiKey TranslateInputKeyToImGuiKey(Key key)
409
408
Key.F22 => ImGuiKey.F22,
410
Key.F23 => ImGuiKey.F23,
411
Key.F24 => ImGuiKey.F24,
412
- _ => throw new NotImplementedException(),
+ _ => ImGuiKey.None, // Key isn't implemented
413
};
414
}
415
0 commit comments