push-short-long

dinosalvioni/functionslibrary/push-short-long

No description
push-short-long
@/push-short-long
Tnumber
Sets the timeout in seconds to consider a press to be button hold (i.e., the long press).
INboolean
A signal from the button or another switch, should be true when it is pressed and false when idle.
push-short-long
IN
T
CLK
HOLD
HOLDpulse
Fires when `T` is elapsed while the button is being down.
CLKpulse
Fires right at the moment of the button release if `T` was not elapsed.
To use the node in your project you should have the dinosalvioni/functionslibrary library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.