Libinput gesture - having problem to add delay to gestures

Hello,

I am trying to set up some gestures on my old MacBook using libinput-gesture, which I installed from repository via pacman -S libinput-gesture.

I started with a simple config file to simulate tap-to-click, that is tap simulates LMB, then 2-finger-tap → RMB etc. Currently, the libinput-gesture.conf is quite simple just of two line lines:

gesture hold on      xdotool click 1   # Simulate LMB
gesture hold on 2    xdotool click 3   # Simulate RMB

It’s working, but I’m having issues with it. The old MacBook I have has a large touchpad. When I type in editors, I tend to tap the touchpad and in turn move a cursor to location, where a pointer is–I start typing and suddenly continue in a different pace. I thought I would change the first gesture into something like this:

gesture hold on+0.3 1    xdotool click 1   # Hold to simulate LMB
# ...

so I would hold finger for 300 ms and then simulate LMB but libinput-gesture reports the following error

Gesture hold does not support motion on+0.2

This is a little strange because I can see on Git - libinput-gestures the last row of the table clearly states I could use the format on+N to delay gesture with N being in secs.

Anyone knows how to solve it?


A different problem is I would also like to simulate tap-to-move gesture to make selections when I tap and start moving in editors. Is it even possble?

Thanks