Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
mozaic_cc_switch [2020/01/10 04:57] – Added CC-Toggle script _ki | mozaic_cc_switch [2020/01/10 05:03] (current) – Updated modificated script _ki | ||
---|---|---|---|
Line 68: | Line 68: | ||
* CC | * CC | ||
* Value for on and off state | * Value for on and off state | ||
+ | all defined directly in the script code | ||
< | < | ||
- | // CC-Toggle | + | // CC-Switch |
- | // based on CC-Switch v1.03 by mbncp @ audiobus forum | + | // main functionality |
// Allows the use of a Controller to act like a switch | // Allows the use of a Controller to act like a switch | ||
Line 98: | Line 99: | ||
FillArray TrigState, 0,16 // keep state of all channels | FillArray TrigState, 0,16 // keep state of all channels | ||
FillArray TrigReset, 1,16 | FillArray TrigReset, 1,16 | ||
- | SetShortName {Toggle} | + | SetShortName {Switch} |
- | LabelPads {CC Toggle} | + | LabelPads {CC Switch} |
LabelKnobs { } | LabelKnobs { } | ||
for k = 0 to 3 | for k = 0 to 3 |