|
@@ -1425,6 +1425,11 @@ enum ImGuiSortDirection_
|
|
|
ImGuiSortDirection_Descending = 2 // Descending = 9->0, Z->A etc.
|
|
|
};
|
|
|
|
|
|
+// Since 1.90, defining IMGUI_DISABLE_OBSOLETE_FUNCTIONS automatically defines IMGUI_DISABLE_OBSOLETE_KEYIO as well.
|
|
|
+#if defined(IMGUI_DISABLE_OBSOLETE_FUNCTIONS) && !defined(IMGUI_DISABLE_OBSOLETE_KEYIO)
|
|
|
+#define IMGUI_DISABLE_OBSOLETE_KEYIO
|
|
|
+#endif
|
|
|
+
|
|
|
// A key identifier (ImGuiKey_XXX or ImGuiMod_XXX value): can represent Keyboard, Mouse and Gamepad values.
|
|
|
// All our named keys are >= 512. Keys value 0 to 511 are left unused as legacy native/opaque key values (< 1.87).
|
|
|
// Since >= 1.89 we increased typing (went from int to enum), some legacy code may need a cast to ImGuiKey.
|