Minimum doubleclick with 500ms possible?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Minimum doubleclick with 500ms possible?

#1 Post by Micha_he » 22 Jul 2020, 09:20

Is it possible (without disturbing other things) to reduce the minimal doubleclick time of the P001_Switch-Plugin to 500ms ?
The check inside the plugin seems to be ten-per-second...

Background of my questions is:

I would like to filter out GPIO-HIGH-signals smaller than ~0.5 seconds and
  • Debunce time is only max. 250ms
  • Rule-Timer are only greater than/equal 1sec
  • and the Doubleclick-time is actually greater than/equal than 1sec
If it's ok, I would do a pull request...
If it's not wanted, I would build a own special-firmware for this case.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Minimum doubleclick with 500ms possible?

#2 Post by TD-er » 22 Jul 2020, 10:29

I see no reason why the doubleclick min limit cannot be decreased.
So a pull req. is welcome.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: Minimum doubleclick with 500ms possible?

#3 Post by Micha_he » 22 Jul 2020, 11:10

Oh... damn, I mean the longclick minimal-interval ! In this case, double-clicking doesn't help me.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Minimum doubleclick with 500ms possible?

#4 Post by TD-er » 22 Jul 2020, 12:03

The answer remains the same.... with the added condition that you make up your mind before making the PR ;)

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: Minimum doubleclick with 500ms possible?

#5 Post by Micha_he » 24 Jul 2020, 09:52


Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 31 guests