diff --git a/src/lib/deskflow/KeyMap.cpp b/src/lib/deskflow/KeyMap.cpp index 918174906..afd99a34a 100644 --- a/src/lib/deskflow/KeyMap.cpp +++ b/src/lib/deskflow/KeyMap.cpp @@ -7,6 +7,7 @@ #include "deskflow/KeyMap.h" #include "base/Log.h" +#include "common/PlatformInfo.h" #include "deskflow/KeyTypes.h" #include @@ -945,7 +946,11 @@ void KeyMap::addKeystrokes( break; case kKeystrokeRepeat: - // no changes on key repeat + if (deskflow::platform::isWindows()) { + // Windows repeat needs this + keystrokes.push_back(Keystroke(button, false, true, data)); + keystrokes.push_back(Keystroke(button, true, true, data)); + } break; case kKeystrokeClick: