Page 1 of 1

double click and longpress problem

Posted: 30 Mar 2020, 00:19
by mquevedob
hi all

when i doubleclick or longpress i always receive a normal press event and then i receive the doubleclick (or longpress)
in a double click when i press for the 1st time, i receive a normal event, then i click for the second time and i get the double click event 3
when i double click quickly, i just get 2 normal events but no double click

what could be the problem?

Re: double click and longpress problem

Posted: 30 Mar 2020, 17:23
by mquevedob
anyone ?

Re: double click and longpress problem

Posted: 30 Mar 2020, 18:33
by TD-er
What settings of the switch plugin have you tried?

Re: double click and longpress problem

Posted: 30 Mar 2020, 19:13
by mquevedob
please see the attached files for my config options

Re: double click and longpress problem

Posted: 30 Mar 2020, 19:15
by mquevedob
also...

Re: double click and longpress problem

Posted: 30 Mar 2020, 19:15
by mquevedob
of course i also tried with max interval 1000ms too

Re: double click and longpress problem

Posted: 30 Mar 2020, 20:45
by grovkillen
Try debounce 100..250 something

Re: double click and longpress problem

Posted: 30 Mar 2020, 22:37
by TD-er
Also make sure you enable the doubleclick event.

Re: double click and longpress problem

Posted: 14 Apr 2020, 13:45
by rt1970
any solution?

My problem for trying this solution is
if [Switch#State]=3
is not correct?

My Code an my Logfile is here:
https://www.letscontrolit.com/forum/vie ... 951#p43951