
page A – 8
E-4 / Jan 2009
A P P E N D I C E S
A Second Example
As a second example, lets look at something a little more involved. Once
again, scroll through the Options Text File to find the following code (please note
that some surfaces may have a different number of code lines in this section; the
following is just for the purposes of example):
// Syntax: SPARE#:?
// # is the spare button number (1 - 12)
// ? is the mode (default = 2)...
// 0 = None, Button presses are ignored, LED controlled by DIO
// 1 = Toggle, Button state toggles on each press, LED controlled by Surface
// 2 = Momentary, Button is active when held down, LED controlled by Surface
// 3 = Momentary, Button is active when held down, LED controlled by DIO
// 4 = Automation, Button & LED are controlled by automation interface
// 5 = Preset Select, Button selects pre-configured preset, LED controlled by Surface
SPARE1:2
SPARE2:2
SPARE3:2
SPARE4:2
SPARE5:2
SPARE6:2
SPARE7:2
SPARE8:2
SPARE9:2
SPARE10:2
SPARE11:2
SPARE12:2
Once again, our first line is a comment line that shows the syntax used for this
particular option. In this case there are several code lines, each one referring to a
different spare (or programmable) button. Thus the '#' in the example syntax is
replaced with a number on the actual code line to indicate which of the spare buttons
that particular code line refers to. This fact is described on the second comment line.
The third comment line explains that a number indicating button mode will be
used in place of the '?' on each actual code line.
The next few comment lines explain the possible modes that the spare buttons
can operate in. You may have fewer or greater modes available depending on the
surface model and vintage. In any event you can select the same or a different mode
from the available modes for each programmable button on the surface.