Patch missing GESTURE_SWIPE_BEGIN for Microsoft Surface Pro
Touchpad for Microsoft Surface Pro doesn't show GESTURE_SWIPE_BEGIN in comfortable-swipe debug due to unresolved bug from libinput. This fix temporarily patches that issue by adding UPDATE pattern to the gesture begin regex.
This commit is contained in:
parent
dda91b7178
commit
43fe2bb9b3
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user