<?xml version='1.0' encoding='utf-8'?>
<!-- This file automatically generated by make_xone.py. -->
<MixxxControllerPreset mixxxVersion="" schemaVersion="1">
    <info>
        <name>Allen&amp;Heath Xone K2</name>
        <author>Owen Williams</author>
        <description>Set Xone:K2 latching mode to "Switching Matrix" -- mode 2.<br/> (See product manual for details)</description>
    </info>
    <controller id="XONE:K2">
        <scriptfiles>
            <file filename="Xone-K2-scripts.js" functionprefix="XoneK2"/>
        </scriptfiles>
        <controls>
<!-- CC Controls (knobs and sliders) -->
            <control>
                <group>[Channel1]</group>
                <key>XoneK2.encoderJog1</key>
                <status>0xBF</status>
                <midino>0x0</midino>
                <options>
                    <Script-Binding/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>XoneK2.encoderJog2</key>
                <status>0xBF</status>
                <midino>0x1</midino>
                <options>
                    <Script-Binding/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterHigh</key>
                <status>0xBF</status>
                <midino>0x4</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>volume</key>
                <status>0xBF</status>
                <midino>0x10</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterLow</key>
                <status>0xBF</status>
                <midino>0xc</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterMid</key>
                <status>0xBF</status>
                <midino>0x8</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterHigh</key>
                <status>0xBF</status>
                <midino>0x5</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>volume</key>
                <status>0xBF</status>
                <midino>0x11</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterLow</key>
                <status>0xBF</status>
                <midino>0xd</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterMid</key>
                <status>0xBF</status>
                <midino>0x9</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>beatsync</key>
                <status>0x9F</status>
                <midino>0x34</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>beatsync</key>
                <status>0x8F</status>
                <midino>0x34</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>beatsync</key>
                <status>0x9F</status>
                <midino>0x35</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>beatsync</key>
                <status>0x8F</status>
                <midino>0x35</midino>
                <options>
                    <button/>
                </options>
            </control>
<!-- Upper Buttons -->
            <control>
                <group>[Channel1]</group>
                <key>filterHighKill</key>
                <status>0x9F</status>
                <midino>0x30</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterHighKill</key>
                <status>0x8F</status>
                <midino>0x30</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterMidKill</key>
                <status>0x9F</status>
                <midino>0x2c</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterMidKill</key>
                <status>0x8F</status>
                <midino>0x2c</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterLowKill</key>
                <status>0x9F</status>
                <midino>0x28</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>filterLowKill</key>
                <status>0x8F</status>
                <midino>0x28</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterHighKill</key>
                <status>0x9F</status>
                <midino>0x31</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterHighKill</key>
                <status>0x8F</status>
                <midino>0x31</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterMidKill</key>
                <status>0x9F</status>
                <midino>0x2d</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterMidKill</key>
                <status>0x8F</status>
                <midino>0x2d</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterLowKill</key>
                <status>0x9F</status>
                <midino>0x29</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>filterLowKill</key>
                <status>0x8F</status>
                <midino>0x29</midino>
                <options>
                    <normal/>
                </options>
            </control>
<!-- Lower Button Grid -->
            <control>
                <group>[Channel1]</group>
                <key>pfl</key>
                <status>0x9F</status>
                <midino>0x24</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>pfl</key>
                <status>0x8F</status>
                <midino>0x24</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>keylock</key>
                <status>0x9F</status>
                <midino>0x20</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>keylock</key>
                <status>0x8F</status>
                <midino>0x20</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>cue_default</key>
                <status>0x9F</status>
                <midino>0x1c</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>cue_default</key>
                <status>0x8F</status>
                <midino>0x1c</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>play</key>
                <status>0x9F</status>
                <midino>0x18</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>play</key>
                <status>0x8F</status>
                <midino>0x18</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>beatloop_4</key>
                <status>0x9F</status>
                <midino>0x48</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>beatloop_4</key>
                <status>0x8F</status>
                <midino>0x48</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>loop_double</key>
                <status>0x9F</status>
                <midino>0x44</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>loop_double</key>
                <status>0x8F</status>
                <midino>0x44</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>loop_halve</key>
                <status>0x9F</status>
                <midino>0x40</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>loop_halve</key>
                <status>0x8F</status>
                <midino>0x40</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>reloop_exit</key>
                <status>0x9F</status>
                <midino>0x3c</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>reloop_exit</key>
                <status>0x8F</status>
                <midino>0x3c</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_1_activate</key>
                <status>0x9F</status>
                <midino>0x6c</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_1_activate</key>
                <status>0x8F</status>
                <midino>0x6c</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_2_activate</key>
                <status>0x9F</status>
                <midino>0x68</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_2_activate</key>
                <status>0x8F</status>
                <midino>0x68</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_3_activate</key>
                <status>0x9F</status>
                <midino>0x64</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_3_activate</key>
                <status>0x8F</status>
                <midino>0x64</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_4_activate</key>
                <status>0x9F</status>
                <midino>0x60</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel1]</group>
                <key>hotcue_4_activate</key>
                <status>0x8F</status>
                <midino>0x60</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>pfl</key>
                <status>0x9F</status>
                <midino>0x25</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>pfl</key>
                <status>0x8F</status>
                <midino>0x25</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>keylock</key>
                <status>0x9F</status>
                <midino>0x21</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>keylock</key>
                <status>0x8F</status>
                <midino>0x21</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>cue_default</key>
                <status>0x9F</status>
                <midino>0x1d</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>cue_default</key>
                <status>0x8F</status>
                <midino>0x1d</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>play</key>
                <status>0x9F</status>
                <midino>0x19</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>play</key>
                <status>0x8F</status>
                <midino>0x19</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>beatloop_4</key>
                <status>0x9F</status>
                <midino>0x49</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>beatloop_4</key>
                <status>0x8F</status>
                <midino>0x49</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>loop_double</key>
                <status>0x9F</status>
                <midino>0x45</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>loop_double</key>
                <status>0x8F</status>
                <midino>0x45</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>loop_halve</key>
                <status>0x9F</status>
                <midino>0x41</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>loop_halve</key>
                <status>0x8F</status>
                <midino>0x41</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>reloop_exit</key>
                <status>0x9F</status>
                <midino>0x3d</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>reloop_exit</key>
                <status>0x8F</status>
                <midino>0x3d</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_1_activate</key>
                <status>0x9F</status>
                <midino>0x6d</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_1_activate</key>
                <status>0x8F</status>
                <midino>0x6d</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_2_activate</key>
                <status>0x9F</status>
                <midino>0x69</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_2_activate</key>
                <status>0x8F</status>
                <midino>0x69</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_3_activate</key>
                <status>0x9F</status>
                <midino>0x65</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_3_activate</key>
                <status>0x8F</status>
                <midino>0x65</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_4_activate</key>
                <status>0x9F</status>
                <midino>0x61</midino>
                <options>
                    <button/>
                </options>
            </control>
            <control>
                <group>[Channel2]</group>
                <key>hotcue_4_activate</key>
                <status>0x8F</status>
                <midino>0x61</midino>
                <options>
                    <button/>
                </options>
            </control>
