Skip to content

Commit

Permalink
Inputs: Extra Keys / AddKeyEvent(): Added ImGuiKey values, io.AddKeyE…
Browse files Browse the repository at this point in the history
…vent(), GetKeyName(), IMGUI_DISABLE_OBSOLETE_KEYIO. Obsoleted GetKeyIndex(), io.KeyMap[], io.KeysDown[]. (#2625, #4858, #2787)
  • Loading branch information
thedmd authored and ocornut committed Jan 10, 2022
1 parent afffcd5 commit 3b66929
Show file tree
Hide file tree
Showing 6 changed files with 385 additions and 107 deletions.
1 change: 1 addition & 0 deletions imconfig.h
Expand Up @@ -28,6 +28,7 @@

//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names.
//#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
//#define IMGUI_DISABLE_OBSOLETE_KEYIO // 1.86: disable legacy io.KeyMap[]+io.KeysDown[] in favor io.AddKeyEvent(). This will be folded into IMGUI_DISABLE_OBSOLETE_FUNCTIONS in a few versions.

//---- Disable all of Dear ImGui or don't implement standard windows.
// It is very strongly recommended to NOT disable the demo windows during development. Please read comments in imgui_demo.cpp.
Expand Down

0 comments on commit 3b66929

Please sign in to comment.