diff --git a/VERSION b/VERSION index 79ff5a5..f13f1bb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.0.3 +v1.0.4 diff --git a/lib/gesture/swipe_gesture.regex.cpp b/lib/gesture/swipe_gesture.regex.cpp index 7dd1d04..08a8c96 100644 --- a/lib/gesture/swipe_gesture.regex.cpp +++ b/lib/gesture/swipe_gesture.regex.cpp @@ -34,7 +34,7 @@ namespace comfortable_swipe::gesture const char* swipe_gesture::GESTURE_BEGIN_REGEX_PATTERN = "^" // start of string "[ -]event\\d+" // event - "\\s+GESTURE_SWIPE_BEGIN" // gesture + "\\s+GESTURE_SWIPE_(?:BEGIN|UPDATE)" // gesture, (UPDATE: patch for Microsoft Surface Pro Touchpad) "\\s+\\S+" // timestamp "\\s+(\\d+)" // fingers "\\s*$" // end of string