<BespokeEvents>
  <Aircraft
    Name="Any Aircraft">
    <Events>
      <Event
        Name="EFIS_MAP_SUBMODE_APP"
        ID="4"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_submode"
          Data="0" />
      </Event>
      <Event
        Name="EFIS_MAP_SUBMODE_VOR"
        ID="5"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_submode"
          Data="1" />
      </Event>
      <Event
        Name="EFIS_MAP_SUBMODE_MAP"
        ID="6"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_submode"
          Data="2" />
      </Event>
      <Event
        Name="EFIS_MAP_SUBMODE_NAV"
        ID="7"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_submode"
          Data="3" />
      </Event>
      <Event
        Name="EFIS_MAP_SUBMODE_PLN"
        ID="8"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_submode"
          Data="4" />
      </Event>
      <Event
        Name="EFIS_MAPMODE_ON"
        ID="9"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_mode"
          Data="1" />
      </Event>
      <Event
        Name="EFIS_MAPMODE_OFF"
        ID="10"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_mode"
          Data="0" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_10"
        ID="11"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="0" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_20"
        ID="12"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="1" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_40"
        ID="13"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="2" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_80"
        ID="14"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="3" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_160"
        ID="15"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="4" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_320"
        ID="16"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="5" />
      </Event>
      <Event
        Name="EFIS_MAP_RANGE_640"
        ID="17"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_range_selector"
          Data="6" />
      </Event>
      <Event
        Name="EFIS_DME1_ADF"
        ID="18"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_dme_1_selector"
          Data="0" />
      </Event>
      <Event
        Name="EFIS_DME1_OFF"
        ID="19"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_dme_1_selector"
          Data="1" />
      </Event>
      <Event
        Name="EFIS_DME1_VOR"
        ID="20"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_dme_1_selector"
          Data="2" />
      </Event>
      <Event
        Name="EFIS_DME2_ADF"
        ID="21"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_dme_2_selector"
          Data="0" />
      </Event>
      <Event
        Name="EFIS_DME2_OFF"
        ID="22"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_dme_2_selector"
          Data="1" />
      </Event>
      <Event
        Name="EFIS_DME2_VOR"
        ID="23"
        Backgnd="False">
        <Task
          ID="0"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_dme_2_selector"
          Data="2" />
      </Event>
      <Event
        Name="EFIS_MAPMODE_TOGGLE"
        ID="24"
        Backgnd="False">
        <Task
          ID="0"
          Type="If"
          Var="sim/cockpit/switches/EFIS_map_mode"
          Operator="EQUALS"
          Value="0" />
        <Task
          ID="2"
          Type="Goto"
          LabelID="1" />
        <Task
          ID="4"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_mode"
          Data="0" />
        <Task
          ID="6"
          Type="Goto"
          LabelID="5" />
        <Task
          ID="1"
          Type="Label"
          Name="SETTO1" />
        <Task
          ID="3"
          Type="Set"
          Var="sim/cockpit/switches/EFIS_map_mode"
          Data="1" />
        <Task
          ID="5"
          Type="Label"
          Name="END" />
      </Event>
    </Events>
  </Aircraft>
</BespokeEvents>