comfortable-swipe/cpp.compile.sh
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

10 lines
199 B
Bash
Executable File

#!/bin/bash
dir="$(dirname $0)"
version="$(cat "$dir/VERSION" | tr -d '[:space:]')"
exec g++ $@ \
-std=c++11 \
-O2 -lxdo -Wno-unused-result \
-DCOMFORTABLE_SWIPE_VERSION="\"$version\""