:see_also=index

GDAM supports midi and other hardware input.  To enable 
hardware input, several files must be in place describing 
the various devices.  Create a file ~/.gdam/input.devices, 
with entries as follows:

/dev/midi /home/geoff/gdam/skin/midi/roland-jp8000 GdamMidiDevice
/dev/psaux none GdamPs2Keyboard

for each input device.  The first string is the device name,
the second is a device description file (or 'none' if no file 
exists,) the third string is the Gdam class appropriate to
the device. The file referenced should include two lines:

make 0x81 Roland
model 0x0006 JP-8000

which identify the device by make and model code.
Midi device description files can include optional lines to 
give text names to sysex signals emitted by this device:

sysex 6 12 01 00 00 10 00 Key Mode 0



To open a hardware input device, type the name of the hardware 
device into the entry box, and click the "open" button.  From 
the time the first hardware device is opened, new components
will be created with midi-related widgets included.  These
widgets are most often a small button next to an adjustment
labelled "MIDI" or "M".  While depressing the button,
wiggle the midi knob or slider which you would like to control
that adjustment.  From then on, the adjustment will follow
the midi parameter assigned to it.  To free the adjustment 
from control, right-click on the button.  To assign the
adjustment to whichever input parameter  is selected in the 
gdam midi device window, control-click on the button.
