186 for (ImGuiKey key : keys) {
187 const int value =
static_cast<int>(key);
188 if (value == ImGuiMod_Ctrl) {
191 }
else if (value == ImGuiMod_Super) {
193 }
else if (value == ImGuiMod_Shift) {
195 }
else if (value == ImGuiMod_Alt) {
199 main_key = ChordKeyFromImGuiKey(key);
202 if (main_count != 1 || main_key == 0) {
209 chord.
key = main_key;