<!-- Special Case Knobs / buttons -->
            <control>
                <group>[Playlist]</group>
                <key>XoneK2.rightBottomKnob</key>
                <status>0xBF</status>
                <midino>0x15</midino>
                <options>
                    <Script-Binding/>
                </options>
            </control>
            <control>
                <group>[Playlist]</group>
                <key>LoadSelectedIntoFirstStopped</key>
                <status>0x9F</status>
                <midino>0x0E</midino>
                <options>
                    <normal/>
                </options>
            </control>
            <control>
                <group>[Master]</group>
                <key>XoneK2.leftBottomKnob</key>
                <status>0xBF</status>
                <midino>0x14</midino>
                <options>
                    <Script-Binding/>
                </options>
            </control>
            <control>
                <group>[Master]</group>
                <key>XoneK2.shift_on</key>
                <status>0x9F</status>
                <midino>0xF</midino>
                <options>
                    <Script-Binding/>
                </options>
            </control>
            <control>
                <group>[Master]</group>
                <key>XoneK2.shift_on</key>
                <status>0x8F</status>
                <midino>0xF</midino>
                <options>
                    <Script-Binding/>
                </options>
            </control>
        </controls>
        <outputs>
<!-- Knob lights -->
            <output>
                <group>[Channel1]</group>
                <key>filterHighKill</key>
                <status>0x9F</status>
                <midino>0x30</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>filterMidKill</key>
                <status>0x9F</status>
                <midino>0x2c</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>filterLowKill</key>
                <status>0x9F</status>
                <midino>0x28</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>filterHighKill</key>
                <status>0x9F</status>
                <midino>0x31</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>filterMidKill</key>
                <status>0x9F</status>
                <midino>0x2d</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>filterLowKill</key>
                <status>0x9F</status>
                <midino>0x29</midino>
                <minimum>0.5</minimum>
            </output>
<!-- Button lights -->
            <output>
                <group>[Channel1]</group>
                <key>pfl</key>
                <status>0x9F</status>
                <midino>0x24</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>keylock</key>
                <status>0x9F</status>
                <midino>0x20</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>cue_default</key>
                <status>0x9F</status>
                <midino>0x1c</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>play</key>
                <status>0x9F</status>
                <midino>0x18</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>beatloop_4</key>
                <status>0x9F</status>
                <midino>0x48</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>loop_double</key>
                <status>0x9F</status>
                <midino>0x44</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>loop_halve</key>
                <status>0x9F</status>
                <midino>0x40</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>loop_enabled</key>
                <status>0x9F</status>
                <midino>0x3c</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>hotcue_1_enabled</key>
                <status>0x9F</status>
                <midino>0x6c</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>hotcue_2_enabled</key>
                <status>0x9F</status>
                <midino>0x68</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>hotcue_3_enabled</key>
                <status>0x9F</status>
                <midino>0x64</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel1]</group>
                <key>hotcue_4_enabled</key>
                <status>0x9F</status>
                <midino>0x60</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>pfl</key>
                <status>0x9F</status>
                <midino>0x25</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>keylock</key>
                <status>0x9F</status>
                <midino>0x21</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>cue_default</key>
                <status>0x9F</status>
                <midino>0x1d</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>play</key>
                <status>0x9F</status>
                <midino>0x19</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>beatloop_4</key>
                <status>0x9F</status>
                <midino>0x49</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>loop_double</key>
                <status>0x9F</status>
                <midino>0x45</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>loop_halve</key>
                <status>0x9F</status>
                <midino>0x41</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>loop_enabled</key>
                <status>0x9F</status>
                <midino>0x3d</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>hotcue_1_enabled</key>
                <status>0x9F</status>
                <midino>0x6d</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>hotcue_2_enabled</key>
                <status>0x9F</status>
                <midino>0x69</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>hotcue_3_enabled</key>
                <status>0x9F</status>
                <midino>0x65</midino>
                <minimum>0.5</minimum>
            </output>
            <output>
                <group>[Channel2]</group>
                <key>hotcue_4_enabled</key>
                <status>0x9F</status>
                <midino>0x61</midino>
                <minimum>0.5</minimum>
            </output>
        </outputs>
    </controller>
</MixxxControllerPreset>