Map a different function to a button, activated when pressed long (e.g. > 0.5 secs; configurable).
ToDo: in Client
Add variable at top (besides LastParam) "LastButton"
In ACTIONS and "Reset" blocks: if value>BUTTON_ON then LastButton=param elseif LastButton=param; set timeout then if (timeout thingy)...action short... else ... action long... end end
Alternatively without "LastButton" (should work too): if value>BUTTON_ON then set timeout else if (timeout thingy)...action short... else ... action long... end end
Note: this of course changes the button behavior as the function is not performed on PRESSING the button, but on RELEASING it... does this feel ok?
Map a different function to a button, activated when pressed long (e.g. > 0.5 secs; configurable).
ToDo: in Client
Note: this of course changes the button behavior as the function is not performed on PRESSING the button, but on RELEASING it... does this feel ok?