83 Commits
Author SHA1 Message Date
gobborg bc117c0ab5 Print abort() echo 'Installation aborted' to stdout. Allow \n (ENTER)… (#109)
* Print abort() echo 'Installation aborted' to stdout. Allow \n (ENTER) to be the printed default: yes.

* Actually handling the null response instead of galaxy brained putting a 'continue' as a placeholder in a conditional tree.
2023-10-21 13:01:15 +08:00
Rico Tiongson 4cf3bf3d8d Update README.md 2020-05-12 10:06:23 +08:00
Rico Tiongson 9393a96d3f Update README.md 2020-05-12 10:03:10 +08:00
Rico Tiongson 179083a152 Update README.md 2020-05-12 10:00:10 +08:00
Rico Tiongson 99f659c9db Add guard for root bash install (#92)
* Add guard for root bash install

* Bump to version 1.2.5
v1.2.5
2020-05-12 09:46:31 +08:00
Rico Tiongson 7728495350 Improve install permissions (#91)
* Improve install command

* Update README

* Add go+x permissions to C++ program

* Specify group permissions for comfortable-swipe-buffer

* Bump to version 1.2.4
v1.2.4
2020-05-12 09:26:44 +08:00
Rico Tiongson 9d25f1cc9f Update README.md 2020-05-08 01:13:01 +08:00
Rico Tiongson 9deaf2da2c Specify disabled swipes (#86)
* Configure swipes ok for mouse3/4 = move

* Use filled heavy check mark
v1.2.3
2020-05-08 00:03:18 +08:00
Rico Tiongson 6bd7603694 Add more examples to README 2020-05-07 23:44:16 +08:00
Rico Tiongson 57a6e4f217 Fix ordered list in README 2020-05-07 23:39:55 +08:00
Rico Tiongson 404e8febcc Update README 2020-05-07 23:39:00 +08:00
Rico Tiongson b2d1674ba4 Update README 2020-05-07 23:33:13 +08:00
Rico Tiongson 548199bc38 Improve comfortable-swipe status and trysudo (#85) v1.2.2 2020-05-07 22:39:47 +08:00
Rico Tiongson cb018bf335 Catch-all for std::invalid_argument for g++<8 (#84) v1.2.1 2020-05-07 21:37:43 +08:00
Rico Tiongson 859d3f3c3c Update README 2020-05-02 03:13:31 +08:00
Rico Tiongson f56e0a69d3 Fix README install library 2020-05-02 03:01:51 +08:00
Rico Tiongson 66b2568c86 Add config command line tools and simplify source code structure (#81)
* Add simplified shell script

* Update stop command

* Update defaults.conf

* Add help dialog

* Simplify file checkpoint

* Improve tests

* Remove old library files

* Update install log

* Bump to version 1.2.0

* Apply clang format

* Add command line tools for configurations

* Bugfix keyswipe gesture not passing test

* Reformat files with clang and prettier

* Update dispatch script

* Add abort statuement

* Improve command line

* Add --bare flag

* Apply clang-format

* Update README

* Add to CHANGELOG for v1.2.0
v1.2.0
2020-05-02 02:54:21 +08:00
Rico Tiongson d8788782a8 Add direct bash uninstall script 2020-04-18 05:59:26 +08:00
Rico Tiongson 217e507dce Improve README readability 2020-04-18 05:54:24 +08:00
Rico Tiongson b796cb02df Remove README duplicate instructions 2020-04-18 05:47:28 +08:00
Rico Tiongson f2f68a97cc Update keyboard shortcuts v1.1.0 2020-04-18 05:36:48 +08:00
Rico Tiongson cd29704495 Use bash syntax highlighting for README 2020-04-18 05:32:33 +08:00
Rico Tiongson 6a6bbf52e9 Update comfortable-swipe status 2020-04-18 05:27:43 +08:00
Rico Tiongson cb51d47a60 Apply clang-format 2020-04-18 05:00:47 +08:00
Rico Tiongson 1ecfc79fc4 Add gesture templates to README 2020-04-18 04:51:33 +08:00
Rico Tiongson 92863711b0 Update README.md 2020-04-18 03:58:15 +08:00
Rico Tiongson a7c5b6d578 Add mouse hold gestures (#79)
* Modularly separate keyboard swipe gesture from generic swipe

* Set destructors virtual to avoid surprises

* Prepare mouse swipe gesture skeleton

* Modify mouse move update

* Use xdo_move_mouse_relative instead of screen capture

* Restructure and add compiler tests

* Fix bash install script

* Add experimental: mouse hold on defaults.conf

* Update README and defaults.conf

* Do mousedown only for buttons 1 to 3

* Fix stop script and mouse gesture on button 4/5

* Redirect restart command to null

* Redirect using freopen

* Add comments on experimental scrolling
2020-04-18 03:55:13 +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
v1.0.4
2019-05-02 15:53:33 +08:00
Rico Tiongson dda91b7178 Update wrong default config values in README 2019-03-21 18:08:03 +08:00
Rico Tiongson 4852993663 Update readme and version (#64)
* Update README and increment version

* Add comfortable-swipe version badge

* Have macro guard warning for version

* Improve README and install script

* Expound bug reports statement
v1.0.3
2019-03-15 10:40:54 +08:00
Rico Tiongson 810a20f1ed Update README to new URL 2019-03-15 09:37:12 +08:00
Rico Tiongson 28f5ca2a91 Optimize swipe function v1.0.2 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 c18cb04230 Improve buffering performance 2019-02-12 22:29:13 +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 1c9b497b56 Add default -y flag to install 2019-02-12 21:13:40 +08:00
Rico Tiongson 16742495eb Add debug command (#51)
* Add debug command

* Update README to include debugging
2019-02-12 20:18:15 +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 7923effa02 Simplify compile command structure 2019-02-12 19:07:30 +08:00
Rico Tiongson 602b148fb4 Move library to root 2019-02-12 19:04:31 +08:00
Rico Tiongson 68bea125e3 Improve responsiveness of initial gesture by pre-empting xdotool in swipe_gesture constructor (#49) v1.0.1 2019-02-12 17:50:58 +08:00
Rico Tiongson 0b3b3238af Fix bug in restart service (#47) 2019-02-08 16:58:27 +08:00
Rico Tiongson 3a0e1361c9 [bugfix] Fix missing threshold construction (#45) 2019-02-07 22:18:50 +08:00
Rico Tiongson b5c701994b Move regex constants to swipe_gesture static class member (#44)
* Move regex constants to swipe_gesture static class member

* Unlink util/regex from library index
2019-02-07 22:01:03 +08:00
Rico Tiongson 30e4a57b62 Fix line endings 2019-02-07 21:35:24 +08:00
Rico Tiongson f3909f85f2 Merge pull request #43 from Hikari9/xdo-gesture
Derive gestures from xdo_gesture interface
2019-02-07 21:32:10 +08:00
Rico Tiongson 1071979b83 Derive gestures from xdo_gesture class 2019-02-07 21:25:04 +08:00
Rico Tiongson f40145b6fa Improve semantics (#42)
* Keep consistency in buffer method

* Revert default threshold to 0.0
2019-02-07 18:46:41 +08:00