Commit Graph

16 Commits

Author SHA1 Message Date
Rico Tiongson
2028767567 Compare fingers string with only one digit 2019-02-07 03:55:34 +08:00
Rico Tiongson
fa92b8a56b Pre-compute for square of threshold and scale to lessen computation 2019-02-07 03:53:34 +08:00
Rico Tiongson
5df590f172 Add a flag for gesture begin to ignore unneeded update/end 2019-02-07 03:39:27 +08:00
Rico Tiongson
7c09eb9df5 Make sentence string static 2019-02-07 03:24:44 +08:00
Rico Tiongson
fe3715e03c Improve tokenizing of config file 2019-02-07 03:22:58 +08:00
Rico Tiongson
2c2e4073f3 Revert "Optimize reading of config file"
This reverts commit 88b85d3941.
2019-02-07 03:16:11 +08:00
Rico Tiongson
88b85d3941 Optimize reading of config file 2019-02-07 03:06:12 +08:00
Amrik Sadhra
22b9869ae8 Call libinput with debug-events argument instead of libinput-debug-events directly (#31)
It seems that libinput-debug-events is now called as an argument to libinput on the latest libinput-tools version as libinput debug-events. I made the change and all seems to work again.
2018-11-13 19:48:40 +08:00
Rico Tiongson
6890ec4696 [move-config] Move configuration file to /usr/local/share/comfortable-swipe/comfortable-swipe.conf 2017-11-15 11:04:54 +08:00
Rico Tiongson
44661a8125
Change Default Configurations (#14)
* [config] Change defaults

Improve user experience by reflecting default Ubuntu configurations.

* [config] Change program location from ~/.local/bin to /usr/local/bin
2017-11-11 13:56:04 +08:00
Rico Tiongson
a3f5cf68dc [bugfix-kde-startup] Defer to bash when executing autostart script (#12)
PATH is not reliable especially for .zshrc when running autostart script. Prefer executing autostart from bash by default instead. Fixes autostart bug is present in KDE neon v5.11 (plasma v5.11.2).
2017-11-07 01:30:46 +08:00
Rico Tiongson
08e72698ae [swipe-back] Allow swipe back on opposite gesture without lifting finger 2017-11-07 01:30:45 +08:00
Rico Tiongson
1c7c0bb10f Add autostart feature
Also generified config file location
2017-11-07 01:30:37 +08:00
Rico Tiongson
2597058bfb Fix issue 'cmath not included'
Issue was present in some C++ compilers, as mentioned by @shane-evolve in issues/1.
2017-11-07 01:29:10 +08:00
Rico Tiongson
7ce9d0cb3d Unify comfortable-swipe 2017-11-07 01:29:09 +08:00
Rico Tiongson
9c2d1532c7 Add comfortable-swipe source file 2017-09-25 23:18:07 +08:00