См. определение в файле KeybindingsGroup.c строка 133
Перекрестные ссылки m_CurrentSettingAlternateKeyIndex, m_CurrentSettingKeyIndex и m_Menu.