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

hold threshold not working #306

Open
luyanfeng opened this issue Aug 10, 2023 · 3 comments
Open

hold threshold not working #306

luyanfeng opened this issue Aug 10, 2023 · 3 comments

Comments

@luyanfeng
Copy link

hold:
  3:    
    begin:
      sendkey: "LEFTMETA+D" 
      threshold: 20  # not working ?!
    end:
      sendkey: "LEFTMETA+D"
@iberianpig
Copy link
Owner

iberianpig commented Aug 12, 2023

@luyanfeng
Hold gestures can use additional properties like "begin," "cancelled," and "end," but they aren't intended to be used together with the threshold.

Please provide a specific use case where you would like to use them together.

@luyanfeng
Copy link
Author

I want to hide all the windows on the desktop after pressing three fingers for 3 seconds, and then show them when I release them

@iberianpig
Copy link
Owner

Thank you for providing the use case. I will consider implementing a delay with begin of hold gestures based on the threshold.

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

2 participants