You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: