Пример shift:
<?xml version="1.0"?>
<!-- X45 Script -->
<x45script>
<command_list>
<command value="load_mode_1">
<dx_button value="2" ><action value="release"/><time_delay value="0"/></dx_button>
<load_config value="mode_1"/>
</command>
<command value="load_mode_2">
<dx_button value="1" ><action value="release"/><time_delay value="0"/></dx_button>
<load_config value="mode_2"/>
</command>
<command value="dx1_press" ><dx_button value="1" ><action value="press" /><time_delay value="0"/></dx_button></command>
<command value="dx1_release" ><dx_button value="1" ><action value="release"/><time_delay value="0"/></dx_button></command>
<command value="dx2_press" ><dx_button value="2" ><action value="press" /><time_delay value="0"/></dx_button></command>
<command value="dx2_release" ><dx_button value="2" ><action value="release"/><time_delay value="0"/></dx_button></command>
</command_list>
<chain_list>
</chain_list>
<config_list>
<config value="mode_1">
<frobbable value="Trigger"><action value="press" /><mapped_command value="dx1_press" /></frobbable>
<frobbable value="Trigger"><action value="release"/><mapped_command value="dx1_release"/></frobbable>
<frobbable value="Pinkie" ><action value="press" /><mapped_command value="load_mode_2"/></frobbable>
</config>
<config value="mode_2">
<frobbable value="Trigger"><action value="press" /><mapped_command value="dx2_press" /></frobbable>
<frobbable value="Trigger"><action value="release"/><mapped_command value="dx2_release"/></frobbable>
<frobbable value="Pinkie" ><action value="release"/><mapped_command value="load_mode_1"/></frobbable>
</config>
</config_list>
</x45script>