<?xml version="1.0"?>
<device image="Sho 575.gif">
	<information>
		<name>Inno Spot Pro</name>
		<author>Jens-Peter Kühn</author>
		<vendor>American DJ</vendor>
		<version>1</version>
	</information>
	<channels>
		<function channel="0" minvalue="0" maxvalue="255" name="Pan" fade="yes" type="pan" />
		<function channel="1" minvalue="0" maxvalue="255" name="Panfine" fade="yes" type="panfine" />
		<function channel="2" minvalue="0" maxvalue="255" name="Tilt" fade="yes" type="tilt" />
		<function channel="3" minvalue="0" maxvalue="255" name="Tiltfine" fade="yes" type="tiltfine" />
		<function channel="4" minvalue="0" maxvalue="255" name="Color" fade="no" type="color" action="GetColor" />
		<function channel="5" minvalue="0" maxvalue="255" name="Gobo" fade="no" type="gobo" action="GetGobo" />
		<function channel="6" minvalue="0" maxvalue="255" name="Goborotation" fade="yes" />
		<function channel="7" minvalue="0" maxvalue="255" name="Prisma" fade="yes" />
		<function channel="8" minvalue="0" maxvalue="255" name="Prismarotation" fade="yes" action="GetPrism" />
		<function channel="9" minvalue="0" maxvalue="255" name="Focus" fade="yes" />
		<function channel="10" minvalue="0" maxvalue="255" name="Shutter" fade="yes" action="GetShutter" />
		<function channel="11" minvalue="0" maxvalue="255" name="Dimmer" fade="yes" type="dimmer" />
		<function channel="12" minvalue="0" maxvalue="255" name="Speed" fade="yes" />
		<function channel="13" minvalue="0" maxvalue="255" name="Functions" fade="yes" />
	</channels>
	<form width="398" height="525">
		<deviceimage top="0" left="0" />
		<devicename top="0" left="40" />
		<deviceadress top="16" left="40" />
		<position top="38" left="2" height="180" width="180" />
		<label top="270" left="8" caption="Dimmer" />
		<slider top="286" left="0" height="35" width="193" startvalue="0" endvalue="255" channel="11" />
		<dropdown top="22" left="204" width="177" channel="4" action="SetColor" name="color_drop">
			<item caption="White" value="0" minvalue="0" maxvalue="7" color="#ffffff" />
			<item caption="Red" value="11" minvalue="8" maxvalue="14" color="#ff0000" />
			<item caption="Orange" value="18" minvalue="15" maxvalue="21" color="#ff8000" />
			<item caption="Yellow" value="25" minvalue="22" maxvalue="28" color="#ffff00" />
			<item caption="Green" value="32" minvalue="29" maxvalue="35" color="#00ff00" />
			<item caption="Blue" value="39" minvalue="36" maxvalue="42" color="#0000ff" />
			<item caption="Purple" value="46" minvalue="43" maxvalue="49" color="#800080" />
			<item caption="Lightblue" value="53" minvalue="50" maxvalue="56" color="#00ffff" />
			<item caption="Purple" value="60" minvalue="57" maxvalue="63" color="#800080" />
			<item caption="Index" value="64" minvalue="64" maxvalue="127" />
			<item caption="Rainbow CW" value="128" minvalue="128" maxvalue="191" icon="rainbow.gif" />
			<item caption="Rainbow CCW" value="192" minvalue="192" maxvalue="225" icon="rainbow.gif" />
		</dropdown>
		<label top="4" left="204" caption="Color" />
		<slider top="74" left="196" height="35" width="193" startvalue="0" endvalue="63" name="color_slider" action="SetColor" />
		<label top="326" left="8" caption="Shutter" />
		<label top="472" left="8" caption="Focus" />
		<slider top="488" left="0" height="35" width="193" startvalue="0" endvalue="255" channel="9" />
		<slider top="234" left="0" height="35" width="193" startvalue="0" endvalue="255" channel="12" />
		<label top="218" left="10" caption="Speed" />
		<label top="54" left="204" caption="Colorindex / Rainbow Speed" />
		<dropdown top="136" left="204" width="177" channel="5" action="SetGobo" name="gobo_drop">
			<item caption="Open" value="0" minvalue="0" maxvalue="7" />
			<item caption="Gobo 1" value="14" minvalue="10" maxvalue="18" />
			<item caption="Gobo 2" value="23" minvalue="19" maxvalue="27" />
			<item caption="Gobo 3" value="32" minvalue="28" maxvalue="36" />
			<item caption="Gobo 4" value="41" minvalue="37" maxvalue="45" />
			<item caption="Gobo 5" value="50" minvalue="46" maxvalue="54" />
			<item caption="Gobo 6" value="59" minvalue="55" maxvalue="63" />
			<item caption="Open Shake" value="64" minvalue="64" maxvalue="73" />
			<item caption="Gobo 1 Shake" value="74" minvalue="74" maxvalue="82" />
			<item caption="Gobo 2 Shake" value="83" minvalue="83" maxvalue="91" />
			<item caption="Gobo 3 Shake" value="92" minvalue="92" maxvalue="100" />
			<item caption="Gobo 4 Shake" value="101" minvalue="101" maxvalue="109" />
			<item caption="Gobo 5 Shake" value="110" minvalue="110" maxvalue="118" />
			<item caption="Gobo 6 Shake" value="119" minvalue="119" maxvalue="127" />
			<item caption="Rainbow CCW" value="128" minvalue="128" maxvalue="191" />
			<item caption="Rainbow CW" value="192" minvalue="192" maxvalue="255" />
		</dropdown>
		<label top="118" left="204" caption="Gobo" />
		<slider top="184" left="196" height="35" width="193" startvalue="0" endvalue="9" name="gobo_slider1" action="SetGobo" />
		<label top="168" left="204" caption="Shakespeed" />
		<dropdown top="342" left="8" width="177" channel="10" action="SetShutter" name="shutter_drop">
			<item caption="Closed" value="0" minvalue="0" maxvalue="7" />
			<item caption="Open" value="11" minvalue="8" maxvalue="15" />
			<item caption="Strobe" value="16" minvalue="16" maxvalue="131" />
			<item caption="Open" value="135" minvalue="132" maxvalue="139" />
			<item caption="Pulse open" value="140" minvalue="140" maxvalue="181" />
			<item caption="Open" value="185" minvalue="182" maxvalue="189" />
			<item caption="Pulse colse" value="190" minvalue="190" maxvalue="231" />
			<item caption="Open" value="235" minvalue="232" maxvalue="239" />
			<item caption="Random strobe" value="243" minvalue="240" maxvalue="247" />
			<item caption="Open" value="255" minvalue="248" maxvalue="255" />
		</dropdown>
		<label top="368" left="8" caption="Strobe Speed" />
		<slider top="382" left="0" height="35" width="193" startvalue="0" endvalue="115" name="shutter_slider1" action="SetShutter" />
		<slider top="430" left="0" height="35" width="193" startvalue="0" endvalue="41" name="shutter_slider2" action="SetShutter" />
		<label top="416" left="8" caption="Pulse Speed" />
		<line y1="112" x1="194" y2="112" x2="388" />
		<line y1="0" x1="194" y2="528" x2="194" />
		<slider top="234" left="196" height="35" width="193" startvalue="0" endvalue="63" name="gobo_slider2" action="SetGobo" />
		<label top="416" left="204" caption="Prismarotation Speed" />
		<line y1="322" x1="0" y2="322" x2="194" />
		<dropdown top="494" left="204" width="177" channel="13">
			<item caption="No Function" value="0" minvalue="0" maxvalue="69" />
			<item caption="Closed while Moving" value="75" minvalue="70" maxvalue="79" />
			<item caption="Open while Moving" value="85" minvalue="80" maxvalue="89" />
			<item caption="Closed while Colorchange" value="95" minvalue="90" maxvalue="99" />
			<item caption="Open while Colorchange" value="105" minvalue="100" maxvalue="109" />
			<item caption="Closed while Gobochange" value="115" minvalue="110" maxvalue="119" />
			<item caption="Open while Gobochange" value="125" minvalue="120" maxvalue="129" />
			<item caption="No Function" value="165" minvalue="130" maxvalue="199" />
			<item caption="Reset all" value="205" minvalue="200" maxvalue="209" />
			<item caption="No Function" value="255" minvalue="210" maxvalue="255" />
		</dropdown>
		<label top="474" left="204" caption="Function" />
		<line y1="268" x1="0" y2="268" x2="388" />
		<line y1="468" x1="0" y2="468" x2="388" />
		<slider top="382" left="196" height="35" width="193" startvalue="0" endvalue="127" name="prism_slider1" action="SetPrism" />
		<label top="370" left="204" caption="Prismaindex" />
		<slider top="430" left="196" height="35" width="193" startvalue="0" endvalue="63" name="prism_slider2" action="SetPrism" />
		<label top="218" left="204" caption="Goborainbow Speed" />
		<onoff top="286" left="206" width="172" height="30" onvalue="255" offvalue="0" caption="Prisma" />
		<label top="326" left="204" caption="Prismarotation" />
		<dropdown top="344" left="204" width="177" action="SetPrism" name="prism_drop">
			<item caption="Index CCW" value="0" minvalue="0" maxvalue="127" />
			<item caption="Rotation CCW" value="128" minvalue="128" maxvalue="191" />
			<item caption="Rotation CW" value="192" minvalue="192" maxvalue="255" />
		</dropdown>
	</form>
	<code>
		<procedure name="GetColor">!if|(({channel_4} &gt; 63) and ({channel_4} &lt; 128)) or (({channel_4} &gt; 191) and ({channel_4} &lt; 256))|
 !set_control|color_slider|(({channel_4})mod 64)$
|
 !if|({channel_4} &gt; 127) and ({channel_4} &lt; 192)|
  !set_control|color_slider|(191 - ({channel_4}))$
 $
$</procedure>
		<procedure name="SetColor">!if|(({color_drop} &gt; 63) and ({color_drop} &lt; 256)) or (({color_drop} &gt; 191) and ({color_drop} &lt; 256))|
 !set_channel|4|(({color_drop}) + ({color_slider}))$
|
 !if|({color_drop} &gt; 127) and ({color_drop} &lt; 192)|
  !set_channel|4|(191- ({color_slider}))$
 $
$</procedure>
		<procedure name="GetGobo">!if|({channel_5} &gt; 63) and ({channel_5} &lt; 128)|
 !set_control|gobo_slider1|((({channel_5}) - 66)mod 9)$
|
 !if|({channel_5} &gt; 127) and ({channel_5} &lt; 192)|
  !set_control|gobo_slider2|(({channel_5})-128)$
 |
  !if|({channel_5} &gt; 191) and ({channel_5} &lt; 256)|
   !set_control|gobo_slider2|(255-({channel_5}))$
  $
 $
$</procedure>
		<procedure name="SetGobo">!if|({gobo_drop} &gt; 63) and ({gobo_drop} &lt; 128)|
 !set_channel|5|(({gobo_drop}) - 1 + ({gobo_slider1}))$
