Commit Graph

23 Commits

Author SHA1 Message Date
Rico Tiongson
29113f2d51
Update README to new URL 2019-03-15 09:35:26 +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
16742495eb
Add debug command (#51)
* Add debug command

* Update README to include debugging
2019-02-12 20:18:15 +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
Rico Tiongson
e3453c1bbb
Perform microoptimizations (#40)
* Remove unused device and stamp from swipe_impl

* Use constants for regex patterns

* Compile regex outside of buffer function to avoid runtime hiccup

* Optimize reading of config file

* Revert "Optimize reading of config file"

This reverts commit 88b85d3941.

* Improve tokenizing of config file

* Make sentence string static

* Improve README; change default threshold to 20.0

* Add a flag for gesture begin to ignore unneeded update/end

* Pre-compute for square of threshold and scale to lessen computation

* Compare fingers string with only one digit

* Use fgets_unlocked for faster input stream reading

* Don't buffer error stream

* Set some variables to static

* Catch dash symbol before event, remove trimming

* Use const char* for conf_filename

* Fix error in printing help

* Add some test scripts
2019-02-07 17:51:47 +08:00
Rico Tiongson
328ae08ee1
Add git to install instructions in README 2019-02-07 17:39:32 +08:00
Rico Tiongson
4795a68600
Add g++ to README (#38) 2019-02-07 02:15:57 +08:00
Rico Tiongson
91b55bad5e
Update README.md
Add xdotool key code reference to README
2017-11-19 01:15:34 +08:00
Rico Tiongson
a394e905ba Update README 2017-11-19 00:47:18 +08:00
Rico Tiongson
823ea396a1 [move-config] Update README 2017-11-15 11:08:16 +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
8a18ebddb8 Update README.md 2017-11-10 22:00:09 +08:00
Rico Tiongson
a3696eb92b Update README
Add better instructions for autostart and permissions
2017-11-07 01:30:45 +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
caa6c0b271 Add uninstall instructions 2017-11-07 01:29:10 +08:00
Rico Tiongson
8b8b7aca5b Update README
Prefer markdown table instead of sample image for instructions. Add 'command not found' alternative command.
2017-11-07 01:29:10 +08:00
Rico Tiongson
b28619c20c Prefer tweaking conf file instead of source code 2017-11-07 01:29:10 +08:00
Rico Tiongson
68a1072d63 Update README 2017-11-07 01:29:10 +08:00
Rico Tiongson
7ce9d0cb3d Unify comfortable-swipe 2017-11-07 01:29:09 +08:00
Rico Tiongson
bb275a1c94 Update README 2017-11-07 01:29:09 +08:00
Rico Tiongson
9c2d1532c7 Add comfortable-swipe source file 2017-09-25 23:18:07 +08:00
Rico Tiongson
8a9d5c96ec Initial commit 2017-09-25 22:37:54 +08:00