<?xml version="1.0" encoding="utf-8"?>
    <MixxxMIDIPreset mixxxVersion="1.8.0+" schemaVersion="1" >
	<info>
		<name>Ion Discover DJ</name>
		<author>Rick Prokup</author>
		<description>This preset provides functionality for the Ion Discover DJ controller for Mixxx</description>
                <forums>http://www.mixxx.org/forums/viewtopic.php?f=7&amp;t=939</forums>
	</info>
        <controller id="Ion Discover DJ" >
        	<scriptfiles>
			<file filename="Ion-Discover-DJ-scripts.js" functionprefix="IonDiscoverDJ"/>
        	</scriptfiles>
            <controls>

                <control>
                    <status>0x90</status>
                    <midino>0x43</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.volCh1Down</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x44</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.volCh1Up</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x45</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.volCh2Down</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x46</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.volCh2Up</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x11</midino>
                    <group>[Channel2]</group>
                    <key>filterHigh</key>
                    <options>
                        <normal/>
                    </options>
                </control>
               <control>
                    <status>0xb0</status>
                    <midino>0x10</midino>
                    <group>[Channel1]</group>
                    <key>filterHigh</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x47</midino>
                    <group>[Channel2]</group>
                    <key>beatsync</key>
                    <options>
                        <normal/>
                    </options>
                </control>
	        <control>
                    <status>0x90</status>
                    <midino>0x40</midino>
                    <group>[Channel1]</group>
                    <key>beatsync</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x14</midino>
                    <group>[Channel1]</group>
                    <key>filterMid</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x15</midino>
                    <group>[Channel2]</group>
                    <key>filterMid</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x17</midino>
                    <group>[Master]</group>
                    <key>volume</key>
                    <options>
                        <normal/>
                    </options>
                </control>


                <control>
                    <status>0x80</status>
                    <midino>0x42</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.pflCh2Off</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
		              <status>0x80</status>
                    <midino>0x3b</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.pflCh1Off</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x42</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.pflCh2On</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
		<control>
                    <status>0x90</status>
                    <midino>0x3b</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.pflCh1On</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x1a</midino>
                    <group>[Playlist]</group>
                    <key>SelectTrackKnob</key>
                    <options>
                        <selectknob/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x4f</midino>
                    <group>[Playlist]</group>
                    <key>LoadSelectedIntoFirstStopped</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x4a</midino>
                    <group>[Channel1]</group>
                    <key>play</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x4c</midino>
                    <group>[Channel2]</group>
                    <key>play</key>
                    <options>
                        <normal/>
                    </options>
                </control>
		<control>
                    <status>0x90</status>
                    <midino>0x4a</midino>
                    <group>[Channel1]</group>
                    <key>play</key>
                    <options>
                        <normal/>
                    </options>
                </control>
		<control>
                    <status>0x90</status>
                    <midino>0x4c</midino>
                    <group>[Channel2]</group>
                    <key>play</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x33</midino>
                    <group>[Channel1]</group>
			           <key>IonDiscoverDJ.reversek</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x3c</midino>
                    <group>[Channel2]</group>
			           <key>IonDiscoverDJ.reversek</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x33</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.reversek</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x3c</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.reversek</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x34</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.LoadSelectedTrackCh2</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
		          <control>
                    <status>0x90</status>
                    <midino>0x4b</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.LoadSelectedTrackCh1</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x8</midino>
                    <group>[Channel1]</group>
                    <key>filterLow</key>
                    <options>
                        <normal/>
                    </options>
                </control>

                <control>
                    <status>0xb0</status>
                    <midino>0x9</midino>
                    <group>[Channel2]</group>
                    <key>filterLow</key>
                    <options>
                        <normal/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0xa</midino>
                    <group>[Master]</group>
                    <key>crossfader</key>
                    <options>
                        <invert/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x48</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.toggle_scratch_mode_on</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x48</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.toggle_scratch_mode_off</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>

                <control>
                    <status>0x90</status>
                    <midino>0x4d</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.jog_touch</key>
                    <options>
                       <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x4d</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.jog_touch</key>
                    <options>
                       <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x4e</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.jog_touch</key>
                    <options>
                       <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x4e</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.jog_touch</key>
                    <options>
                       <Script-Binding/>
                    </options>
                </control>

                <control>
                    <status>0xb0</status>
                    <midino>0x19</midino>
                    <group>[Channel1]</group>
                    <key>IonDiscoverDJ.jog_wheel</key>
                    <options>
                                  <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0xb0</status>
                    <midino>0x18</midino>
                    <group>[Channel2]</group>
                    <key>IonDiscoverDJ.jog_wheel</key>
                    <options>
                                  <Script-Binding/>
                    </options>
                </control>
                <!-- <control>
                    <status>0x90</status>
                    <midino>0x4d</midino>
                    <key>IonDiscoverDJ.deck_hold</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x90</status>
                    <midino>0x4e</midino>
                    <key>IonDiscoverDJ.deck_hold </key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x4d</midino>
                    <key>IonDiscoverDJ.deck_release</key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>
                <control>
                    <status>0x80</status>
                    <midino>0x4e</midino>
                    <key>IonDiscoverDJ.deck_release </key>
                    <options>
                        <Script-Binding/>
                    </options>
                </control>     -->
            </controls>
        </controller>
    </MixxxMIDIPreset>
