См. определение в файле DebugMonitor.c строка 44
Перекрестные ссылки g_Game, m_IsUsingKBM, m_VersionValue, m_WidgetRoot и OnInputDeviceChanged().