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

Suggestion: Adding multiple executions of commands #289

Open
MidnightNerd opened this issue Dec 22, 2020 · 7 comments
Open

Suggestion: Adding multiple executions of commands #289

MidnightNerd opened this issue Dec 22, 2020 · 7 comments

Comments

@MidnightNerd
Copy link

Hello,
it would be great to have multiple executions of the command, depending on the travel distance of the gesture.
It is very hard to change the volume of the computer in single steps.

@MidnightNerd MidnightNerd changed the title Adding multiple executions of commands Suggestion: Adding multiple executions of commands Dec 22, 2020
@bulletmark
Copy link
Owner

I added this functionality 3 years ago but wasn't completely happy with the result so never merged it to master. The problem is that fundamental to the design of libinput-gestures is that it only actions a command at the end of a gesture. So, for example, the volume script plugin that I created would only raise the volume once you finished the swipe, whereas the user really wants to hear the volume raise as he/she executes the swipe.

@BierDav
Copy link

BierDav commented Mar 15, 2021

Is this topic still in development. I would really need this feature.

@MidnightNerd
Copy link
Author

I created a pull request for a version with this feature.
It works well for me. The timeout must be edited.

@LeonEstrak
Copy link

Somebody please review and merge this guy's pull request, it's a great feature if its working.

@BierDav
Copy link

BierDav commented May 13, 2021

And by the way @bulletmark I think you should propably rethink your opinion about the fundamental design of this library. It is the only good library which does a good job in my opinion but for volume control and for desktop switching and many other things it would be so much more comfortable to have this feature. Moreover Windows and MacOS have this feature also interagted and as far as I know the users love it, because if you have to swipe 100 times to get to 0% (eg.) instead of simply adjust that with a precise swipe.

@road2coder
Copy link

Three years passed, have this feature been implemented?

@MidnightNerd
Copy link
Author

As far as i know the pull request wasn't merged- and there is no commit implementing the feature. @bulletmark i know my code has no high quality. I can rewrite the code if you would like to merge it. As i don't use this program anymore i would only rewrite the code if there is a chance that the code will be merged.

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

No branches or pull requests

5 participants