iberianpig / fusuma

Multitouch gestures with libinput driver on Linux
MIT License
3.58k stars 146 forks source link

hold threshold not working #306

Open luyanfeng opened 11 months ago

luyanfeng commented 11 months ago
hold:
  3:    
    begin:
      sendkey: "LEFTMETA+D" 
      threshold: 20  # not working ?!
    end:
      sendkey: "LEFTMETA+D"
iberianpig commented 10 months 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 10 months 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 10 months ago

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