event_active — I/O changed to active state
bool event_active(uint8 io);
Check if the I/O indexed by io changed its state from release to active.
Returns true if the I/O entered in active state, FALSE
otherwise.
main { if(event_active(BUTTON_13)) { combo_run(Example); } } combo Example { set_val(BUTTON_4, 100.0); wait(50); set_val(BUTTON_8, 100.0); wait(50); set_val(BUTTON_16, 100.0); wait(50); }