Skip to content
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
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Upstream #35

wants to merge 27 commits into from

Conversation

osleg
Copy link
Collaborator

@osleg osleg commented Mar 13, 2020

Rescent updated gebaar forked version for upstream.

Take in mind to update travis and PKGBUILDS

osleg and others added 24 commits October 30, 2019 19:22
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
@Coffee2CodeNL Coffee2CodeNL self-assigned this Mar 17, 2023
@Coffee2CodeNL
Copy link
Owner

Coffee2CodeNL commented Mar 17, 2023

Time to get back on the horse and fix up my project, thanks for all your support so far!

@osleg
Copy link
Collaborator Author

osleg commented Mar 20, 2023

@Coffee2CodeNL welcome back!

@rncar
Copy link

rncar commented Mar 20, 2023

Oh yeah, welcome back!!
Using gebaar with an Apple Magic Trackpad in Arch Linux and bspwm for months, its awesome.
Gestures to close/move browser tabs, change desktops, etc.
Gebaar should be in each linux distro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants