iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.68k stars 149 forks source link

hold threshold not working #306

Open luyanfeng opened 1 year ago

luyanfeng commented 1 year ago
hold:
  3:    
    begin:
      sendkey: "LEFTMETA+D" 
      threshold: 20  # not working ?!
    end:
      sendkey: "LEFTMETA+D"
iberianpig commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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