fix: macOS key repeat not working

This commit is contained in:
sithlord48
2026-01-04 08:23:01 -05:00
committed by Chris Rizzitello
parent 3598eb6a47
commit b8e0415632

View File

@ -947,9 +947,10 @@ void KeyMap::addKeystrokes(
case kKeystrokeRepeat:
if (deskflow::platform::isWindows()) {
// Windows repeat needs this
keystrokes.push_back(Keystroke(button, false, true, data));
keystrokes.push_back(Keystroke(button, true, true, data));
} else if (deskflow::platform::isMac()) {
keystrokes.push_back(Keystroke(button, true, true, data));
}
break;