Commit Graph

9 Commits

Author SHA1 Message Date
Rico Tiongson
c0b69484a6 Modularly separate keyboard swipe gesture from generic swipe 2020-04-17 22:30:06 +08:00
Rico Tiongson
8f6e231a5e
Patch missing GESTURE_SWIPE_BEGIN for Microsoft Surface Pro (#69)
* 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.

* Defer patch to GESTURE_SWIPE_UPDATE regex pattern instead of modifying GESTURE_SWIPE_BEGIN
2019-05-02 15:53:33 +08:00
Rico Tiongson
28f5ca2a91 Optimize swipe function 2019-03-03 22:00:48 +08:00
Rico Tiongson
89b79bc9bc
Status command (#56)
* Add configurations to status

* Update comment of status

* Add config command

* Modify README

* Add EPSILON instead of subtract for a more reliable >= threshold
2019-02-15 14:17:47 +08:00
Rico Tiongson
7d76db6693
Update status command and add config command (#55)
* Add configurations to status

* Update comment of status

* Add config command

* Modify README
2019-02-13 10:15:42 +08:00
Rico Tiongson
204a422f2d
Add status service command (#54)
* Use std::unique_ptr for stop service

* Use std::unique_ptr for stop service

* Add status command

* Prefer to use std::array to avoid memory leaking in buffer

* Perform xdo key sequence before output message

* Fix missing swipe_gesture header in regex implementation
2019-02-13 09:27:41 +08:00
Rico Tiongson
b1f8a7cb0a
Remove irrelevant double tracking bug in error log (#53)
* Do not show double tracking

* Do not show double tracking in debug and start
2019-02-12 22:23:20 +08:00
Rico Tiongson
459fd68ba8
Add parse_line method to decouple buffer from gesture handler (#50) 2019-02-12 19:28:53 +08:00
Rico Tiongson
602b148fb4 Move library to root 2019-02-12 19:04:31 +08:00