britzl / defold-input

Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects
MIT License
111 stars 26 forks source link

Double tap is determined as a single tap at the same time #27

Closed rosen-krantz closed 2 years ago

rosen-krantz commented 2 years ago

I used defold-input in my project to detect gestures like horizontal and vertical swipes and taps. And I faced this behavior:

I thought that something wrong in my project and made a new simple test project where is only one script from the example. And the behavior is the same. Double click make two prints.

Is there something additional checks that I need to do?

britzl commented 2 years ago

It is impossible to know if the first tap will be part of a double tap or not, and you really don't want to delay sending information about the first tap to the client.

This is by design and will not change.