combo_run - Run a combo
combo_run(<COMBO_IDENTIFIER>);
Run the combo declared as <COMBO_IDENTIFIER> from its current state. Normally the current state of an inactive combo is the initial state, unless combo_pause
is executed.
This command has no effect if the combo is already running. combo_run can be called indiscriminately to keep the combo running indefinitely. |
main { // While BUTTON_2 is held-down ... if(get_val(BUTTON_2)) { // ... keep the combo "Example" running in an endless loop. 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); }