<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- version 1 - 2026-07-25 - PB - new file - function swapping pane for the non-sound decoders -->
<!-- Copyright (C) JMRI 2001, 2005, 2007, 2-009, 2010 All rights reserved -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->
<pane xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder-4-15-2.xsd" exclude="130,131,132,133,134">
  <!-- Function swapping pane for the NON-SOUND decoders (CV401-412, range 0-29).            -->
  <!-- The sound decoders have their own Pane_function_swapping.xml, whose numeric legend     -->
  <!-- also covers the sound-only values 30-46. Here the choices are shown by name in the     -->
  <!-- drop-downs, so no numeric legend is needed.                                            -->
  <!-- CV137 bit 6 is shown here too: it decides whether these swappings also apply to SUSI.  -->
  <!-- The exclude on the pane element is required, not just on the variables: this is a      -->
  <!-- CUSTOM pane name, and custom panes always show even when empty, regardless of the      -->
  <!-- showEmptyPanes="no" on the decoder-config. Only a pane-level exclude suppresses it.    -->
  <name>Function Swapping</name>
  <name xml:lang="fr">Permutation de fonctions</name>
  <name xml:lang="de">Funktionsvertauschung</name>
  <column>
    <row>
      <column>
        <display item="Function Swapping F1"/>
        <display item="Function Swapping F2"/>
        <display item="Function Swapping F3"/>
        <display item="Function Swapping F4"/>
        <display item="Function Swapping F5"/>
        <display item="Function Swapping F6"/>
      </column>
      <column>
        <label><text>     </text></label>
      </column>
      <column>
        <display item="Function Swapping F7"/>
        <display item="Function Swapping F8"/>
        <display item="Function Swapping F9"/>
        <display item="Function Swapping F10"/>
        <display item="Function Swapping F11"/>
        <display item="Function Swapping F12"/>
      </column>
    </row>
    <separator/>
    <row>
      <column>
        <display item="Adopt function swapping for SUSI" format="checkbox"/>
      </column>
    </row>
  </column>
</pane>
