См. определение в файле InputDeviceDisconnectWarningMenu.c строка 17
Перекрестные ссылки BuildMessages(), g_Game, m_CanClose и m_DisconnectedDevices.