You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImGuiIOPtr no longer has KeysDown or KeyMap, and that's probably going to cause people problems. The affected code is generated from C++ and has apparently been labelled obsolete in the C++ library.
Typical Errors Caused: ImGuiIOPtr' does not contain a definition for 'KeyMap' and no accessible extension method 'KeyMap' accepting a first argument of type 'ImGuiIOPtr' could be found (are you missing a using directive or an assembly reference?)
'ImGuiIOPtr' does not contain a definition for 'KeysDown' and no accessible extension method 'KeysDown' accepting a first argument of type 'ImGuiIOPtr' could be found (are you missing a using directive or an assembly reference?)
The text was updated successfully, but these errors were encountered:
ImGuiIOPtr no longer has KeysDown or KeyMap, and that's probably going to cause people problems. The affected code is generated from C++ and has apparently been labelled obsolete in the C++ library.
If you're using OpenTK.Windowing.GraphicsLibraryFramework (GLFW), you'll need to use io.AddKeyEvent() to bind your key presses or revert to version 1.89.9.3 or below.
There may have been other breaking changes, would recommend seeing the Transition Guide for more info.
Last Working:
ImGui.NET/src/ImGui.NET/Generated/ImGuiIO.gen.cs
Line 74 in 0693636
Current:
ImGui.NET/src/ImGui.NET/Generated/ImGuiIO.gen.cs
Line 74 in f04c11e
C++ Reference:
https://github.com/ocornut/imgui/blob/3733b5064e1820dc8517fedba2b34bfbdef569ab/imconfig.h#L31C3-L31C3
Typical Errors Caused:
ImGuiIOPtr' does not contain a definition for 'KeyMap' and no accessible extension method 'KeyMap' accepting a first argument of type 'ImGuiIOPtr' could be found (are you missing a using directive or an assembly reference?)
'ImGuiIOPtr' does not contain a definition for 'KeysDown' and no accessible extension method 'KeysDown' accepting a first argument of type 'ImGuiIOPtr' could be found (are you missing a using directive or an assembly reference?)
The text was updated successfully, but these errors were encountered: