Home
last modified time | relevance | path

Searched refs:GetKeyPressedAmount (Results 1 - 4 of 4) sorted by relevance

/third_party/mesa3d/src/imgui/
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) in GetKeyPressedAmount() function in ImGui
4067 return GetKeyPressedAmount(user_key_index, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; in IsKeyPressed()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.h892 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.cpp478 - 2019/10/14 (1.74) - inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function.
481 If you never altered io.KeyRepeatRate nor used GetKeyPressedAmount() this won't affect you.
4700 int ImGui::GetKeyPressedAmount(int key_index, float repeat_delay, float repeat_rate) in GetKeyPressedAmount() function in ImGui
4720 return GetKeyPressedAmount(user_key_index, g.IO.KeyRepeatDelay, g.IO.KeyRepeatRate) > 0; in IsKeyPressed()

Completed in 56 milliseconds