MCPcopy Create free account
hub / github.com/SatDump/SatDump / GetMouseSourceName

Function GetMouseSourceName

src-core/imgui/imgui.cpp:8900–8905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8898 return input_source_names[source];
8899}
8900static const char* GetMouseSourceName(ImGuiMouseSource source)
8901{
8902 const char* mouse_source_names[] = { "Mouse", "TouchScreen", "Pen" };
8903 IM_ASSERT(IM_ARRAYSIZE(mouse_source_names) == ImGuiMouseSource_COUNT && source >= 0 && source < ImGuiMouseSource_COUNT);
8904 return mouse_source_names[source];
8905}
8906static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e)
8907{
8908 ImGuiContext& g = *GImGui;

Callers 2

DebugPrintInputEventFunction · 0.85
ShowMetricsWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected