MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetMouseSourceName

Function GetMouseSourceName

KBotExt/imgui/imgui.cpp:8831–8836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8829 return input_source_names[source];
8830}
8831static const char* GetMouseSourceName(ImGuiMouseSource source)
8832{
8833 const char* mouse_source_names[] = { "Mouse", "TouchScreen", "Pen" };
8834 IM_ASSERT(IM_ARRAYSIZE(mouse_source_names) == ImGuiMouseSource_COUNT && source >= 0 && source < ImGuiMouseSource_COUNT);
8835 return mouse_source_names[source];
8836}
8837static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e)
8838{
8839 ImGuiContext& g = *GImGui;

Callers 2

DebugPrintInputEventFunction · 0.85
ShowMetricsWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected