Installation guide
Programming AMX Controllers for a Kaleidescape System
Page 47
Also in DEFINE_VARIABLE modify the KZones array to include the zones that can
access the Kaleidescape players.
dev KZones[] =
{
KZone1,
KZone2,
KZone3
}
On each iPad, enter a controller zone name on the Kaleidescape page in the
Settings app.
Find #IF_DEFINED volumeByZone in DEFINE_START. For each iPad create a new
element in the array controllerProperties; enter the controller zone name used on the
iPad in .controllerZoneName and enter a default zone for the iPad to control in
.zoneToControl. When a message is received with a controller zone name a match will
be looked for in each array member’s .controllerZoneName element. If a match is
found the value in the member’s .zoneToControl will be used as the index when the
command is sent to KZones. If the iPad is also being used as touch panel on the
AMX system, match its position in this array and the KTouchPanels array.
#IF_DEFINED volumeByZone
controllerProperties[1].controllerZoneName = 'iPad 1'
controllerProperties[1].zoneToControl = 1
controllerProperties[2].controllerZoneName = 'iPad 2'
controllerProperties[2].zoneToControl = 2
Use the constants provided to set the volume capabilities of each zone.
zoneVolumeProperties[1].capability =
Volume_and_mute_control_with_feedback
zoneVolumeProperties[2].capability =
No_volume_control_or_feedback
zoneVolumeProperties[3].capability =
Volume_control_and_feedback_but_no_Mute
Additionally, if non-standard channels are to be used for volume up, volume down
and mute; they can be defined here also.
zoneVolumeProperties[1].capability =
Volume_and_mute_control_with_feedback
zoneVolumeProperties[1].volUpChannel = 124
zoneVolumeProperties[1].volDownChannel = 125
zoneVolumeProperties[1].volMuteChannel = 126