bartbutenaers / node-red-contrib-button-events

A Node-RED node to send events based on button actions
Apache License 2.0
13 stars 3 forks source link

Deliver event quickly #11

Open romainvv opened 1 year ago

romainvv commented 1 year ago

Hello, Thanks for your plugin, it makes me wins a lot of time. In order to not wait the pressed time/clicked time, we could (in some case) send the event just after debounce time. Eg : image

This behaviour makes the button more reactive. It provide also a user feedback on the action. Eg : clicked -> light 1 + 2 , mmh not what i want, doubleclicked -> light 1, yes that is. doubleclicked-pressed , dim it a little bit. The user dont have to know how much click he must make to explore the effect of multiclick.

I leave it for the record if someone is interested too.

Have a nice day, Romain