| 3429 | } |
| 3430 | |
| 3431 | int ImGui::GetKeyIndex(ImGuiKey imgui_key) |
| 3432 | { |
| 3433 | IM_ASSERT(imgui_key >= 0 && imgui_key < ImGuiKey_COUNT); |
| 3434 | return GImGui->IO.KeyMap[imgui_key]; |
| 3435 | } |
| 3436 | |
| 3437 | // Note that imgui doesn't know the semantic of each entry of io.KeyDown[]. Use your own indices/enums according to how your backend/engine stored them into KeyDown[]! |
| 3438 | bool ImGui::IsKeyDown(int user_key_index) |
nothing calls this directly
no outgoing calls
no test coverage detected