|
 !if|({color_drop} &gt; 127) and ({color_drop} &lt; 192)|
  !set_channel|5|(128 + ({gobo_slider2}))$
 |
  !if|({color_drop} &gt; 191) and ({color_drop} &lt; 256)|
   !set_channel|5|(255 - ({gobo_slider2}))$
  $
 $
$</procedure>
		<procedure name="GetShutter">!if|({channel_10} &gt; 15) and ({channel_10} &lt; 132)|
 !set_control|shutter_slider1|(({channel_10}) - 16)$
|
 !if|({channel_10} &gt; 139) and ({channel_10} &lt; 182)|
  !set_control|shutter_slider2|(({channel_10}) - 140)$
 |
  !if|({channel_10} &gt; 189) and ({channel_10} &lt; 232)|
   !set_control|shutter_slider2|(({channel_10}) - 190)$
  $
 $
$</procedure>
		<procedure name="SetShutter">!if|({shutter_drop} &gt; 15) and ({shutter_drop} &lt; 132)|
 !set_channel|10|(({shutter_drop}) + ({shutter_slider1}))$
|
 !if|(({shutter_drop} &gt; 139) and ({shutter_drop} &lt; 182)) or (({shutter_drop} &gt; 189) and ({shutter_drop} &lt; 232))|
  !set_channel|10|(({shutter_drop}) + ({shutter_slider2}))$
 |
  !set_channel|10|({shutter_drop})$
 $
$</procedure>
		<procedure name="GetPrism">!if|({channel_8} &gt; -1) and ({channel_8} &lt;  128)|
 !set_control|prism_slider1|({channel_8})$
|
 !if|({channel_8} &gt; 127) and ({channel_8} &lt; 192)|
  !set_control|prism_slider2|(191 - ({channel_8}))$
 |
  !if|({channel_8} &gt; 191) and ({channel_8} &lt; 256)|
   !set_control|prism_slider2|(({channel_8}) - 192)$
  $
 $
$</procedure>
		<procedure name="SetPrism">!if|({prism_drop} &gt; 0) and ({prism_drop} &lt; 128)|
 !set_channel|8|({prism_slider1})$
|
 !if|({prism_drop} &gt; 127) and ({prism_drop} &lt; 192)|
  !set_channel|8|(191 - ({prism_slider2}))$
 |
  !if|({prism_drop} &gt; 191) and ({prism_drop} &lt; 256)|
   !set_channel|8|(192 + ({prism_slider2}))$
  $
 $
$</procedure>
	</code>
</device>