Searched refs:key_index (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_internal.h1412 inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { const int key_index = GImGui->IO.KeyMap[key]; return (key_index >= 0) ? IsKeyPressed(key_index, repeat) : false; } local in function:ImGui::IsKeyPressedMap
H A Dimgui.h647 IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
H A Dimgui.cpp4047 int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) argument
4050 if (key_index < 0)
4052 IM_ASSERT(key_index >= 0 && key_index < IM_ARRAYSIZE(g.IO.KeysDown));
4053 const float t = g.IO.KeysDownDuration[key_index];
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_internal.h1412 inline bool IsKeyPressedMap(ImGuiKey key, bool repeat = true) { const int key_index = GImGui->IO.KeyMap[key]; return (key_index >= 0) ? IsKeyPressed(key_index, repeat) : false; } local in function:ImGui::IsKeyPressedMap
H A Dimgui.h647 IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate
H A Dimgui.cpp4047 int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) argument
4050 if (key_index < 0)
4052 IM_ASSERT(key_index >= 0 && key_index < IM_ARRAYSIZE(g.IO.KeysDown));
4053 const float t = g.IO.KeysDownDuration[key_index];

Completed in 79 milliseconds