iberianpig / fusuma-plugin-tap

Tap and Hold gestures plugin for Fusuma
MIT License
18 stars 2 forks source link

Tap registered as double tap? #11

Open tanandry opened 3 years ago

tanandry commented 3 years ago

When I use this code:

tap: 3: sendkey: "LEFTCTRL+ENTER" # Open anything in new background tab keypress: LEFTCTRL: sendkey: "LEFTCTRL+LEFTSHIFT+ENTER" # Open anything in new foreground tab

It can open in a new tab just right, but it open two tabs instead of one. I tried it in Firefox and Dolphin. Is the tap registered as double tap? Can this issue be fixed? Thanks 😄

iberianpig commented 3 years ago

No, it does not register multiple taps.

The fusuma-plugin-tap does not stop the propagation of existing tap events, it just executes the action defined in the config.yml when it finds a tap event. So the first tap will be your native tap, and the second tap will be the sendkey keyboard event generated by the tap.