1 2 3 4 5 6 7
switch (mir_keyboard_event_action(kev)) { case mir_keyboard_action_repeat: is_auto_rep = true; // fall-through case mir_keyboard_action_down: keyType = QEvent::KeyPress; break;