5-way-switch

wayland/wio-terminal-buttons/5-way-switch

Five-way switch on Wio Terminal.
5-way-switch
@/5-way-switch
Five-way switch on Wio Terminal.
Tbnumber
The maximal time of signal bounce on a switch in seconds. Changes during this time window are ignored to settle down the contact
UPDpulse
Update. Triggers new read.
5-way-switch
UP
DOWN
LEFT
RIGHT
PRESS
DONE
Tb
UPD
DONEpulse
Pulse on read.
PRESSboolean
Switch pressed.
RIGHTboolean
Switch moved down.
LEFTboolean
Switch moved left.
DOWNboolean
Switch moved down.
UPboolean
Switch moved up.
To use the node in your project you should have the wayland/wio-terminal-buttons 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.