Nav: internals: renaming ImGuiInputSource so it is not specific to nav. Comments.

This commit is contained in:
ocornut
2021-03-10 16:27:19 +01:00
parent 01a2bac7d5
commit 6ba1334903
4 changed files with 20 additions and 18 deletions

View File

@ -818,9 +818,9 @@ enum ImGuiInputSource
{
ImGuiInputSource_None = 0,
ImGuiInputSource_Mouse,
ImGuiInputSource_Nav,
ImGuiInputSource_NavKeyboard, // Only used occasionally for storage, not tested/handled by most code
ImGuiInputSource_NavGamepad, // "
ImGuiInputSource_Keyboard,
ImGuiInputSource_Gamepad,
ImGuiInputSource_Nav, // Stored in g.ActiveIdSource only
ImGuiInputSource_COUNT
};