-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Changes For Handling Inputs > v1.90.0.0 #451
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: