title = "Settings for the ToLiss Airbus A321"
version = "0.60"
# Behringer X-Touch Mini
[[device]]
name = "Behringer X-Touch Mini"
port_in = 0
port_out = 1
mapping_in = [
#--------------------------------------------------------------------------------------------------------------------
# Layer A
#--------------------------------------------------------------------------------------------------------------------
# Encoders
{ ch = 11, cc = 1, type = "enc", command_up = "sim/instruments/barometer_up", command_down = "sim/instruments/barometer_down" },
{ ch = 11, cc = 2, type = "enc", command_up = "sim/instruments/EFIS_mode_up", command_down = "sim/instruments/EFIS_mode_dn" },
{ ch = 11, cc = 3, type = "enc", command_up = "sim/instruments/map_zoom_out", command_down = "sim/instruments/map_zoom_in" },
{ ch = 11, cc = 4, type = "enc", command_up = "sim/autopilot/airspeed_up", command_down = "sim/autopilot/airspeed_down" },
{ ch = 11, cc = 5, type = "enc", command_up = "sim/autopilot/heading_up", command_down = "sim/autopilot/heading_down" },
{ ch = 11, cc = 6, type = "enc", command_up = "sim/autopilot/altitude_up", command_down = "sim/autopilot/altitude_down" },
{ ch = 11, cc = 7, type = "enc", command_up = "sim/autopilot/vertical_speed_up", command_down = "sim/autopilot/vertical_speed_down" },
# encoder_cmd Buttons
{ ch = 11, cc = 10, type = "cmd", command = "toliss_airbus/dispcommands/CaptCstrPushButton" },
{ ch = 11, cc = 11, type = "cmd", command = "toliss_airbus/dispcommands/TerrOnND1Toggle" },
{ ch = 11, cc = 12, type = "pnp", command_push = "toliss_airbus/spd_pull", command_pull = "toliss_airbus/spd_push" },
{ ch = 11, cc = 13, type = "pnp", command_push = "AirbusFBW/PushHDGSel", command_pull = "AirbusFBW/PullHDGSel" },
{ ch = 11, cc = 14, type = "pnp", command_push = "AirbusFBW/PushAltitude", command_pull = "AirbusFBW/PullAltitude" },
{ ch = 11, cc = 15, type = "pnp", command_push = "toliss_airbus/vs_push", command_pull = "AirbusFBW/PullVSSel" },
{ ch = 11, cc = 16, type = "cmd", command = "sim/transponder/transponder_ident" },
# Buttons Upper Row
{ ch = 11, cc = 17, type = "cmd", command = "sim/annunciator/clear_master_warning" },
{ ch = 11, cc = 18, type = "cmd", command = "toliss_airbus/fd1_push" },
{ ch = 11, cc = 19, type = "cmd", command = "toliss_airbus/dispcommands/CaptLSButtonPush" },
{ ch = 11, cc = 20, type = "cmd", command = "sim/autopilot/knots_mach_toggle" },
{ ch = 11, cc = 21, type = "cmd", command = "toliss_airbus/hdgtrk_button_push" },
{ ch = 11, cc = 22, type = "drf", dataref = "AirbusFBW/ALT100_1000", value_on = "1", value_off = "0" },
{ ch = 11, cc = 23, type = "cmd", command = "AirbusFBW/EXPEDbutton" },
# Buttons Lower Row
{ ch = 11, cc = 25, type = "cmd", command = "sim/annunciator/clear_master_caution" },
{ ch = 11, cc = 26, type = "cmd", command = "AirbusFBW/TOConfigPress" },
{ ch = 11, cc = 27, type = "drf", dataref = "AirbusFBW/ClockETSwitch", value_on = "1", value_off = "0" },
{ ch = 11, cc = 28, type = "cmd", command = "toliss_airbus/ap1_push" },
{ ch = 11, cc = 29, type = "cmd", command = "AirbusFBW/ATHRbutton" },
{ ch = 11, cc = 30, type = "cmd", command = "toliss_airbus/ap2_push" },
{ ch = 11, cc = 31, type = "cmd", command = "AirbusFBW/APPRbutton" },