-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstream #35
Open
osleg
wants to merge
27
commits into
Coffee2CodeNL:master
Choose a base branch
from
osleg:upstream
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Upstream #35
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic implementation enables one shot pinch gesture. That is the command from config file will run only once as soon as fingers move 50% from the initial fingers position. - Added a configurable distance variable to pinch gesture. I felt that pinch gesture is kinda tricky to execute on touchpad, so I changed a way of calculation when to trigger the command and added the distance for fingers travel to configuration. Basically a `0.5` distance feels quite ok to me, but it becomes really snappy at `0.1`.
Pinch Gesture
* Reorganized code a little bit - Previously swipe gesture was triggered only when fingers leaving touchpad thus threshold was useless. Moved trigger function outside of event handling. - Created reset functions for gestures to reset struct holding event data to default values. * Added swipe threshold. - Added new config keys * `settings.pinch.distance` - now instead of `pinch.commands.distance` holds the value required for fingers to travel before executing pinch gesture. * `settings.swipe.threshold` - new key to set how long should be swipe to execute command.
This commit introduces breaking changes due to changes in config file format. Hopefully that's the last time. * Config keys changed format, see readme for examples. * Both swipe and pinch gestures now have `settings.threshold` key which can be values 0.0 - 1.0. Defaults: Swipe: 1.0 Pinch: 0.25 * Both swipe and pinch now have `settings.one_shot` which, if set, allows only one execution of command per gesture. Defaults: Swipe: true Pinch: false * Swipe gesture now has `settings.trigger_on_release` defaulting to false. If set to true the command for swipe will be triggered when fingers are moved from touchpad UNLESS it is also one_shot gesture and gesture was already triggered.
* Travis CI * Add systemd unit
Added travis CI Badge
Config keys changed from original upstream. Updated README showing correct keys and correct default values
In continous swipe implementation triggering threshold was calculated incorrectly leading to triggering execution of the command indefinetly as soo as it triggered once. This should close #5
Changed repo name to make it explicit that this project is fork. Updated travis.yml to include that change else travis won't build release
* Added release PKGBUILD * Renamed git version PKGBUILD to `PKGBUILD.git` * Moved both PKGBUILDs to assets directory
Add Plasma instructions
Time to get back on the horse and fix up my project, thanks for all your support so far! |
@Coffee2CodeNL welcome back! |
Oh yeah, welcome back!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rescent updated gebaar forked version for upstream.
Take in mind to update travis and PKGBUILDS