MCPcopy Create free account
hub / github.com/cinder/Cinder / GetKeyData

Function GetKeyData

include/imgui/imgui_internal.h:3345–3345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3343
3344 IMGUI_API ImGuiKeyData* GetKeyData(ImGuiContext* ctx, ImGuiKey key);
3345 inline ImGuiKeyData* GetKeyData(ImGuiKey key) { ImGuiContext& g = *GImGui; return GetKeyData(&g, key); }
3346 IMGUI_API const char* GetKeyChordName(ImGuiKeyChord key_chord);
3347 inline ImGuiKey MouseButtonToKey(ImGuiMouseButton button) { IM_ASSERT(button >= 0 && button < ImGuiMouseButton_COUNT); return (ImGuiKey)(ImGuiKey_MouseLeft + button); }
3348 IMGUI_API bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lock_threshold = -1.0f);

Callers 10

AddKeyAnalogEventMethod · 0.85
GetKeyPressedAmountMethod · 0.85
GetKeyMagnitude2dMethod · 0.85
IsKeyDownMethod · 0.85
IsKeyPressedMethod · 0.85
IsKeyReleasedMethod · 0.85
UpdateAliasKeyFunction · 0.85
UpdateInputEventsMethod · 0.85
ShowMetricsWindowMethod · 0.85
ButtonBehaviorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected