elementary / switchboard-plug-mouse-touchpad

Switchboard Mouse & Touchpad Plug
GNU General Public License v3.0
24 stars 13 forks source link

adds gestures support using libinput-gestures #44

Closed marcelogdeandrade closed 4 years ago

marcelogdeandrade commented 5 years ago

This adds the feature asked in #16 using libinput-gestures.

As @danrabbit said, this is not the implementation he is looking for. I created this PR so I wouldn't delete everything, maybe this can be useful somehow.

This implementation requires libinput-gestures installed and modifies the config file to change the shortcuts. I added only two simple default shortcuts per gesture.

danirabbit commented 5 years ago

Leaving a link to libinput gestures for reference. This would need to be packaged so this branch is at least blocked by that. It looks like libinput gestures installs a pretty ugly .desktop that is actually just needed for autostart, so that's probably not ideal. We'd need to patch it out.

For the design of these settings, I feel like trying to equate gestures to shortcuts doesn't really tell me what the gesture actually does and would break if the shortcut changed. Instead we should be connecting gestures to actions directly.

andirsun commented 4 years ago

Yes, please add libinput gestures to configure gestures in the touchpad like mac os

marcelogdeandrade commented 4 years ago

I'll close this PR since it's been open for almost 2 years