diff --git a/InputCommands/Mirage-F1/Input/Common/joystick/default.lua b/InputCommands/Mirage-F1/Input/Common/joystick/default.lua index d1cf9a5..78421f4 100644 --- a/InputCommands/Mirage-F1/Input/Common/joystick/default.lua +++ b/InputCommands/Mirage-F1/Input/Common/joystick/default.lua @@ -4,9 +4,6 @@ return { {down = iCommandPlaneAirBrakeOff, up = iCommandPlaneAirBrakeOn, name = _('Airbrake Off else On (2-way Switch)'), category = {_('Systems'), _('Custom')}}, {down = iCommandPlaneAirBrakeOn, up = iCommandPlaneAirBrakeOff, name = _('Airbrake On else Off (2-way Switch)'), category = {_('Systems'), _('Custom')}}, - {down = iCommandPlaneFlapsOff, up = iCommandPlaneFlapsOn, name = _('Flaps Up else Landing Position (2-way Switch)'), category = {_('Systems'), _('Custom')}}, - {down = iCommandPlaneFlapsOn, up = iCommandPlaneFlapsOff, name = _('Flaps Landing Position else Up (2-way Switch)'), category = {_('Systems'), _('Custom')}}, - {down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear Up else Down (2-way Switch)'), category = {_('Systems'), _('Custom')}}, {down = iCommandPlaneGearDown, up = iCommandPlaneGearUp, name = _('Landing Gear Down else Up (2-way Switch)'), category = {_('Systems'), _('Custom')}}, @@ -32,25 +29,32 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd24, up = devCmds.Cmd24, value_down = 0, value_up = 0.5, name = _('ARTHUR selector switch - AUTO else HIGH (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd24, up = devCmds.Cmd24, value_down = 1, value_up = 0.5, name = _('ARTHUR selector switch - LOW else HIGH (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 0, value_up = 1, name = _('Yaw/Anti-slip switch - OFF else ON (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 1, value_up = 0, name = _('Yaw/Anti-slip switch - ON else OFF (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 0, value_up = 0.5, name = _('Yaw/Anti-slip switch - OFF else YAW (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 1, value_up = 0.5, name = _('Yaw/Anti-slip switch - ANTI-SLIP else YAW (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd26, up = devCmds.Cmd26, value_down = 0, value_up = 1, name = _('Pitch switch - OFF else ON (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd26, up = devCmds.Cmd26, value_down = 1, value_up = 0, name = _('Pitch switch - ON else OFF (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, + -- Autopilot + + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = -0.5, name=_('Autopilot intensity control decrease (Slow)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = 0.5, name=_('Autopilot intensity control increase (Slow)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = -2, name=_('Autopilot intensity control decrease (Fast)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = 2, name=_('Autopilot intensity control increase (Fast)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- Engine and fuel controls - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd53, up = devCmds.Cmd53, value_down = -1, value_up = 0, name = _('Ignition/Ventilation selector switch - VENTIL else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd53, up = devCmds.Cmd53, value_down = 1, value_up = 0, name = _('Ignition/Ventilation selector switch - L/H else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = -1, value_up = 0, name = _('Ignition/Ventilation selector switch - VENTIL else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = 1, value_up = 0, name = _('Ignition/Ventilation selector switch - L/H else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = -0.1, value_up = 1.1, name = _('Start button cover - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = 1.1, value_up = -0.1, name = _('Start button cover - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd55, up = devCmds.Cmd55, value_down = -0.1, value_up = 1.1, name = _('Start button cover - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd55, up = devCmds.Cmd55, value_down = 1.1, value_up = -0.1, name = _('Start button cover - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd56, up = devCmds.Cmd56, value_down = -0.1, value_up = 1.1, name = _('LP main cock switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd56, up = devCmds.Cmd56, value_down = 1.1, value_up = -0.1, name = _('LP main cock switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = -0.1, value_up = 1.1, name = _('LP main cock switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = 1.1, value_up = -0.1, name = _('LP main cock switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = 0, value_up = 1, name = _('LP main cock switch - OPEN else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = 1, value_up = 0, name = _('LP main cock switch - OFF else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd58, up = devCmds.Cmd58, value_down = 0, value_up = 1, name = _('LP main cock switch - OPEN else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd58, up = devCmds.Cmd58, value_down = 1, value_up = 0, name = _('LP main cock switch - OFF else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd62, up = devCmds.Cmd62, value_down = 0, value_up = 1, name = _('JPT emergency regulation switch - OFF else AUTO (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd62, up = devCmds.Cmd62, value_down = 1, value_up = 0, name = _('JPT emergency regulation switch - AUTO else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, @@ -70,8 +74,8 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd67, up = devCmds.Cmd67, value_down = 0, value_up = 1, name = _('L/H LP pump switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd67, up = devCmds.Cmd67, value_down = 1, value_up = 0, name = _('L/H LP pump switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd71, up = devCmds.Cmd71, value_down = 0, value_up = 1, name = _('Firing fuel dipper switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd71, up = devCmds.Cmd71, value_down = 1, value_up = 0, name = _('Firing fuel dipper switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd72, up = devCmds.Cmd72, value_down = 0, value_up = 1, name = _('Firing fuel dipper switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd72, up = devCmds.Cmd72, value_down = 1, value_up = 0, name = _('Firing fuel dipper switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, -- Fuel quantity indicator @@ -112,56 +116,106 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd101, up = devCmds.Cmd101, value_down = 1, value_up = 1/3, name = _('Radar control stick scale selection - 60NM else 15NM (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd101, up = devCmds.Cmd101, value_down = 1, value_up = 2/3, name = _('Radar control stick scale selection - 60NM else 35NM (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, value_down = 0.5, name = _('Radar control stick scan selection - 30°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, value_down = 1.01, name = _('Radar control stick scan selection - 60°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, up = devCmds.Cmd102, value_down = 0.5, value_up = 1, name = _('Radar control stick scan selection - 30° else 60° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, up = devCmds.Cmd102, value_down = 1, value_up = 0.5, name = _('Radar control stick scan selection - 60° else 30° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, value_down = 0.5, name = _('Radar control stick scan selection - 30°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, value_down = 1.01, name = _('Radar control stick scan selection - 60°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, up = devCmds.Cmd103, value_down = 0.5, value_up = 1, name = _('Radar control stick scan selection - 30° else 60° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, up = devCmds.Cmd103, value_down = 1, value_up = 0.5, name = _('Radar control stick scan selection - 60° else 30° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - -- High-lift devices + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd106, value_pressed = 0.5, name=_('Radar control stick bearing control - right (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd107, value_pressed = 0.5, name=_('Radar control stick bearing control - left (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd106, value_pressed = 2, name=_('Radar control stick bearing control - right (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd107, value_pressed = 2, name=_('Radar control stick bearing control - left (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd120, value_down = 0.5, name = _('Slat/Flap lever - MIDDLE'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd120, up = devCmds.Cmd120, value_down = 0, value_up = 0.5, name = _('Slat/Flap lever - UP else MIDDLE (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd120, up = devCmds.Cmd120, value_down = 1, value_up = 0.5, name = _('Slat/Flap lever - DOWN else MIDDLE (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd109, value_pressed = 0.5, name=_('Radar control stick range/velocity control - increase (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd110, value_pressed = 0.5, name=_('Radar control stick range/velocity control - decrease (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd109, value_pressed = 2, name=_('Radar control stick range/velocity control - increase (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd110, value_pressed = 2, name=_('Radar control stick range/velocity control - decrease (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd114, value_pressed = 0.5, name=_('Radar control stick gain control wheel - increase (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd115, value_pressed = 0.5, name=_('Radar control stick gain control wheel - decrease (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd114, value_pressed = 2, name=_('Radar control stick gain control wheel - increase (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd115, value_pressed = 2, name=_('Radar control stick gain control wheel - decrease (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + + -- High-lift devices - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd121, up = devCmds.Cmd121, value_down = -1, value_up = 0, name = _('High-lift device selector switch - EMG. RETR. else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd121, up = devCmds.Cmd121, value_down = 1, value_up = 0, name = _('High-lift device selector switch - NORMAL else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd123, up = devCmds.Cmd123, value_down = -1, value_up = 0, name = _('High-lift device selector switch - EMG. RETR. else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd123, up = devCmds.Cmd123, value_down = 1, value_up = 0, name = _('High-lift device selector switch - NORMAL else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, -- Radio selector unit - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd125, up = devCmds.Cmd125, value_down = 0, value_up = 1, name = _('AMPLI 2-1" selector switch - 2 else 1 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd125, up = devCmds.Cmd125, value_down = 1, value_up = 0, name = _('AMPLI 2-1" selector switch - 1 else 2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = -0.5, name=_('MISS potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = 0.5, name=_('MISS potentiometer - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = -2, name=_('MISS potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = 2, name=_('MISS potentiometer - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - -- V/UHF radio control unit (TRT - TRAP 136) + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = -0.5, name=_('TAC potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = 0.5, name=_('TAC potentiometer - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = -2, name=_('TAC potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = 2, name=_('TAC potentiometer - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = -0.5, name=_('VOR potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = 0.5, name=_('VOR potentiometer - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = -2, name=_('VOR potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = 2, name=_('VOR potentiometer - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd130, up = devCmds.Cmd130, value_down = 0, value_up = 1, name = _('AMPLI 2-1" selector switch - 2 else 1 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd130, up = devCmds.Cmd130, value_down = 1, value_up = 0, name = _('AMPLI 2-1" selector switch - 1 else 2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = -0.5, name=_('U + V pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = 0.5, name=_('U + V pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = -2, name=_('U + V pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = 2, name=_('U + V pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd136, up = devCmds.Cmd136, value_down = -1, value_up = 1, name = _('V/UHF control unit test selector switch - R else E + A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd136, up = devCmds.Cmd136, value_down = 1, value_up = -1, name = _('V/UHF control unit test selector switch - E + A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = -0.5, name=_('U pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = 0.5, name=_('U pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = -2, name=_('U pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = 2, name=_('U pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd137, up = devCmds.Cmd137, value_down = -1, value_up = 1, name = _('SIL switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd137, up = devCmds.Cmd137, value_down = 1, value_up = -1, name = _('SIL switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = -0.5, name=_('RAP + CME pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = 0.5, name=_('RAP + CME pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = -2, name=_('RAP + CME pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = 2, name=_('RAP + CME pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = -0.5, name=_('MKR + TP pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = 0.5, name=_('MKR + TP pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = -2, name=_('MKR + TP pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = 2, name=_('MKR + TP pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + -- V/UHF radio control unit (TRT - TRAP 136) - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, value_down = -1, name = _('V/UHF control unit function selector - Counterclockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, value_down = 1, name = _('V/UHF control unit function selector - Clockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = -1, value_up = 1, name = _('V/UHF control unit test selector switch - R else E + A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = 1, value_up = -1, name = _('V/UHF control unit test selector switch - E + A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 0, value_up = 1, name = _('25W - 5W switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 1, value_up = 0, name = _('25W - 5W switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, up = devCmds.Cmd146, value_down = -1, value_up = 1, name = _('SIL switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, up = devCmds.Cmd146, value_down = 1, value_up = -1, name = _('SIL switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, value_down = 0, name = _('Frequency selector switch - M'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, value_down = 0.5, name = _('Frequency selector switch - P'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, value_down = 1, name = _('Frequency selector switch - G'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = 0, value_up = 0.5, name = _('Frequency selector switch - M else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = 1, value_up = 0.5, name = _('Frequency selector switch - G else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd159, up = devCmds.Cmd159, value_down = 0, value_up = 1, name = _('25W - 5W switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd159, up = devCmds.Cmd159, value_down = 1, value_up = 0, name = _('25W - 5W switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, value_down = -1, name = _('V/UHF control unit channel selector - Counterclockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, value_down = 1, name = _('V/UHF control unit channel selector - Clockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, value_down = 0, name = _('Frequency selector switch - M'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, value_down = 0.5, name = _('Frequency selector switch - P'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, value_down = 1, name = _('Frequency selector switch - G'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, up = devCmds.Cmd160, value_down = 0, value_up = 0.5, name = _('Frequency selector switch - M else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, up = devCmds.Cmd160, value_down = 1, value_up = 0.5, name = _('Frequency selector switch - G else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, -- Engine emergency regulation + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = -0.5, name=_('Emergency regulation light - Decrease (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = 0.5, name=_('Emergency regulation light - Increase (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = -2, name=_('Emergency regulation light - Decrease (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = 2, name=_('Emergency regulation light - Increase (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd167, up = devCmds.Cmd167, value_down = -0.1, value_up = 1.1, name = _('Emergency regulation switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd167, up = devCmds.Cmd167, value_down = 1.1, value_up = -0.1, name = _('Emergency regulation switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd168, up = devCmds.Cmd168, value_down = 0, value_up = 1, name = _('Emergency regulation switch - OFF else ON (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd168, up = devCmds.Cmd168, value_down = 1, value_up = 0, name = _('Emergency regulation switch - ON else OFF (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd170, up = devCmds.Cmd170, value_down = -0.5, value_up = 0, name=_('Emergency regulation control lever - Aft/Decrease (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd169, up = devCmds.Cmd169, value_down = 0.5, value_up = 0, name=_('Emergency regulation control lever - Forward/Increase (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd170, up = devCmds.Cmd170, value_down = -2, value_up = 0, name=_('Emergency regulation control lever - Aft/Decrease (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd169, up = devCmds.Cmd169, value_down = 2, value_up = 0, name=_('Emergency regulation control lever - Forward/Increase (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd171, up = devCmds.Cmd171, value_down = 0, value_up = 1, name = _('Brake chute control - Forward/Drop else Aft/Open (2-way Switch)'), category = {_('Left wall'), _('Systems'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd171, up = devCmds.Cmd171, value_down = 1, value_up = 0, name = _('Brake chute control - Aft/Open else Forward/Drop (2-way Switch)'), category = {_('Left wall'), _('Systems'), _('Custom')}}, @@ -196,47 +250,85 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd195, up = devCmds.Cmd195, value_down = 0, value_up = 1, name = _('Anti-skid (SPAD) switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Anti-skid'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd195, up = devCmds.Cmd195, value_down = 1, value_up = 0, name = _('Anti-skid (SPAD) switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Anti-skid'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd197, up = devCmds.Cmd197, value_down = 0, value_up = 1, name = _('Nose wheel steering switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd197, up = devCmds.Cmd197, value_down = 1, value_up = 0, name = _('Nose wheel steering switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 0, value_up = 1, name = _('Nose wheel steering switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 1, value_up = 0, name = _('Nose wheel steering switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 0, value_up = 1, name = _('Nose wheel steering switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 1, value_up = 0, name = _('Nose wheel steering switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 0, value_up = 1, name = _('Nose wheel steering switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 1, value_up = 0, name = _('Nose wheel steering switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 0, value_up = 0.5, name = _('Emergency U/C handle - NORMAL else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 1, value_up = 0.5, name = _('Emergency U/C handle - U/C else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 0, value_up = 0.5, name = _('Emergency U/C handle - NORMAL else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 1, value_up = 0.5, name = _('Emergency U/C handle - U/C else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, -- Hydraulic system controls - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 0, value_up = 1, name = _('Hydraulic pressure selector switch - ANC Em.B else 1 SERVO 2 (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 1, value_up = 0, name = _('Hydraulic pressure selector switch - 1 SERVO 2 else ANC Em.B (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 0, value_up = 1, name = _('Hydraulic pressure selector switch - ANC Em.B else 1 SERVO 2 (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 1, value_up = 0, name = _('Hydraulic pressure selector switch - 1 SERVO 2 else ANC Em.B (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 0, value_up = 1, name = _('Electro-pump switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 1, value_up = 0, name = _('Electro-pump switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd202, up = devCmds.Cmd202, value_down = 0, value_up = 1, name = _('Electro-pump switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd202, up = devCmds.Cmd202, value_down = 1, value_up = 0, name = _('Electro-pump switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, -- Clock - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd204, up = devCmds.Cmd204, value_down = 0, value_up = 1, name = _('Clock winding/setting lever - Winding else Setting (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd204, up = devCmds.Cmd204, value_down = 1, value_up = 0, name = _('Clock winding/setting lever - Setting else Winding (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = -0.5, name=_('Clock winding/setting knob - Counterclockwise (Slow)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = 0.5, name=_('Clock winding/setting knob - Clockwise (Slow)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = -2, name=_('Clock winding/setting knob - Counterclockwise (Fast)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = 2, name=_('Clock winding/setting knob - Clockwise (Fast)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd212, up = devCmds.Cmd212, value_down = 0, value_up = 1, name = _('Clock winding/setting lever - Winding else Setting (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd212, up = devCmds.Cmd212, value_down = 1, value_up = 0, name = _('Clock winding/setting lever - Setting else Winding (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + + -- Incidence indicator + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = -0.5, name=_('Incidence indicator lighting rheostat - Decrease (Slow)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = 0.5, name=_('Incidence indicator lighting rheostat - Increase (Slow)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = -2, name=_('Incidence indicator lighting rheostat - Decrease (Fast)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = 2, name=_('Incidence indicator lighting rheostat - Increase (Fast)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, -- Air data instrument controls - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd209, up = devCmds.Cmd209, value_down = 0, value_up = 1, name = _('Probe heater switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd209, up = devCmds.Cmd209, value_down = 1, value_up = 0, name = _('Probe heater switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = -0.5, name=_('Mach/Airspeed indicator reference airspeed knob - Decrease (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = 0.5, name=_('Mach/Airspeed indicator reference airspeed knob - Increase (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = -2, name=_('Mach/Airspeed indicator reference airspeed knob - Decrease (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = 2, name=_('Mach/Airspeed indicator reference airspeed knob - Increase (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = -0.5, name=_('Slaved altimeter barometric pressure setting knob - Decrease (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = 0.5, name=_('Slaved altimeter barometric pressure setting knob - Increase (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = -2, name=_('Slaved altimeter barometric pressure setting knob - Decrease (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = 2, name=_('Slaved altimeter barometric pressure setting knob - Increase (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = -0.5, name=_('Standby altimeter barometric pressure setting knob - Decrease (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = 0.5, name=_('Standby altimeter barometric pressure setting knob - Increase (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = -2, name=_('Standby altimeter barometric pressure setting knob - Decrease (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = 2, name=_('Standby altimeter barometric pressure setting knob - Increase (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd224, up = devCmds.Cmd224, value_down = 0, value_up = 1, name = _('Probe heater switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd224, up = devCmds.Cmd224, value_down = 1, value_up = 0, name = _('Probe heater switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, -- Heading and vertical reference system and standby horizon controls {cockpit_device_id = devices.MAIN, down = devCmds.Cmd230, up = devCmds.Cmd230, value_down = 0, value_up = 1, name = _('Standby horizon switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd230, up = devCmds.Cmd230, value_down = 1, value_up = 0, name = _('Standby horizon switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, +-- Spherical indicator day/night selector switch +-- {pressed = devCmds.Cmd231, cockpit_device_id = devices.MAIN, value_pressed = 1.0, name = _('Spherical indicator day/night selector switch - DAY'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd231, cockpit_device_id = devices.MAIN, value_pressed = -1.0, name = _('Spherical indicator day/night selector switch - NIGHT'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- Spherical indicator pole setting and marker beacon light test +-- {pressed = devCmds.Cmd233, cockpit_device_id = devices.MAIN, value_pressed = 1.0, name = _('Spherical indicator pole setting - P'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd233, cockpit_device_id = devices.MAIN, value_pressed = -1.0, name = _('Spherical indicator pole setting - N'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- Standby horizon uncage and aircraft model control +-- {down = devCmds.Cmd234, up = devCmds.Cmd234, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('Standby horizon uncage'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd236, cockpit_device_id = devices.MAIN, value_pressed = 1.0, name = _('Aircraft model control - UP'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd236, cockpit_device_id = devices.MAIN, value_pressed = -1.0, name = _('Aircraft model control - DOWN'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, + -- Heading control unit - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0, name = _('Heading and vertical reference system control switch - A'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0.3333, name = _('Heading and vertical reference system control switch - GM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0.6666, name = _('Heading and vertical reference system control switch - CM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0.9999, name = _('Heading and vertical reference system control switch - Sec'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0, name = _('Heading and vertical reference system control switch - A'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0.3333, name = _('Heading and vertical reference system control switch - GM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0.6666, name = _('Heading and vertical reference system control switch - CM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0.9999, name = _('Heading and vertical reference system control switch - Sec'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, up = devCmds.Cmd237, value_down = 0, value_up = 1, name = _('Emergency gyromagnetic compass switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, up = devCmds.Cmd237, value_down = 1, value_up = 0, name = _('Emergency gyromagnetic compass switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd239, up = devCmds.Cmd239, value_down = 0, value_up = 1, name = _('Emergency gyromagnetic compass switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd239, up = devCmds.Cmd239, value_down = 1, value_up = 0, name = _('Emergency gyromagnetic compass switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, -- Electrical system controls @@ -254,32 +346,102 @@ return { -- Warning lights - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd283, up = devCmds.Cmd283, value_down = 0, value_up = 1, name = _('Warning horn switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd283, up = devCmds.Cmd283, value_down = 1, value_up = 0, name = _('Warning horn switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = -0.5, name=_('Combat flaps light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = 0.5, name=_('Combat flaps light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = -2, name=_('Combat flaps light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = 2, name=_('Combat flaps light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = -0.5, name=_('Nose wheel steering light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = 0.5, name=_('Nose wheel steering light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = -2, name=_('Nose wheel steering light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = 2, name=_('Nose wheel steering light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = -0.5, name=_('Airbrake light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = 0.5, name=_('Airbrake light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = -2, name=_('Airbrake light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = 2, name=_('Airbrake light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = -0.5, name=_('Standby receptacle light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = 0.5, name=_('Standby receptacle light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = -2, name=_('Standby receptacle light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = 2, name=_('Standby receptacle light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd287, up = devCmds.Cmd287, value_down = 0, value_up = 1, name = _('Warning horn switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd287, up = devCmds.Cmd287, value_down = 1, value_up = 0, name = _('Warning horn switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = -0.5, name=_('(C + M or SW) R light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = 0.5, name=_('(C + M or SW) R light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = -2, name=_('(C + M or SW) R light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = 2, name=_('(C + M or SW) R light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = -0.5, name=_('Cannons too hot light - Decrease (Slow)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = 0.5, name=_('Cannons too hot light - Increase (Slow)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = -2, name=_('Cannons too hot light - Decrease (Fast)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = 2, name=_('Cannons too hot light - Increase (Fast)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, -- Exterior lighting - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd305, up = devCmds.Cmd305, value_down = 0, value_up = 0.5, name = _('Landing light control - OFF else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd305, up = devCmds.Cmd305, value_down = 1, value_up = 0.5, name = _('Landing light control - TAXY else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd310, up = devCmds.Cmd310, value_down = 0, value_up = 0.5, name = _('Landing light control - OFF else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd310, up = devCmds.Cmd310, value_down = 1, value_up = 0.5, name = _('Landing light control - TAXY else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd306, up = devCmds.Cmd306, value_down = 0, value_up = 0.5, name = _('Formation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd306, up = devCmds.Cmd306, value_down = 1, value_up = 0.5, name = _('Formation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd311, up = devCmds.Cmd311, value_down = 0, value_up = 0.5, name = _('Formation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd311, up = devCmds.Cmd311, value_down = 1, value_up = 0.5, name = _('Formation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd307, up = devCmds.Cmd307, value_down = 0, value_up = 0.5, name = _('Navigation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd307, up = devCmds.Cmd307, value_down = 1, value_up = 0.5, name = _('Navigation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 0, value_up = 0.5, name = _('Navigation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 1, value_up = 0.5, name = _('Navigation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd308, up = devCmds.Cmd308, value_down = 0, value_up = 1, name = _('Search light control - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd308, up = devCmds.Cmd308, value_down = 1, value_up = 0, name = _('Search light control - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd313, up = devCmds.Cmd313, value_down = 0, value_up = 1, name = _('Search light control - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd313, up = devCmds.Cmd313, value_down = 1, value_up = 0, name = _('Search light control - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, -- Cabin lighting - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd309, up = devCmds.Cmd309, value_down = 0, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Forward else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd309, up = devCmds.Cmd309, value_down = 1, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Aft else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd314, up = devCmds.Cmd314, value_down = 0, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Forward else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd314, up = devCmds.Cmd314, value_down = 1, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Aft else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = -0.5, name=_('Map light rheostat - Decrease (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = 0.5, name=_('Map light rheostat - Increase (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = -2, name=_('Map light rheostat - Decrease (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = 2, name=_('Map light rheostat - Increase (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = -0.5, name=_('Miscellaneous instrument integral lighting rheostat - Decrease (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = 0.5, name=_('Miscellaneous instrument integral lighting rheostat - Increase (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = -2, name=_('Miscellaneous instrument integral lighting rheostat - Decrease (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = 2, name=_('Miscellaneous instrument integral lighting rheostat - Increase (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, -- Lighting control unit - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 0, value_up = 1, name = _('Day/Night selector switch - NIGHT else DAY (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 1, value_up = 0, name = _('Day/Night selector switch - DAY else NIGHT (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd319, up = devCmds.Cmd319, value_down = 0, value_up = 1, name = _('Day/Night selector switch - NIGHT else DAY (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd319, up = devCmds.Cmd319, value_down = 1, value_up = 0, name = _('Day/Night selector switch - DAY else NIGHT (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = -0.5, name=_('Light and panel lighting rheostat - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = 0.5, name=_('Light and panel lighting rheostat - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = -2, name=_('Light and panel lighting rheostat - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = 2, name=_('Light and panel lighting rheostat - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = -0.5, name=_('Ultraviolet lighting rheostat - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = 0.5, name=_('Ultraviolet lighting rheostat - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = -2, name=_('Ultraviolet lighting rheostat - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = 2, name=_('Ultraviolet lighting rheostat - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = -0.5, name=_('Dual instrument panel lighting rheostat (Floodlights) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = 0.5, name=_('Dual instrument panel lighting rheostat (Floodlights) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = -2, name=_('Dual instrument panel lighting rheostat (Floodlights) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = 2, name=_('Dual instrument panel lighting rheostat (Floodlights) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = -0.5, name=_('Dual instrument panel lighting rheostat (Integral) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = 0.5, name=_('Dual instrument panel lighting rheostat (Integral) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = -2, name=_('Dual instrument panel lighting rheostat (Integral) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = 2, name=_('Dual instrument panel lighting rheostat (Integral) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = -0.5, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = 0.5, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = -2, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = 2, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = -0.5, name=_('Dual console and pedestal lighting rheostat (Integral) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = 0.5, name=_('Dual console and pedestal lighting rheostat (Integral) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = -2, name=_('Dual console and pedestal lighting rheostat (Integral) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = 2, name=_('Dual console and pedestal lighting rheostat (Integral) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, -- TACAN control box @@ -299,29 +461,33 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd337, up = devCmds.Cmd337, value_down = 0, value_up = 0.3333, name = _('TACAN mode selector - A/A else T/R (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd337, up = devCmds.Cmd337, value_down = 0.6666, value_up = 0.3333, name = _('TACAN mode selector - REC else T/R (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd338, value_down = -1, name = _('TACAN frequency units selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd338, value_down = 1, name = _('TACAN frequency units selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, value_down = -1, name = _('TACAN frequency units selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, value_down = 1, name = _('TACAN frequency units selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd349, up = devCmds.Cmd349, value_down = 1, value_up = 0, name = _('TACAN test button'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, -- VOR/ILS control box - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, up = devCmds.Cmd339, value_down = 0, value_up = 1, name = _('VOR-ILS control unit ON/OFF selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, up = devCmds.Cmd339, value_down = 1, value_up = 0, name = _('VOR-ILS control unit ON/OFF selector - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, up = devCmds.Cmd340, value_down = 0, value_up = 1, name = _('VOR-ILS control unit ON/OFF selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, up = devCmds.Cmd340, value_down = 1, value_up = 0, name = _('VOR-ILS control unit ON/OFF selector - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, value_down = -1, name = _('VOR-ILS control unit MHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, value_down = 1, name = _('VOR-ILS control unit MHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd341, value_down = -1, name = _('VOR-ILS control unit MHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd341, value_down = 1, name = _('VOR-ILS control unit MHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd343, value_down = -1, name = _('VOR-ILS control unit kHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd343, value_down = 1, name = _('VOR-ILS control unit kHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, +-- VOR-ILS control unit test selector +-- {down = devCmds.Cmd342, up = devCmds.Cmd342, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('VOR-ILS control unit test selector - BD'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box')}}, +-- {down = devCmds.Cmd343, up = devCmds.Cmd343, cockpit_device_id = devices.MAIN ,value_down = -1.0, value_up = 0.0, name = _('VOR-ILS control unit test selector - HG'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box')}}, - -- Omnibearing and VOR/ILS-TAC selector box + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd344, value_down = -1, name = _('VOR-ILS control unit kHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd344, value_down = 1, name = _('VOR-ILS control unit kHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, value_down = 0, name = _('VOR/ILS-OFF-TACAN selector - TAC'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, value_down = 0.5, name = _('VOR/ILS-OFF-TACAN selector - VOR'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, value_down = 1.0, name = _('VOR/ILS-OFF-TACAN selector - ILS'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, up = devCmds.Cmd345, value_down = 0, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - TAC else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, up = devCmds.Cmd345, value_down = 1, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - ILS else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + -- Omnibearing and VOR/ILS-TAC selector box - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd347, up = devCmds.Cmd347, value_down = 1, value_up = 0, name = _('TACAN test button'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, value_down = 0, name = _('VOR/ILS-OFF-TACAN selector - TAC'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, value_down = 0.5, name = _('VOR/ILS-OFF-TACAN selector - VOR'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, value_down = 1.0, name = _('VOR/ILS-OFF-TACAN selector - ILS'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, up = devCmds.Cmd346, value_down = 0, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - TAC else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, up = devCmds.Cmd346, value_down = 1, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - ILS else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, -- Oxygen system @@ -339,17 +505,25 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd376, up = devCmds.Cmd376, value_down = 0, value_up = 1, name = _('Master valve control switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd376, up = devCmds.Cmd376, value_down = 1, value_up = 0, name = _('Master valve control switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd378, up = devCmds.Cmd378, value_down = 0, value_up = 1, name = _('Auto/Manual selector switch - AUTO else MANUAL (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd378, up = devCmds.Cmd378, value_down = 1, value_up = 0, name = _('Auto/Manual selector switch - MANUAL else AUTO (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = -0.5, name=_('Temperature control rheostat - Counterclockwise (Slow)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = 0.5, name=_('Temperature control rheostat - Clockwise (Slow)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = -2, name=_('Temperature control rheostat - Counterclockwise (Fast)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = 2, name=_('Temperature control rheostat - Clockwise (Fast)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd379, up = devCmds.Cmd379, value_down = 0, value_up = 1, name = _('Auto/Manual selector switch - AUTO else MANUAL (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd379, up = devCmds.Cmd379, value_down = 1, value_up = 0, name = _('Auto/Manual selector switch - MANUAL else AUTO (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd381, up = devCmds.Cmd381, value_down = 0, value_up = 1, name = _('Ram air switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd381, up = devCmds.Cmd381, value_down = 1, value_up = 0, name = _('Ram air switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, +-- {down = devCmds.Cmd381, up = devCmds.Cmd381, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('Hot/Cold selector switch - COLD'), category = {_('Right console'), _('Air conditioning system')}}, +-- {down = devCmds.Cmd380, up = devCmds.Cmd380, cockpit_device_id = devices.MAIN ,value_down = -1.0, value_up = 0.0, name = _('Hot/Cold selector switch - HOT'), category = {_('Right console'), _('Air conditioning system')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 0, value_up = 1, name = _('Ram air switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 1, value_up = 0, name = _('Ram air switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 0, value_up = 1, name = _('Ram air switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 1, value_up = 0, name = _('Ram air switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 0, value_up = 1, name = _('Demist switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 1, value_up = 0, name = _('Demist switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 0, value_up = 1, name = _('Ram air switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 1, value_up = 0, name = _('Ram air switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd384, up = devCmds.Cmd384, value_down = 0, value_up = 1, name = _('Demist switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd384, up = devCmds.Cmd384, value_down = 1, value_up = 0, name = _('Demist switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, -- Circuit breaker box @@ -445,25 +619,279 @@ return { -- Radar detector switch - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd442, up = devCmds.Cmd442, value_down = 0, value_up = 1, name = _('Radar detector switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd442, up = devCmds.Cmd442, value_down = 1, value_up = 0, name = _('Radar detector switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd443, up = devCmds.Cmd443, value_down = 0, value_up = 1, name = _('Radar detector switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd443, up = devCmds.Cmd443, value_down = 1, value_up = 0, name = _('Radar detector switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, -- Control stick {cockpit_device_id = devices.MAIN, down = devCmds.Cmd631, up = devCmds.Cmd631, value_down = 0, value_up = 1, name = _('Gun firing trigger - FOLDED else UNFOLDED (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd631, up = devCmds.Cmd631, value_down = 1, value_up = 0, name = _('Gun firing trigger - UNFOLDED else FOLDED (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 0, value_up = 1, name = _('Gun firing safety - IN else OUT (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 1, value_up = 0, name = _('Gun firing safety - OUT else IN (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, + + -- Armament control panel + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 0, value_up = 0.5, name = _('Sight selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 1, value_up = 0.5, name = _('Sight selector - APP else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 0, value_up = 0.5, name = _('Bomb/Rocket selector - INBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 1, value_up = 0.5, name = _('Bomb/Rocket selector - OUTBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 0, value_up = 1, name = _('MATRA 550 or Sidewinder missile switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 1, value_up = 0, name = _('MATRA 550 or Sidewinder missile switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 0, value_up = 1, name = _('Fore/Aft selector switch - AFT else FORE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 1, value_up = 0, name = _('Fore/Aft selector switch - FORE else AFT (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 0, value_up = 1, name = _('Auto/Manual firing selector switch - MAN else AUTO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 1, value_up = 0, name = _('Auto/Manual firing selector switch - AUTO else MAN (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 0, value_up = 1, name = _('Single/Salvo selector - SALVO else SINGLE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 1, value_up = 0, name = _('Single/Salvo selector - SINGLE else SALVO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 0, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - SAFE else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 1, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - INST else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + -- Armament control panel - lighted pushbutton selectors + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 0, value_up = 1, name = _('Left MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 1, value_up = 0, name = _('Left MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 0, value_up = 1, name = _('Left or fuselage MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 1, value_up = 0, name = _('Left or fuselage MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 0, value_up = 1, name = _('Air-to-Air guns pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 1, value_up = 0, name = _('Air-to-Air guns pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 0, value_up = 1, name = _('Wing bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 1, value_up = 0, name = _('Wing bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 0, value_up = 1, name = _('Right MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 1, value_up = 0, name = _('Right MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 0, value_up = 1, name = _('Right MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 1, value_up = 0, name = _('Right MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 0, value_up = 1, name = _('Air-to-Ground guns or rockets pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 1, value_up = 0, name = _('Air-to-Ground guns or rockets pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 0, value_up = 1, name = _('Fuselage bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 1, value_up = 0, name = _('Fuselage bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + -- Armament control panel - continued + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 0, value_up = 1, name = _('R 530 Missile Normal/Altitude difference selector switch - NORM else SNAP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 1, value_up = 0, name = _('R 530 Missile Normal/Altitude difference selector switch - SNAP else NORM (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 0, name = _('Normal/Jammer pursuit switch (No function) - N'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 1, name = _('Normal/Jammer pursuit switch (No function) - JP'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 0, value_up = 1, name = _('Normal/Jammer pursuit switch (No function) - N else JP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 1, value_up = 0, name = _('Normal/Jammer pursuit switch (No function) - JP else N (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + -- Radar controls + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 0, value_up = 0.5, name = _('Radar selector - OFF else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 1, value_up = 0.5, name = _('Radar selector - TX else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 0, value_up = 1, name = _('Radar 4 lines/1 line scan switch - 1L else 4L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 1, value_up = 0, name = _('Radar 4 lines/1 line scan switch - 4L else 1L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + + -- Radar indicator scope control box + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = -0.5, name=_('Indicator lights brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = 0.5, name=_('Indicator lights brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = -2, name=_('Indicator lights brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = 2, name=_('Indicator lights brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = -0.5, name=_('Strobe brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = 0.5, name=_('Strobe brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = -2, name=_('Strobe brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = 2, name=_('Strobe brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = -0.5, name=_('Distance markers brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = 0.5, name=_('Distance markers brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = -2, name=_('Distance markers brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = 2, name=_('Distance markers brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = -0.5, name=_('Horizon and radial velocity marker brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = 0.5, name=_('Horizon and radial velocity marker brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = -2, name=_('Horizon and radial velocity marker brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = 2, name=_('Horizon and radial velocity marker brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = -0.5, name=_('Horizon symbol vertical position - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = 0.5, name=_('Horizon symbol vertical position - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = -2, name=_('Horizon symbol vertical position - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = 2, name=_('Horizon symbol vertical position - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + -- Armament master switch + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, up = devCmds.Cmd143, value_down = -0.1, value_up = 1.1, name = _('Armament master switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, up = devCmds.Cmd143, value_down = 1.1, value_up = -0.1, name = _('Armament master switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 0, value_up = 0.5, name = _('Armament master switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 1, value_up = 0.5, name = _('Armament master switch - TEST else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + + -- ANTENNA-GYRO switch + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 0, value_up = 1, name = _('ANTENNA-GYRO switch - ANTENNA else GYRO (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 1, value_up = 0, name = _('ANTENNA-GYRO switch - GYRO else ANTENNA (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + + -- Left wall armament switches + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = -1, value_up = 0, name = _('Telemeter/zone scanning switch - BPZ else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = 1, value_up = 0, name = _('Telemeter/zone scanning switch - TEL else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, + + -- Sight system and recording camera + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = -1, value_up = 1, name = _('AUTO/MAN intensity selector switch - AUTO else MAN (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = 1, value_up = -1, name = _('AUTO/MAN intensity selector switch - MAN else AUTO (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd481, up = devCmds.Cmd481, value_down = 0, value_up = 0.5, name = _('Lighting selector switch - O else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd481, up = devCmds.Cmd481, value_down = 1, value_up = 0.5, name = _('Lighting selector switch - E else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = -0.5, name=_('Manual gravity drop selection thumbwheel - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = 0.5, name=_('Manual gravity drop selection thumbwheel - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = -2, name=_('Manual gravity drop selection thumbwheel - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = 2, name=_('Manual gravity drop selection thumbwheel - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = -0.5, name=_('Fixed Reticle intensity rheostat - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = 0.5, name=_('Fixed Reticle intensity rheostat - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = -2, name=_('Fixed Reticle intensity rheostat - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = 2, name=_('Fixed Reticle intensity rheostat - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = -0.5, name=_('Moving and Target Reticles intensity rheostat - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = 0.5, name=_('Moving and Target Reticles intensity rheostat - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = -2, name=_('Moving and Target Reticles intensity rheostat - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = 2, name=_('Moving and Target Reticles intensity rheostat - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = -0.5, name=_('Attitude Reticle intensity rheostat - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = 0.5, name=_('Attitude Reticle intensity rheostat - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = -2, name=_('Attitude Reticle intensity rheostat - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = 2, name=_('Attitude Reticle intensity rheostat - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = -0.5, name=_('Exposure time repeater - Counterclockwise (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = 0.5, name=_('Exposure time repeater - Clockwise (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = -2, name=_('Exposure time repeater - Counterclockwise (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = 2, name=_('Exposure time repeater - Clockwise (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = -0.5, name=_('Overrun select thumbwheel - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = 0.5, name=_('Overrun select thumbwheel - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = -2, name=_('Overrun select thumbwheel - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = 2, name=_('Overrun select thumbwheel - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd494, up = devCmds.Cmd494, value_down = 0, value_up = 1, name = _('5/16 PPS framing rate selector switch - 5 else 16 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd494, up = devCmds.Cmd494, value_down = 1, value_up = 0, name = _('5/16 PPS framing rate selector switch - 16 else 5 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + -- Radar + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = -0.5, name=_('Scope intensity adjustment - Counterclockwise/Decrease (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = 0.5, name=_('Scope intensity adjustment - Clockwise/Increase (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = -2, name=_('Scope intensity adjustment - Counterclockwise/Decrease (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = 2, name=_('Scope intensity adjustment - Clockwise/Increase (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 0, name = _('Radar function selection - HA'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 1/7, name = _('Radar function selection - IC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 2/7, name = _('Radar function selection - TS'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 3/7, name = _('Radar function selection - V1'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 4/7, name = _('Radar function selection - DC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 5/7, name = _('Radar function selection - PR'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 6/7, name = _('Radar function selection - AC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 1.01, name = _('Radar function selection - OFF'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + -- Storage adjustment + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = -0.5, name=_('Storage adjustment - Counterclockwise/Decrease (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = 0.5, name=_('Storage adjustment - Clockwise/Increase (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = -2, name=_('Storage adjustment - Counterclockwise/Decrease (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = 2, name=_('Storage adjustment - Clockwise/Increase (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + -- Polaroid screen adjustment + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = -0.5, name=_('Polaroid screen adjustment - Counterclockwise (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = 0.5, name=_('Polaroid screen adjustment - Clockwise (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = -2, name=_('Polaroid screen adjustment - Counterclockwise (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = 2, name=_('Polaroid screen adjustment - Clockwise (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + -- IFF + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, up = devCmds.Cmd532, value_down = -1, value_up = 0, name = _('Position identification selector - MIC else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, up = devCmds.Cmd532, value_down = 1, value_up = 0, name = _('Position identification selector - IDENT else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0, name = _('Mode 4 selector switch - HOLD'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0.3333, name = _('Mode 4 selector switch - B'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0.6666, name = _('Mode 4 selector switch - A'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0.9999, name = _('Mode 4 selector switch - ZERO'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0, name = _('Function selector switch - OFF'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0.3333, name = _('Function selector switch - SBY'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0.6666, name = _('Function selector switch - N'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0.9999, name = _('Function selector switch - EMER'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd542, up = devCmds.Cmd542, value_down = 0, value_up = 1, name = _('IFF mode 4 switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd542, up = devCmds.Cmd542, value_down = 1, value_up = 0, name = _('IFF mode 4 switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd546, up = devCmds.Cmd546, value_down = 0, value_up = 1, name = _('AUDIO-LIGHT switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd546, up = devCmds.Cmd546, value_down = 1, value_up = 0, name = _('AUDIO-LIGHT switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd547, up = devCmds.Cmd547, value_down = 0, value_up = 1, name = _('M-1 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd547, up = devCmds.Cmd547, value_down = 1, value_up = 0, name = _('M-1 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd548, up = devCmds.Cmd548, value_down = 0, value_up = 1, name = _('M-2 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd548, up = devCmds.Cmd548, value_down = 1, value_up = 0, name = _('M-2 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd549, up = devCmds.Cmd549, value_down = 0, value_up = 1, name = _('M-3 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd549, up = devCmds.Cmd549, value_down = 1, value_up = 0, name = _('M-3 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd550, up = devCmds.Cmd550, value_down = 0, value_up = 1, name = _('M-4 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd550, up = devCmds.Cmd550, value_down = 1, value_up = 0, name = _('M-4 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, }, axisCommands = { + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd41, name = _('Autopilot intensity control')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd101, name = _('Radar control stick scale selection')}, - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd102, name = _('Radar control stick scan selection')}, - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd120, name = _('Slat/Flap lever')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd103, name = _('Radar control stick scan selection')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd122, name = _('Slat/Flap lever')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd123, name = _('High-lift device selector switch')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd124, name = _('MISS potentiometer')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd126, name = _('TAC potentiometer')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd128, name = _('VOR potentiometer')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd166, name = _('Emergency regulation light')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd171, name = _('Brake chute control')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd173, name = _('Canopy embrittle control')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd175, name = _('Canopy seal valve control lever')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd176, name = _('Mirrors')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd191, name = _('U/C control lever')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd193, name = _('Emergency/Parking brake handle')}, - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd199, name = _('Emergency U/C handle')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd200, name = _('Emergency U/C handle')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd213, name = _('Incidence indicator lighting rheostat')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd218, name = _('Mach/Airspeed indicator reference airspeed knob')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd220, name = _('Slaved altimeter barometric pressure setting knob')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd222, name = _('Standby altimeter barometric pressure setting knob')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd267, name = _('Combat flaps light')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd271, name = _('Nose wheel steering light')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd274, name = _('Airbrake light')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd282, name = _('Standby receptacle light')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd295, name = _('(C + M or SW) R light')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd298, name = _('Cannons too hot light')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd315, name = _('Map light rheostat')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd317, name = _('Miscellaneous instrument integral lighting rheostat')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd320, name = _('Light and panel lighting rheosta')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd322, name = _('Ultraviolet lighting rheostat')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd324, name = _('Dual instrument panel lighting rheostat (Floodlights)')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd326, name = _('Dual instrument panel lighting rheostat (Integral)')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd328, name = _('Dual console and pedestal lighting rheostat (Floodlights)')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd330, name = _('Dual console and pedestal lighting rheostat (Integral)')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd341, name = _('VOR/ILS control unit MHz frequency selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd344, name = _('VOR/ILS control unit kHz frequency selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd345, name = _('Omnibearing selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd346, name = _('VOR-ILS/OFF/TACAN selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd348, name = _('Heading selection knob')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd377, name = _('Temperature control rheostat')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd650, name = _('Ejection handle safety pin')}, {cockpit_device_id = devices.MAIN, action = devCmds.Cmd438, name = _('Chaff and Flares Program selector switch')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd508, name = _('Radar function selection')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd535, name = _('IFF Mode 4 selector switch')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd540, name = _('IFF Function selector switch')}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Common/keyboard/default.lua b/InputCommands/Mirage-F1/Input/Common/keyboard/default.lua index df0d456..372d1e8 100644 --- a/InputCommands/Mirage-F1/Input/Common/keyboard/default.lua +++ b/InputCommands/Mirage-F1/Input/Common/keyboard/default.lua @@ -4,9 +4,6 @@ return { {down = iCommandPlaneAirBrakeOff, up = iCommandPlaneAirBrakeOn, name = _('Airbrake Off else On (2-way Switch)'), category = {_('Systems'), _('Custom')}}, {down = iCommandPlaneAirBrakeOn, up = iCommandPlaneAirBrakeOff, name = _('Airbrake On else Off (2-way Switch)'), category = {_('Systems'), _('Custom')}}, - {down = iCommandPlaneFlapsOff, up = iCommandPlaneFlapsOn, name = _('Flaps Up else Landing Position (2-way Switch)'), category = {_('Systems'), _('Custom')}}, - {down = iCommandPlaneFlapsOn, up = iCommandPlaneFlapsOff, name = _('Flaps Landing Position else Up (2-way Switch)'), category = {_('Systems'), _('Custom')}}, - {down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear Up else Down (2-way Switch)'), category = {_('Systems'), _('Custom')}}, {down = iCommandPlaneGearDown, up = iCommandPlaneGearUp, name = _('Landing Gear Down else Up (2-way Switch)'), category = {_('Systems'), _('Custom')}}, @@ -32,25 +29,32 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd24, up = devCmds.Cmd24, value_down = 0, value_up = 0.5, name = _('ARTHUR selector switch - AUTO else HIGH (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd24, up = devCmds.Cmd24, value_down = 1, value_up = 0.5, name = _('ARTHUR selector switch - LOW else HIGH (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 0, value_up = 1, name = _('Yaw/Anti-slip switch - OFF else ON (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 1, value_up = 0, name = _('Yaw/Anti-slip switch - ON else OFF (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 0, value_up = 0.5, name = _('Yaw/Anti-slip switch - OFF else YAW (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd25, up = devCmds.Cmd25, value_down = 1, value_up = 0.5, name = _('Yaw/Anti-slip switch - ANTI-SLIP else YAW (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd26, up = devCmds.Cmd26, value_down = 0, value_up = 1, name = _('Pitch switch - OFF else ON (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd26, up = devCmds.Cmd26, value_down = 1, value_up = 0, name = _('Pitch switch - ON else OFF (2-way Switch)'), category = {_('Left front panel'), _('Flight controls and flying aids'), _('Custom')}}, + -- Autopilot + + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = -0.5, name=_('Autopilot intensity control decrease (Slow)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = 0.5, name=_('Autopilot intensity control increase (Slow)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = -2, name=_('Autopilot intensity control decrease (Fast)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd41, value_pressed = 2, name=_('Autopilot intensity control increase (Fast)'), category = {_('Central front panel'), _('Autopilot'), _('Custom')}}, + -- Engine and fuel controls - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd53, up = devCmds.Cmd53, value_down = -1, value_up = 0, name = _('Ignition/Ventilation selector switch - VENTIL else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd53, up = devCmds.Cmd53, value_down = 1, value_up = 0, name = _('Ignition/Ventilation selector switch - L/H else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = -1, value_up = 0, name = _('Ignition/Ventilation selector switch - VENTIL else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = 1, value_up = 0, name = _('Ignition/Ventilation selector switch - L/H else R/H (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = -0.1, value_up = 1.1, name = _('Start button cover - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd54, up = devCmds.Cmd54, value_down = 1.1, value_up = -0.1, name = _('Start button cover - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd55, up = devCmds.Cmd55, value_down = -0.1, value_up = 1.1, name = _('Start button cover - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd55, up = devCmds.Cmd55, value_down = 1.1, value_up = -0.1, name = _('Start button cover - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd56, up = devCmds.Cmd56, value_down = -0.1, value_up = 1.1, name = _('LP main cock switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd56, up = devCmds.Cmd56, value_down = 1.1, value_up = -0.1, name = _('LP main cock switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = -0.1, value_up = 1.1, name = _('LP main cock switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = 1.1, value_up = -0.1, name = _('LP main cock switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = 0, value_up = 1, name = _('LP main cock switch - OPEN else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd57, up = devCmds.Cmd57, value_down = 1, value_up = 0, name = _('LP main cock switch - OFF else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd58, up = devCmds.Cmd58, value_down = 0, value_up = 1, name = _('LP main cock switch - OPEN else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd58, up = devCmds.Cmd58, value_down = 1, value_up = 0, name = _('LP main cock switch - OFF else OPEN (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd62, up = devCmds.Cmd62, value_down = 0, value_up = 1, name = _('JPT emergency regulation switch - OFF else AUTO (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd62, up = devCmds.Cmd62, value_down = 1, value_up = 0, name = _('JPT emergency regulation switch - AUTO else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, @@ -70,8 +74,8 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd67, up = devCmds.Cmd67, value_down = 0, value_up = 1, name = _('L/H LP pump switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd67, up = devCmds.Cmd67, value_down = 1, value_up = 0, name = _('L/H LP pump switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd71, up = devCmds.Cmd71, value_down = 0, value_up = 1, name = _('Firing fuel dipper switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd71, up = devCmds.Cmd71, value_down = 1, value_up = 0, name = _('Firing fuel dipper switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd72, up = devCmds.Cmd72, value_down = 0, value_up = 1, name = _('Firing fuel dipper switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd72, up = devCmds.Cmd72, value_down = 1, value_up = 0, name = _('Firing fuel dipper switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Engine/Fuel controls'), _('Custom')}}, -- Fuel quantity indicator @@ -112,56 +116,106 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd101, up = devCmds.Cmd101, value_down = 1, value_up = 1/3, name = _('Radar control stick scale selection - 60NM else 15NM (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd101, up = devCmds.Cmd101, value_down = 1, value_up = 2/3, name = _('Radar control stick scale selection - 60NM else 35NM (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, value_down = 0.5, name = _('Radar control stick scan selection - 30°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, value_down = 1.01, name = _('Radar control stick scan selection - 60°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, up = devCmds.Cmd102, value_down = 0.5, value_up = 1, name = _('Radar control stick scan selection - 30° else 60° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd102, up = devCmds.Cmd102, value_down = 1, value_up = 0.5, name = _('Radar control stick scan selection - 60° else 30° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, value_down = 0.5, name = _('Radar control stick scan selection - 30°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, value_down = 1.01, name = _('Radar control stick scan selection - 60°'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, up = devCmds.Cmd103, value_down = 0.5, value_up = 1, name = _('Radar control stick scan selection - 30° else 60° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd103, up = devCmds.Cmd103, value_down = 1, value_up = 0.5, name = _('Radar control stick scan selection - 60° else 30° (2-way Switch)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - -- High-lift devices + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd106, value_pressed = 0.5, name=_('Radar control stick bearing control - right (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd107, value_pressed = 0.5, name=_('Radar control stick bearing control - left (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd106, value_pressed = 2, name=_('Radar control stick bearing control - right (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd107, value_pressed = 2, name=_('Radar control stick bearing control - left (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd120, value_down = 0.5, name = _('Slat/Flap lever - MIDDLE'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd120, up = devCmds.Cmd120, value_down = 0, value_up = 0.5, name = _('Slat/Flap lever - UP else MIDDLE (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd120, up = devCmds.Cmd120, value_down = 1, value_up = 0.5, name = _('Slat/Flap lever - DOWN else MIDDLE (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd109, value_pressed = 0.5, name=_('Radar control stick range/velocity control - increase (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd110, value_pressed = 0.5, name=_('Radar control stick range/velocity control - decrease (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd109, value_pressed = 2, name=_('Radar control stick range/velocity control - increase (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd110, value_pressed = 2, name=_('Radar control stick range/velocity control - decrease (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd114, value_pressed = 0.5, name=_('Radar control stick gain control wheel - increase (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd115, value_pressed = 0.5, name=_('Radar control stick gain control wheel - decrease (Slow)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd114, value_pressed = 2, name=_('Radar control stick gain control wheel - increase (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd115, value_pressed = 2, name=_('Radar control stick gain control wheel - decrease (Fast)'), category = {_('Left console'), _('Radar control stick'), _('Custom')}}, + + -- High-lift devices - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd121, up = devCmds.Cmd121, value_down = -1, value_up = 0, name = _('High-lift device selector switch - EMG. RETR. else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd121, up = devCmds.Cmd121, value_down = 1, value_up = 0, name = _('High-lift device selector switch - NORMAL else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd123, up = devCmds.Cmd123, value_down = -1, value_up = 0, name = _('High-lift device selector switch - EMG. RETR. else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd123, up = devCmds.Cmd123, value_down = 1, value_up = 0, name = _('High-lift device selector switch - NORMAL else OFF (2-way Switch)'), category = {_('Left console'), _('High-lift devices'), _('Custom')}}, -- Radio selector unit - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd125, up = devCmds.Cmd125, value_down = 0, value_up = 1, name = _('AMPLI 2-1" selector switch - 2 else 1 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd125, up = devCmds.Cmd125, value_down = 1, value_up = 0, name = _('AMPLI 2-1" selector switch - 1 else 2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = -0.5, name=_('MISS potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = 0.5, name=_('MISS potentiometer - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = -2, name=_('MISS potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd125, value_pressed = 2, name=_('MISS potentiometer - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - -- V/UHF radio control unit (TRT - TRAP 136) + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = -0.5, name=_('TAC potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = 0.5, name=_('TAC potentiometer - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = -2, name=_('TAC potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd127, value_pressed = 2, name=_('TAC potentiometer - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = -0.5, name=_('VOR potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = 0.5, name=_('VOR potentiometer - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = -2, name=_('VOR potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd129, value_pressed = 2, name=_('VOR potentiometer - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd130, up = devCmds.Cmd130, value_down = 0, value_up = 1, name = _('AMPLI 2-1" selector switch - 2 else 1 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd130, up = devCmds.Cmd130, value_down = 1, value_up = 0, name = _('AMPLI 2-1" selector switch - 1 else 2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = -0.5, name=_('U + V pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = 0.5, name=_('U + V pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = -2, name=_('U + V pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd133, value_pressed = 2, name=_('U + V pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd136, up = devCmds.Cmd136, value_down = -1, value_up = 1, name = _('V/UHF control unit test selector switch - R else E + A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd136, up = devCmds.Cmd136, value_down = 1, value_up = -1, name = _('V/UHF control unit test selector switch - E + A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = -0.5, name=_('U pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = 0.5, name=_('U pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = -2, name=_('U pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd136, value_pressed = 2, name=_('U pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd137, up = devCmds.Cmd137, value_down = -1, value_up = 1, name = _('SIL switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd137, up = devCmds.Cmd137, value_down = 1, value_up = -1, name = _('SIL switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = -0.5, name=_('RAP + CME pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = 0.5, name=_('RAP + CME pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = -2, name=_('RAP + CME pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd139, value_pressed = 2, name=_('RAP + CME pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = -0.5, name=_('MKR + TP pushbutton - Decrease (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = 0.5, name=_('MKR + TP pushbutton - Increase (Slow)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = -2, name=_('MKR + TP pushbutton - Decrease (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd142, value_pressed = 2, name=_('MKR + TP pushbutton - Increase (Fast)'), category = {_('Left console'), _('Radio system'), _('Radio selector unit'), _('Custom')}}, + + -- V/UHF radio control unit (TRT - TRAP 136) - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, value_down = -1, name = _('V/UHF control unit function selector - Counterclockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, value_down = 1, name = _('V/UHF control unit function selector - Clockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = -1, value_up = 1, name = _('V/UHF control unit test selector switch - R else E + A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = 1, value_up = -1, name = _('V/UHF control unit test selector switch - E + A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 0, value_up = 1, name = _('25W - 5W switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 1, value_up = 0, name = _('25W - 5W switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, up = devCmds.Cmd146, value_down = -1, value_up = 1, name = _('SIL switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, up = devCmds.Cmd146, value_down = 1, value_up = -1, name = _('SIL switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, value_down = 0, name = _('Frequency selector switch - M'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, value_down = 0.5, name = _('Frequency selector switch - P'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, value_down = 1, name = _('Frequency selector switch - G'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = 0, value_up = 0.5, name = _('Frequency selector switch - M else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd145, up = devCmds.Cmd145, value_down = 1, value_up = 0.5, name = _('Frequency selector switch - G else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd159, up = devCmds.Cmd159, value_down = 0, value_up = 1, name = _('25W - 5W switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd159, up = devCmds.Cmd159, value_down = 1, value_up = 0, name = _('25W - 5W switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, value_down = -1, name = _('V/UHF control unit channel selector - Counterclockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd146, value_down = 1, name = _('V/UHF control unit channel selector - Clockwise (Single)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, value_down = 0, name = _('Frequency selector switch - M'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, value_down = 0.5, name = _('Frequency selector switch - P'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, value_down = 1, name = _('Frequency selector switch - G'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, up = devCmds.Cmd160, value_down = 0, value_up = 0.5, name = _('Frequency selector switch - M else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd160, up = devCmds.Cmd160, value_down = 1, value_up = 0.5, name = _('Frequency selector switch - G else P (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('V/UHF control unit'), _('Custom')}}, -- Engine emergency regulation + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = -0.5, name=_('Emergency regulation light - Decrease (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = 0.5, name=_('Emergency regulation light - Increase (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = -2, name=_('Emergency regulation light - Decrease (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd166, value_pressed = 2, name=_('Emergency regulation light - Increase (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd167, up = devCmds.Cmd167, value_down = -0.1, value_up = 1.1, name = _('Emergency regulation switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd167, up = devCmds.Cmd167, value_down = 1.1, value_up = -0.1, name = _('Emergency regulation switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd168, up = devCmds.Cmd168, value_down = 0, value_up = 1, name = _('Emergency regulation switch - OFF else ON (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd168, up = devCmds.Cmd168, value_down = 1, value_up = 0, name = _('Emergency regulation switch - ON else OFF (2-way Switch)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd170, up = devCmds.Cmd170, value_down = -0.5, value_up = 0, name=_('Emergency regulation control lever - Aft/Decrease (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd169, up = devCmds.Cmd169, value_down = 0.5, value_up = 0, name=_('Emergency regulation control lever - Forward/Increase (Slow)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd170, up = devCmds.Cmd170, value_down = -2, value_up = 0, name=_('Emergency regulation control lever - Aft/Decrease (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd169, up = devCmds.Cmd169, value_down = 2, value_up = 0, name=_('Emergency regulation control lever - Forward/Increase (Fast)'), category = {_('Left wall'), _('Engine emergency regulation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd171, up = devCmds.Cmd171, value_down = 0, value_up = 1, name = _('Brake chute control - Forward/Drop else Aft/Open (2-way Switch)'), category = {_('Left wall'), _('Systems'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd171, up = devCmds.Cmd171, value_down = 1, value_up = 0, name = _('Brake chute control - Aft/Open else Forward/Drop (2-way Switch)'), category = {_('Left wall'), _('Systems'), _('Custom')}}, @@ -196,47 +250,85 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd195, up = devCmds.Cmd195, value_down = 0, value_up = 1, name = _('Anti-skid (SPAD) switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Anti-skid'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd195, up = devCmds.Cmd195, value_down = 1, value_up = 0, name = _('Anti-skid (SPAD) switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Anti-skid'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd197, up = devCmds.Cmd197, value_down = 0, value_up = 1, name = _('Nose wheel steering switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd197, up = devCmds.Cmd197, value_down = 1, value_up = 0, name = _('Nose wheel steering switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 0, value_up = 1, name = _('Nose wheel steering switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 1, value_up = 0, name = _('Nose wheel steering switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 0, value_up = 1, name = _('Nose wheel steering switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd198, up = devCmds.Cmd198, value_down = 1, value_up = 0, name = _('Nose wheel steering switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 0, value_up = 1, name = _('Nose wheel steering switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 1, value_up = 0, name = _('Nose wheel steering switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Nose wheel steering'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 0, value_up = 0.5, name = _('Emergency U/C handle - NORMAL else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd199, up = devCmds.Cmd199, value_down = 1, value_up = 0.5, name = _('Emergency U/C handle - U/C else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 0, value_up = 0.5, name = _('Emergency U/C handle - NORMAL else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 1, value_up = 0.5, name = _('Emergency U/C handle - U/C else DOORS (2-way Switch)'), category = {_('Right front panel'), _('Systems'), _('Undercarriage'), _('Custom')}}, -- Hydraulic system controls - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 0, value_up = 1, name = _('Hydraulic pressure selector switch - ANC Em.B else 1 SERVO 2 (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd200, up = devCmds.Cmd200, value_down = 1, value_up = 0, name = _('Hydraulic pressure selector switch - 1 SERVO 2 else ANC Em.B (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 0, value_up = 1, name = _('Hydraulic pressure selector switch - ANC Em.B else 1 SERVO 2 (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 1, value_up = 0, name = _('Hydraulic pressure selector switch - 1 SERVO 2 else ANC Em.B (2-way Switch)'), category = {_('Central front panel'), _('Systems'), _('Hydraulic system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 0, value_up = 1, name = _('Electro-pump switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd201, up = devCmds.Cmd201, value_down = 1, value_up = 0, name = _('Electro-pump switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd202, up = devCmds.Cmd202, value_down = 0, value_up = 1, name = _('Electro-pump switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd202, up = devCmds.Cmd202, value_down = 1, value_up = 0, name = _('Electro-pump switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Systems'), _('Hydraulic system'), _('Custom')}}, -- Clock - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd204, up = devCmds.Cmd204, value_down = 0, value_up = 1, name = _('Clock winding/setting lever - Winding else Setting (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd204, up = devCmds.Cmd204, value_down = 1, value_up = 0, name = _('Clock winding/setting lever - Setting else Winding (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = -0.5, name=_('Clock winding/setting knob - Counterclockwise (Slow)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = 0.5, name=_('Clock winding/setting knob - Clockwise (Slow)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = -2, name=_('Clock winding/setting knob - Counterclockwise (Fast)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd211, value_pressed = 2, name=_('Clock winding/setting knob - Clockwise (Fast)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd212, up = devCmds.Cmd212, value_down = 0, value_up = 1, name = _('Clock winding/setting lever - Winding else Setting (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd212, up = devCmds.Cmd212, value_down = 1, value_up = 0, name = _('Clock winding/setting lever - Setting else Winding (2-way Switch)'), category = {_('Front structure'), _('Clock'), _('Custom')}}, + + -- Incidence indicator + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = -0.5, name=_('Incidence indicator lighting rheostat - Decrease (Slow)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = 0.5, name=_('Incidence indicator lighting rheostat - Increase (Slow)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = -2, name=_('Incidence indicator lighting rheostat - Decrease (Fast)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd214, value_pressed = 2, name=_('Incidence indicator lighting rheostat - Increase (Fast)'), category = {_('Front structure'), _('Air data system'), _('Custom')}}, -- Air data instrument controls - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd209, up = devCmds.Cmd209, value_down = 0, value_up = 1, name = _('Probe heater switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd209, up = devCmds.Cmd209, value_down = 1, value_up = 0, name = _('Probe heater switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = -0.5, name=_('Mach/Airspeed indicator reference airspeed knob - Decrease (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = 0.5, name=_('Mach/Airspeed indicator reference airspeed knob - Increase (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = -2, name=_('Mach/Airspeed indicator reference airspeed knob - Decrease (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd219, value_pressed = 2, name=_('Mach/Airspeed indicator reference airspeed knob - Increase (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = -0.5, name=_('Slaved altimeter barometric pressure setting knob - Decrease (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = 0.5, name=_('Slaved altimeter barometric pressure setting knob - Increase (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = -2, name=_('Slaved altimeter barometric pressure setting knob - Decrease (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd221, value_pressed = 2, name=_('Slaved altimeter barometric pressure setting knob - Increase (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = -0.5, name=_('Standby altimeter barometric pressure setting knob - Decrease (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = 0.5, name=_('Standby altimeter barometric pressure setting knob - Increase (Slow)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = -2, name=_('Standby altimeter barometric pressure setting knob - Decrease (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd223, value_pressed = 2, name=_('Standby altimeter barometric pressure setting knob - Increase (Fast)'), category = {_('Central front panel'), _('Air data system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd224, up = devCmds.Cmd224, value_down = 0, value_up = 1, name = _('Probe heater switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd224, up = devCmds.Cmd224, value_down = 1, value_up = 0, name = _('Probe heater switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air data system'), _('Custom')}}, -- Heading and vertical reference system and standby horizon controls {cockpit_device_id = devices.MAIN, down = devCmds.Cmd230, up = devCmds.Cmd230, value_down = 0, value_up = 1, name = _('Standby horizon switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd230, up = devCmds.Cmd230, value_down = 1, value_up = 0, name = _('Standby horizon switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, +-- Spherical indicator day/night selector switch +-- {pressed = devCmds.Cmd231, cockpit_device_id = devices.MAIN, value_pressed = 1.0, name = _('Spherical indicator day/night selector switch - DAY'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd231, cockpit_device_id = devices.MAIN, value_pressed = -1.0, name = _('Spherical indicator day/night selector switch - NIGHT'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- Spherical indicator pole setting and marker beacon light test +-- {pressed = devCmds.Cmd233, cockpit_device_id = devices.MAIN, value_pressed = 1.0, name = _('Spherical indicator pole setting - P'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd233, cockpit_device_id = devices.MAIN, value_pressed = -1.0, name = _('Spherical indicator pole setting - N'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- Standby horizon uncage and aircraft model control +-- {down = devCmds.Cmd234, up = devCmds.Cmd234, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('Standby horizon uncage'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd236, cockpit_device_id = devices.MAIN, value_pressed = 1.0, name = _('Aircraft model control - UP'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, +-- {pressed = devCmds.Cmd236, cockpit_device_id = devices.MAIN, value_pressed = -1.0, name = _('Aircraft model control - DOWN'), category = {_('Central front panel'), _('Heading and vertical reference system')}}, + -- Heading control unit - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0, name = _('Heading and vertical reference system control switch - A'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0.3333, name = _('Heading and vertical reference system control switch - GM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0.6666, name = _('Heading and vertical reference system control switch - CM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd236, value_down = 0.9999, name = _('Heading and vertical reference system control switch - Sec'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0, name = _('Heading and vertical reference system control switch - A'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0.3333, name = _('Heading and vertical reference system control switch - GM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0.6666, name = _('Heading and vertical reference system control switch - CM'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, value_down = 0.9999, name = _('Heading and vertical reference system control switch - Sec'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, up = devCmds.Cmd237, value_down = 0, value_up = 1, name = _('Emergency gyromagnetic compass switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd237, up = devCmds.Cmd237, value_down = 1, value_up = 0, name = _('Emergency gyromagnetic compass switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd239, up = devCmds.Cmd239, value_down = 0, value_up = 1, name = _('Emergency gyromagnetic compass switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd239, up = devCmds.Cmd239, value_down = 1, value_up = 0, name = _('Emergency gyromagnetic compass switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Heading and vertical reference system'), _('Custom')}}, -- Electrical system controls @@ -254,32 +346,102 @@ return { -- Warning lights - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd283, up = devCmds.Cmd283, value_down = 0, value_up = 1, name = _('Warning horn switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd283, up = devCmds.Cmd283, value_down = 1, value_up = 0, name = _('Warning horn switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = -0.5, name=_('Combat flaps light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = 0.5, name=_('Combat flaps light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = -2, name=_('Combat flaps light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd268, value_pressed = 2, name=_('Combat flaps light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = -0.5, name=_('Nose wheel steering light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = 0.5, name=_('Nose wheel steering light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = -2, name=_('Nose wheel steering light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd272, value_pressed = 2, name=_('Nose wheel steering light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = -0.5, name=_('Airbrake light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = 0.5, name=_('Airbrake light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = -2, name=_('Airbrake light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd275, value_pressed = 2, name=_('Airbrake light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = -0.5, name=_('Standby receptacle light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = 0.5, name=_('Standby receptacle light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = -2, name=_('Standby receptacle light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd283, value_pressed = 2, name=_('Standby receptacle light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd287, up = devCmds.Cmd287, value_down = 0, value_up = 1, name = _('Warning horn switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd287, up = devCmds.Cmd287, value_down = 1, value_up = 0, name = _('Warning horn switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = -0.5, name=_('(C + M or SW) R light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = 0.5, name=_('(C + M or SW) R light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = -2, name=_('(C + M or SW) R light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd296, value_pressed = 2, name=_('(C + M or SW) R light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = -0.5, name=_('Cannons too hot light - Decrease (Slow)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = 0.5, name=_('Cannons too hot light - Increase (Slow)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = -2, name=_('Cannons too hot light - Decrease (Fast)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd299, value_pressed = 2, name=_('Cannons too hot light - Increase (Fast)'), category = {_('Right front panel'), _('Armament system'), _('Warnings'), _('Custom')}}, -- Exterior lighting - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd305, up = devCmds.Cmd305, value_down = 0, value_up = 0.5, name = _('Landing light control - OFF else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd305, up = devCmds.Cmd305, value_down = 1, value_up = 0.5, name = _('Landing light control - TAXY else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd310, up = devCmds.Cmd310, value_down = 0, value_up = 0.5, name = _('Landing light control - OFF else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd310, up = devCmds.Cmd310, value_down = 1, value_up = 0.5, name = _('Landing light control - TAXY else LAND (2-way Switch)'), category = {_('Left wall'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd306, up = devCmds.Cmd306, value_down = 0, value_up = 0.5, name = _('Formation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd306, up = devCmds.Cmd306, value_down = 1, value_up = 0.5, name = _('Formation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd311, up = devCmds.Cmd311, value_down = 0, value_up = 0.5, name = _('Formation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd311, up = devCmds.Cmd311, value_down = 1, value_up = 0.5, name = _('Formation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd307, up = devCmds.Cmd307, value_down = 0, value_up = 0.5, name = _('Navigation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd307, up = devCmds.Cmd307, value_down = 1, value_up = 0.5, name = _('Navigation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 0, value_up = 0.5, name = _('Navigation light control - DIM else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 1, value_up = 0.5, name = _('Navigation light control - BRIGHT else OFF (2-way Switch)'), category = {_('Right front panel'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd308, up = devCmds.Cmd308, value_down = 0, value_up = 1, name = _('Search light control - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd308, up = devCmds.Cmd308, value_down = 1, value_up = 0, name = _('Search light control - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd313, up = devCmds.Cmd313, value_down = 0, value_up = 1, name = _('Search light control - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd313, up = devCmds.Cmd313, value_down = 1, value_up = 0, name = _('Search light control - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Exterior lighting'), _('Custom')}}, -- Cabin lighting - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd309, up = devCmds.Cmd309, value_down = 0, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Forward else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd309, up = devCmds.Cmd309, value_down = 1, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Aft else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd314, up = devCmds.Cmd314, value_down = 0, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Forward else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd314, up = devCmds.Cmd314, value_down = 1, value_up = 0.5, name = _('Miscellaneous instrument lighting switch - Aft else Neutral (2-way Switch)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = -0.5, name=_('Map light rheostat - Decrease (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = 0.5, name=_('Map light rheostat - Increase (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = -2, name=_('Map light rheostat - Decrease (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd316, value_pressed = 2, name=_('Map light rheostat - Increase (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = -0.5, name=_('Miscellaneous instrument integral lighting rheostat - Decrease (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = 0.5, name=_('Miscellaneous instrument integral lighting rheostat - Increase (Slow)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = -2, name=_('Miscellaneous instrument integral lighting rheostat - Decrease (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd318, value_pressed = 2, name=_('Miscellaneous instrument integral lighting rheostat - Increase (Fast)'), category = {_('Front structure'), _('Cabin lighting'), _('Custom')}}, -- Lighting control unit - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 0, value_up = 1, name = _('Day/Night selector switch - NIGHT else DAY (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd312, up = devCmds.Cmd312, value_down = 1, value_up = 0, name = _('Day/Night selector switch - DAY else NIGHT (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd319, up = devCmds.Cmd319, value_down = 0, value_up = 1, name = _('Day/Night selector switch - NIGHT else DAY (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd319, up = devCmds.Cmd319, value_down = 1, value_up = 0, name = _('Day/Night selector switch - DAY else NIGHT (2-way Switch)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = -0.5, name=_('Light and panel lighting rheostat - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = 0.5, name=_('Light and panel lighting rheostat - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = -2, name=_('Light and panel lighting rheostat - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd321, value_pressed = 2, name=_('Light and panel lighting rheostat - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = -0.5, name=_('Ultraviolet lighting rheostat - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = 0.5, name=_('Ultraviolet lighting rheostat - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = -2, name=_('Ultraviolet lighting rheostat - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd323, value_pressed = 2, name=_('Ultraviolet lighting rheostat - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = -0.5, name=_('Dual instrument panel lighting rheostat (Floodlights) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = 0.5, name=_('Dual instrument panel lighting rheostat (Floodlights) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = -2, name=_('Dual instrument panel lighting rheostat (Floodlights) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd325, value_pressed = 2, name=_('Dual instrument panel lighting rheostat (Floodlights) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = -0.5, name=_('Dual instrument panel lighting rheostat (Integral) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = 0.5, name=_('Dual instrument panel lighting rheostat (Integral) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = -2, name=_('Dual instrument panel lighting rheostat (Integral) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd327, value_pressed = 2, name=_('Dual instrument panel lighting rheostat (Integral) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = -0.5, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = 0.5, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = -2, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd329, value_pressed = 2, name=_('Dual console and pedestal lighting rheostat (Floodlights) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = -0.5, name=_('Dual console and pedestal lighting rheostat (Integral) - Decrease (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = 0.5, name=_('Dual console and pedestal lighting rheostat (Integral) - Increase (Slow)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = -2, name=_('Dual console and pedestal lighting rheostat (Integral) - Decrease (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd331, value_pressed = 2, name=_('Dual console and pedestal lighting rheostat (Integral) - Increase (Fast)'), category = {_('Right console'), _('Cabin lighting'), _('Lighting control unit'), _('Custom')}}, -- TACAN control box @@ -299,29 +461,33 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd337, up = devCmds.Cmd337, value_down = 0, value_up = 0.3333, name = _('TACAN mode selector - A/A else T/R (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd337, up = devCmds.Cmd337, value_down = 0.6666, value_up = 0.3333, name = _('TACAN mode selector - REC else T/R (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd338, value_down = -1, name = _('TACAN frequency units selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd338, value_down = 1, name = _('TACAN frequency units selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, value_down = -1, name = _('TACAN frequency units selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, value_down = 1, name = _('TACAN frequency units selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd349, up = devCmds.Cmd349, value_down = 1, value_up = 0, name = _('TACAN test button'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, -- VOR/ILS control box - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, up = devCmds.Cmd339, value_down = 0, value_up = 1, name = _('VOR-ILS control unit ON/OFF selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd339, up = devCmds.Cmd339, value_down = 1, value_up = 0, name = _('VOR-ILS control unit ON/OFF selector - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, up = devCmds.Cmd340, value_down = 0, value_up = 1, name = _('VOR-ILS control unit ON/OFF selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, up = devCmds.Cmd340, value_down = 1, value_up = 0, name = _('VOR-ILS control unit ON/OFF selector - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, value_down = -1, name = _('VOR-ILS control unit MHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd340, value_down = 1, name = _('VOR-ILS control unit MHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd341, value_down = -1, name = _('VOR-ILS control unit MHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd341, value_down = 1, name = _('VOR-ILS control unit MHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd343, value_down = -1, name = _('VOR-ILS control unit kHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd343, value_down = 1, name = _('VOR-ILS control unit kHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, +-- VOR-ILS control unit test selector +-- {down = devCmds.Cmd342, up = devCmds.Cmd342, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('VOR-ILS control unit test selector - BD'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box')}}, +-- {down = devCmds.Cmd343, up = devCmds.Cmd343, cockpit_device_id = devices.MAIN ,value_down = -1.0, value_up = 0.0, name = _('VOR-ILS control unit test selector - HG'), category = {_('Right console'), _('Radionavigation'), _('VOR/ILS control box')}}, - -- Omnibearing and VOR/ILS-TAC selector box + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd344, value_down = -1, name = _('VOR-ILS control unit kHz frequency selector - Counterclockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd344, value_down = 1, name = _('VOR-ILS control unit kHz frequency selector - Clockwise (Single)'), category = {_('Right console'), _('Radionavigation'), _('Radionavigation'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, value_down = 0, name = _('VOR/ILS-OFF-TACAN selector - TAC'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, value_down = 0.5, name = _('VOR/ILS-OFF-TACAN selector - VOR'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, value_down = 1.0, name = _('VOR/ILS-OFF-TACAN selector - ILS'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, up = devCmds.Cmd345, value_down = 0, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - TAC else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd345, up = devCmds.Cmd345, value_down = 1, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - ILS else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + -- Omnibearing and VOR/ILS-TAC selector box - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd347, up = devCmds.Cmd347, value_down = 1, value_up = 0, name = _('TACAN test button'), category = {_('Right console'), _('Radionavigation'), _('TACAN control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, value_down = 0, name = _('VOR/ILS-OFF-TACAN selector - TAC'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, value_down = 0.5, name = _('VOR/ILS-OFF-TACAN selector - VOR'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, value_down = 1.0, name = _('VOR/ILS-OFF-TACAN selector - ILS'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, up = devCmds.Cmd346, value_down = 0, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - TAC else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd346, up = devCmds.Cmd346, value_down = 1, value_up = 0.5, name = _('VOR/ILS-OFF-TACAN selector - ILS else VOR (2-way Switch)'), category = {_('Right console'), _('Radionavigation'), _('Omnibearing and VOR/ILS-TAC selector box'), _('Custom')}}, -- Oxygen system @@ -339,17 +505,25 @@ return { {cockpit_device_id = devices.MAIN, down = devCmds.Cmd376, up = devCmds.Cmd376, value_down = 0, value_up = 1, name = _('Master valve control switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd376, up = devCmds.Cmd376, value_down = 1, value_up = 0, name = _('Master valve control switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd378, up = devCmds.Cmd378, value_down = 0, value_up = 1, name = _('Auto/Manual selector switch - AUTO else MANUAL (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd378, up = devCmds.Cmd378, value_down = 1, value_up = 0, name = _('Auto/Manual selector switch - MANUAL else AUTO (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = -0.5, name=_('Temperature control rheostat - Counterclockwise (Slow)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = 0.5, name=_('Temperature control rheostat - Clockwise (Slow)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = -2, name=_('Temperature control rheostat - Counterclockwise (Fast)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd378, value_pressed = 2, name=_('Temperature control rheostat - Clockwise (Fast)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd379, up = devCmds.Cmd379, value_down = 0, value_up = 1, name = _('Auto/Manual selector switch - AUTO else MANUAL (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd379, up = devCmds.Cmd379, value_down = 1, value_up = 0, name = _('Auto/Manual selector switch - MANUAL else AUTO (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd381, up = devCmds.Cmd381, value_down = 0, value_up = 1, name = _('Ram air switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd381, up = devCmds.Cmd381, value_down = 1, value_up = 0, name = _('Ram air switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, +-- {down = devCmds.Cmd381, up = devCmds.Cmd381, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('Hot/Cold selector switch - COLD'), category = {_('Right console'), _('Air conditioning system')}}, +-- {down = devCmds.Cmd380, up = devCmds.Cmd380, cockpit_device_id = devices.MAIN ,value_down = -1.0, value_up = 0.0, name = _('Hot/Cold selector switch - HOT'), category = {_('Right console'), _('Air conditioning system')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 0, value_up = 1, name = _('Ram air switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 1, value_up = 0, name = _('Ram air switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 0, value_up = 1, name = _('Ram air switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd382, up = devCmds.Cmd382, value_down = 1, value_up = 0, name = _('Ram air switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 0, value_up = 1, name = _('Demist switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 1, value_up = 0, name = _('Demist switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 0, value_up = 1, name = _('Ram air switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd383, up = devCmds.Cmd383, value_down = 1, value_up = 0, name = _('Ram air switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd384, up = devCmds.Cmd384, value_down = 0, value_up = 1, name = _('Demist switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd384, up = devCmds.Cmd384, value_down = 1, value_up = 0, name = _('Demist switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Air conditioning system'), _('Custom')}}, -- Circuit breaker box @@ -445,12 +619,232 @@ return { -- Radar detector switch - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd442, up = devCmds.Cmd442, value_down = 0, value_up = 1, name = _('Radar detector switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd442, up = devCmds.Cmd442, value_down = 1, value_up = 0, name = _('Radar detector switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd443, up = devCmds.Cmd443, value_down = 0, value_up = 1, name = _('Radar detector switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd443, up = devCmds.Cmd443, value_down = 1, value_up = 0, name = _('Radar detector switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Radar detector'), _('Custom')}}, -- Control stick {cockpit_device_id = devices.MAIN, down = devCmds.Cmd631, up = devCmds.Cmd631, value_down = 0, value_up = 1, name = _('Gun firing trigger - FOLDED else UNFOLDED (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, {cockpit_device_id = devices.MAIN, down = devCmds.Cmd631, up = devCmds.Cmd631, value_down = 1, value_up = 0, name = _('Gun firing trigger - UNFOLDED else FOLDED (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 0, value_up = 1, name = _('Gun firing safety - IN else OUT (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 1, value_up = 0, name = _('Gun firing safety - OUT else IN (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, + + -- Armament control panel + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 0, value_up = 0.5, name = _('Sight selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 1, value_up = 0.5, name = _('Sight selector - APP else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 0, value_up = 0.5, name = _('Bomb/Rocket selector - INBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 1, value_up = 0.5, name = _('Bomb/Rocket selector - OUTBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 0, value_up = 1, name = _('MATRA 550 or Sidewinder missile switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 1, value_up = 0, name = _('MATRA 550 or Sidewinder missile switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 0, value_up = 1, name = _('Fore/Aft selector switch - AFT else FORE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 1, value_up = 0, name = _('Fore/Aft selector switch - FORE else AFT (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 0, value_up = 1, name = _('Auto/Manual firing selector switch - MAN else AUTO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 1, value_up = 0, name = _('Auto/Manual firing selector switch - AUTO else MAN (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 0, value_up = 1, name = _('Single/Salvo selector - SALVO else SINGLE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 1, value_up = 0, name = _('Single/Salvo selector - SINGLE else SALVO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 0, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - SAFE else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 1, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - INST else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + -- Armament control panel - lighted pushbutton selectors + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 0, value_up = 1, name = _('Left MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 1, value_up = 0, name = _('Left MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 0, value_up = 1, name = _('Left or fuselage MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 1, value_up = 0, name = _('Left or fuselage MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 0, value_up = 1, name = _('Air-to-Air guns pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 1, value_up = 0, name = _('Air-to-Air guns pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 0, value_up = 1, name = _('Wing bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 1, value_up = 0, name = _('Wing bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 0, value_up = 1, name = _('Right MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 1, value_up = 0, name = _('Right MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 0, value_up = 1, name = _('Right MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 1, value_up = 0, name = _('Right MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 0, value_up = 1, name = _('Air-to-Ground guns or rockets pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 1, value_up = 0, name = _('Air-to-Ground guns or rockets pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 0, value_up = 1, name = _('Fuselage bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 1, value_up = 0, name = _('Fuselage bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + -- Armament control panel - continued + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 0, value_up = 1, name = _('R 530 Missile Normal/Altitude difference selector switch - NORM else SNAP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 1, value_up = 0, name = _('R 530 Missile Normal/Altitude difference selector switch - SNAP else NORM (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 0, name = _('Normal/Jammer pursuit switch (No function) - N'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 1, name = _('Normal/Jammer pursuit switch (No function) - JP'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 0, value_up = 1, name = _('Normal/Jammer pursuit switch (No function) - N else JP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 1, value_up = 0, name = _('Normal/Jammer pursuit switch (No function) - JP else N (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, + + -- Radar controls + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 0, value_up = 0.5, name = _('Radar selector - OFF else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 1, value_up = 0.5, name = _('Radar selector - TX else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 0, value_up = 1, name = _('Radar 4 lines/1 line scan switch - 1L else 4L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 1, value_up = 0, name = _('Radar 4 lines/1 line scan switch - 4L else 1L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, + + -- Radar indicator scope control box + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = -0.5, name=_('Indicator lights brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = 0.5, name=_('Indicator lights brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = -2, name=_('Indicator lights brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd619, value_pressed = 2, name=_('Indicator lights brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = -0.5, name=_('Strobe brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = 0.5, name=_('Strobe brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = -2, name=_('Strobe brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd621, value_pressed = 2, name=_('Strobe brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = -0.5, name=_('Distance markers brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = 0.5, name=_('Distance markers brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = -2, name=_('Distance markers brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd623, value_pressed = 2, name=_('Distance markers brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = -0.5, name=_('Horizon and radial velocity marker brightness - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = 0.5, name=_('Horizon and radial velocity marker brightness - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = -2, name=_('Horizon and radial velocity marker brightness - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd625, value_pressed = 2, name=_('Horizon and radial velocity marker brightness - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = -0.5, name=_('Horizon symbol vertical position - Decrease (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = 0.5, name=_('Horizon symbol vertical position - Increase (Slow)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = -2, name=_('Horizon symbol vertical position - Decrease (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd627, value_pressed = 2, name=_('Horizon symbol vertical position - Increase (Fast)'), category = {_('Right console'), _('Radar indicator scope control box'), _('Custom')}}, + + -- Armament master switch + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, up = devCmds.Cmd143, value_down = -0.1, value_up = 1.1, name = _('Armament master switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd143, up = devCmds.Cmd143, value_down = 1.1, value_up = -0.1, name = _('Armament master switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 0, value_up = 0.5, name = _('Armament master switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd144, up = devCmds.Cmd144, value_down = 1, value_up = 0.5, name = _('Armament master switch - TEST else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + + -- ANTENNA-GYRO switch + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 0, value_up = 1, name = _('ANTENNA-GYRO switch - ANTENNA else GYRO (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 1, value_up = 0, name = _('ANTENNA-GYRO switch - GYRO else ANTENNA (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, + + -- Left wall armament switches + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = -1, value_up = 0, name = _('Telemeter/zone scanning switch - BPZ else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = 1, value_up = 0, name = _('Telemeter/zone scanning switch - TEL else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, + + -- Sight system and recording camera + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = -1, value_up = 1, name = _('AUTO/MAN intensity selector switch - AUTO else MAN (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = 1, value_up = -1, name = _('AUTO/MAN intensity selector switch - MAN else AUTO (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd481, up = devCmds.Cmd481, value_down = 0, value_up = 0.5, name = _('Lighting selector switch - O else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd481, up = devCmds.Cmd481, value_down = 1, value_up = 0.5, name = _('Lighting selector switch - E else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = -0.5, name=_('Manual gravity drop selection thumbwheel - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = 0.5, name=_('Manual gravity drop selection thumbwheel - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = -2, name=_('Manual gravity drop selection thumbwheel - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd482, value_pressed = 2, name=_('Manual gravity drop selection thumbwheel - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = -0.5, name=_('Fixed Reticle intensity rheostat - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = 0.5, name=_('Fixed Reticle intensity rheostat - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = -2, name=_('Fixed Reticle intensity rheostat - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd484, value_pressed = 2, name=_('Fixed Reticle intensity rheostat - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = -0.5, name=_('Moving and Target Reticles intensity rheostat - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = 0.5, name=_('Moving and Target Reticles intensity rheostat - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = -2, name=_('Moving and Target Reticles intensity rheostat - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd486, value_pressed = 2, name=_('Moving and Target Reticles intensity rheostat - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = -0.5, name=_('Attitude Reticle intensity rheostat - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = 0.5, name=_('Attitude Reticle intensity rheostat - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = -2, name=_('Attitude Reticle intensity rheostat - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd488, value_pressed = 2, name=_('Attitude Reticle intensity rheostat - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = -0.5, name=_('Exposure time repeater - Counterclockwise (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = 0.5, name=_('Exposure time repeater - Clockwise (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = -2, name=_('Exposure time repeater - Counterclockwise (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd491, value_pressed = 2, name=_('Exposure time repeater - Clockwise (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = -0.5, name=_('Overrun select thumbwheel - Decrease (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = 0.5, name=_('Overrun select thumbwheel - Increase (Slow)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = -2, name=_('Overrun select thumbwheel - Decrease (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd493, value_pressed = 2, name=_('Overrun select thumbwheel - Increase (Fast)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd494, up = devCmds.Cmd494, value_down = 0, value_up = 1, name = _('5/16 PPS framing rate selector switch - 5 else 16 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd494, up = devCmds.Cmd494, value_down = 1, value_up = 0, name = _('5/16 PPS framing rate selector switch - 16 else 5 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, + + -- Radar + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = -0.5, name=_('Scope intensity adjustment - Counterclockwise/Decrease (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = 0.5, name=_('Scope intensity adjustment - Clockwise/Increase (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = -2, name=_('Scope intensity adjustment - Counterclockwise/Decrease (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd507, value_pressed = 2, name=_('Scope intensity adjustment - Clockwise/Increase (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 0, name = _('Radar function selection - HA'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 1/7, name = _('Radar function selection - IC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 2/7, name = _('Radar function selection - TS'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 3/7, name = _('Radar function selection - V1'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 4/7, name = _('Radar function selection - DC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 5/7, name = _('Radar function selection - PR'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 6/7, name = _('Radar function selection - AC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd508, value_down = 1.01, name = _('Radar function selection - OFF'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + -- Storage adjustment + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = -0.5, name=_('Storage adjustment - Counterclockwise/Decrease (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = 0.5, name=_('Storage adjustment - Clockwise/Increase (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = -2, name=_('Storage adjustment - Counterclockwise/Decrease (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd511, value_pressed = 2, name=_('Storage adjustment - Clockwise/Increase (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + -- Polaroid screen adjustment + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = -0.5, name=_('Polaroid screen adjustment - Counterclockwise (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = 0.5, name=_('Polaroid screen adjustment - Clockwise (Slow)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = -2, name=_('Polaroid screen adjustment - Counterclockwise (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd514, value_pressed = 2, name=_('Polaroid screen adjustment - Clockwise (Fast)'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, + + -- IFF + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, up = devCmds.Cmd532, value_down = -1, value_up = 0, name = _('Position identification selector - MIC else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, up = devCmds.Cmd532, value_down = 1, value_up = 0, name = _('Position identification selector - IDENT else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0, name = _('Mode 4 selector switch - HOLD'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0.3333, name = _('Mode 4 selector switch - B'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0.6666, name = _('Mode 4 selector switch - A'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd535, value_down = 0.9999, name = _('Mode 4 selector switch - ZERO'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0, name = _('Function selector switch - OFF'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0.3333, name = _('Function selector switch - SBY'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0.6666, name = _('Function selector switch - N'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, value_down = 0.9999, name = _('Function selector switch - EMER'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd542, up = devCmds.Cmd542, value_down = 0, value_up = 1, name = _('IFF mode 4 switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd542, up = devCmds.Cmd542, value_down = 1, value_up = 0, name = _('IFF mode 4 switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd546, up = devCmds.Cmd546, value_down = 0, value_up = 1, name = _('AUDIO-LIGHT switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd546, up = devCmds.Cmd546, value_down = 1, value_up = 0, name = _('AUDIO-LIGHT switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd547, up = devCmds.Cmd547, value_down = 0, value_up = 1, name = _('M-1 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd547, up = devCmds.Cmd547, value_down = 1, value_up = 0, name = _('M-1 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd548, up = devCmds.Cmd548, value_down = 0, value_up = 1, name = _('M-2 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd548, up = devCmds.Cmd548, value_down = 1, value_up = 0, name = _('M-2 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd549, up = devCmds.Cmd549, value_down = 0, value_up = 1, name = _('M-3 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd549, up = devCmds.Cmd549, value_down = 1, value_up = 0, name = _('M-3 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd550, up = devCmds.Cmd550, value_down = 0, value_up = 1, name = _('M-4 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd550, up = devCmds.Cmd550, value_down = 1, value_up = 0, name = _('M-4 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Common_CE_BE/joystick/default.lua b/InputCommands/Mirage-F1/Input/Common_CE_BE/joystick/default.lua index 8d7662f..8d833b8 100644 --- a/InputCommands/Mirage-F1/Input/Common_CE_BE/joystick/default.lua +++ b/InputCommands/Mirage-F1/Input/Common_CE_BE/joystick/default.lua @@ -1,6 +1,74 @@ return { keyCommands = { - + -- Navigation indicator + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0, name = _('Mode selector switch - TT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.3333, name = _('Mode selector switch - TE'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.6666, name = _('Mode selector switch - VT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.9999, name = _('Mode selector switch - AR'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0, value_up = 0.3333, name = _('Mode selector switch - TT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0.6666, value_up = 0.3333, name = _('Mode selector switch - VT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = 0, value_up = 1, name = _('Normal/Additional vector selector switch - NORMAL else VECT. ADD. (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = 1, value_up = 0, name = _('Normal/Additional vector selector switch - VECT. ADD. else NORMAL (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd558, up = devCmds.Cmd558, value_down = -1, value_up = 1, name = _('Additional target selector switch - Counterclockwise else Clockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd558, up = devCmds.Cmd558, value_down = 1, value_up = -1, name = _('Additional target selector switch - Clockwise else Counterclockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + -- Bearing/Distance selector knob + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = -0.5, name=_('Bearing/Distance selector knob - Counterclockwise (Slow)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = 0.5, name=_('Bearing/Distance selector knob - Clockwise (Slow)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = -2, name=_('Bearing/Distance selector knob - Counterclockwise (Fast)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = 2, name=_('Bearing/Distance selector knob - Clockwise (Fast)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + -- MATRA 550 or Sidewinder jettisoning + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd561, up = devCmds.Cmd561, value_down = -0.1, value_up = 1.1, name = _('MATRA 550 or Sidewinder jettison button guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd561, up = devCmds.Cmd561, value_down = 1.1, value_up = -0.1, name = _('MATRA 550 or Sidewinder jettison button guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, + + -- Radar detector indicator + + -- Indicator lights intensity adjusting switch + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd575, up = devCmds.Cmd575, value_down = -1, value_up = 1, name = _('Indicator light intensity adjusting switch - PLUS else MINUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd575, up = devCmds.Cmd575, value_down = 1, value_up = -1, name = _('Indicator light intensity adjusting switch - MINUS else PLUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, + +-- Radar detector indicator test switch +-- {down = devCmds.Cmd576, up = devCmds.Cmd576, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('Radar detector indicator test switch - PULSE'), category = {_('Central front panel'), _('Radar detector')}}, +-- {down = devCmds.Cmd577, up = devCmds.Cmd577, cockpit_device_id = devices.MAIN ,value_down = -1.0, value_up = 0.0, name = _('Radar detector indicator test switch - CW'), category = {_('Central front panel'), _('Radar detector')}}, + + -- UHF radio + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 0, value_up = 1, name = _('5W/25W selector switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 1, value_up = 0, name = _('5W/25W selector switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 0, value_up = 1, name = _('Squelch switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 1, value_up = 0, name = _('Squelch switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 0, value_up = 1, name = _('UHF radio test selector switch - R else E+A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 1, value_up = 0, name = _('UHF radio test selector switch - E+A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0, name = _('UHF radio function selector - 0'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.250, name = _('UHF radio function selector - 1'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.5, name = _('UHF radio function selector - 2'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.750, name = _('UHF radio function selector - 3'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 1, name = _('UHF radio function selector - 4'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd461, up = devCmds.Cmd461, value_down = 1, value_up = 0, name = _('Test light'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- Jammer detection light + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -0.5, name=_('Jammer detection light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 0.5, name=_('Jammer detection light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -2, name=_('Jammer detection light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 2, name=_('Jammer detection light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + }, + axisCommands = { + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd555, name = _('Navigation Mode selector switch')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd557, name = _('Normal/Additional vector selector switch')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd559, name = _('Bearing/Distance selector knob')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd292, name = _('Jammer detection light')}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Common_CE_BE/keyboard/default.lua b/InputCommands/Mirage-F1/Input/Common_CE_BE/keyboard/default.lua index 3e301a7..070635a 100644 --- a/InputCommands/Mirage-F1/Input/Common_CE_BE/keyboard/default.lua +++ b/InputCommands/Mirage-F1/Input/Common_CE_BE/keyboard/default.lua @@ -1,5 +1,68 @@ return { keyCommands = { - + + -- Navigation indicator + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0, name = _('Mode selector switch - TT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.3333, name = _('Mode selector switch - TE'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.6666, name = _('Mode selector switch - VT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.9999, name = _('Mode selector switch - AR'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0, value_up = 0.3333, name = _('Mode selector switch - TT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0.6666, value_up = 0.3333, name = _('Mode selector switch - VT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = 0, value_up = 1, name = _('Normal/Additional vector selector switch - NORMAL else VECT. ADD. (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = 1, value_up = 0, name = _('Normal/Additional vector selector switch - VECT. ADD. else NORMAL (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd558, up = devCmds.Cmd558, value_down = -1, value_up = 1, name = _('Additional target selector switch - Counterclockwise else Clockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd558, up = devCmds.Cmd558, value_down = 1, value_up = -1, name = _('Additional target selector switch - Clockwise else Counterclockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + -- Bearing/Distance selector knob + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = -0.5, name=_('Bearing/Distance selector knob - Counterclockwise (Slow)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = 0.5, name=_('Bearing/Distance selector knob - Clockwise (Slow)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = -2, name=_('Bearing/Distance selector knob - Counterclockwise (Fast)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd559, value_pressed = 2, name=_('Bearing/Distance selector knob - Clockwise (Fast)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + -- MATRA 550 or Sidewinder jettisoning + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd561, up = devCmds.Cmd561, value_down = -0.1, value_up = 1.1, name = _('MATRA 550 or Sidewinder jettison button guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd561, up = devCmds.Cmd561, value_down = 1.1, value_up = -0.1, name = _('MATRA 550 or Sidewinder jettison button guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, + + -- Radar detector indicator + + -- Indicator lights intensity adjusting switch + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd575, up = devCmds.Cmd575, value_down = -1, value_up = 1, name = _('Indicator light intensity adjusting switch - PLUS else MINUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd575, up = devCmds.Cmd575, value_down = 1, value_up = -1, name = _('Indicator light intensity adjusting switch - MINUS else PLUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, + +-- Radar detector indicator test switch +-- {down = devCmds.Cmd576, up = devCmds.Cmd576, cockpit_device_id = devices.MAIN ,value_down = 1.0, value_up = 0.0, name = _('Radar detector indicator test switch - PULSE'), category = {_('Central front panel'), _('Radar detector')}}, +-- {down = devCmds.Cmd577, up = devCmds.Cmd577, cockpit_device_id = devices.MAIN ,value_down = -1.0, value_up = 0.0, name = _('Radar detector indicator test switch - CW'), category = {_('Central front panel'), _('Radar detector')}}, + + -- UHF radio + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 0, value_up = 1, name = _('5W/25W selector switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 1, value_up = 0, name = _('5W/25W selector switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 0, value_up = 1, name = _('Squelch switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 1, value_up = 0, name = _('Squelch switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 0, value_up = 1, name = _('UHF radio test selector switch - R else E+A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 1, value_up = 0, name = _('UHF radio test selector switch - E+A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0, name = _('UHF radio function selector - 0'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.250, name = _('UHF radio function selector - 1'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.5, name = _('UHF radio function selector - 2'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.750, name = _('UHF radio function selector - 3'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 1, name = _('UHF radio function selector - 4'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd461, up = devCmds.Cmd461, value_down = 1, value_up = 0, name = _('Test light'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- Jammer detection light + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -0.5, name=_('Jammer detection light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 0.5, name=_('Jammer detection light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -2, name=_('Jammer detection light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 2, name=_('Jammer detection light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Common_EE_M/joystick/default.lua b/InputCommands/Mirage-F1/Input/Common_EE_M/joystick/default.lua index 8d7662f..c385b76 100644 --- a/InputCommands/Mirage-F1/Input/Common_EE_M/joystick/default.lua +++ b/InputCommands/Mirage-F1/Input/Common_EE_M/joystick/default.lua @@ -1,6 +1,53 @@ return { keyCommands = { - + -- Navigation indicator + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd655, up = devCmds.Cmd655, value_down = 0, value_up = 1, name = _('Gyromagnetic/True IDN heading selector - Gyromagnetic else True (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd655, up = devCmds.Cmd655, value_down = 1, value_up = 0, name = _('Gyromagnetic/True IDN heading selector - True else Gyromagnetic (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd656, up = devCmds.Cmd656, value_down = 0, value_up = 1, name = _('VOR/Radar narrow needle selector - Radar else VOR (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd656, up = devCmds.Cmd656, value_down = 1, value_up = 0, name = _('VOR/Radar narrow needle selector - VOR else Radar (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0, name = _('Mode selector switch - NAV VA'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.2, name = _('Mode selector switch - NAV N'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.4, name = _('Mode selector switch - NAV 0'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.6, name = _('Mode selector switch - RNAV 0'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.8, name = _('Mode selector switch - RNAV N'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 1, name = _('Mode selector switch - RNAV VA'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + -- Aerial refuelling system + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd664, up = devCmds.Cmd664, value_down = -0.1, value_up = 1.1, name = _('Transfer/filling switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd664, up = devCmds.Cmd664, value_down = 1.1, value_up = -0.1, name = _('Transfer/filling switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd663, up = devCmds.Cmd663, value_down = 0, value_up = 1, name = _('Transfer/filling switch - TRANSFERT (TRANSFER) else REMP. VOL (AERIAL REFUELLING) (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd663, up = devCmds.Cmd663, value_down = 1, value_up = 0, name = _('Transfer/filling switch - REMP. VOL (AERIAL REFUELLING) else TRANSFERT (TRANSFER) (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = -0.5, name=_('Aerial refuelling light adjustment potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = 0.5, name=_('Aerial refuelling light adjustment potentiometer - Increase (Slow)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = -2, name=_('Aerial refuelling light adjustment potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = 2, name=_('Aerial refuelling light adjustment potentiometer - Increase (Fast)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + + -- RWR ALR-300 Control Panel + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = -0.5, name=_('ALR-300 display brightness - Counterclockwise/Decrease (Slow)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = 0.5, name=_('ALR-300 display brightness - Clockwise/Increase (Slow)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = -2, name=_('ALR-300 display brightness - Counterclockwise/Decrease (Fast)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = 2, name=_('ALR-300 display brightness - Clockwise/Increase (Fast)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + + -- Jammer detection / AAR Feeder tanks overflow light + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -0.5, name=_('Jammer detection / Feeder tanks overflow light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 0.5, name=_('Jammer detection / Feeder tanks overflow light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -2, name=_('Jammer detection / Feeder tanks overflow light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 2, name=_('Jammer detection / Feeder tanks overflow light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + }, + axisCommands = { + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd657, name = _('Navigation Mode selector switch')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd667, name = _('Aerial refuelling light adjustment potentiometer')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd675, name = _('ALR-300 display brightness')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd292, name = _('Jammer detection / Feeder tanks overflow light')}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Common_EE_M/keyboard/default.lua b/InputCommands/Mirage-F1/Input/Common_EE_M/keyboard/default.lua index 3e301a7..4a90730 100644 --- a/InputCommands/Mirage-F1/Input/Common_EE_M/keyboard/default.lua +++ b/InputCommands/Mirage-F1/Input/Common_EE_M/keyboard/default.lua @@ -1,5 +1,47 @@ return { keyCommands = { - + + -- Navigation indicator + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd655, up = devCmds.Cmd655, value_down = 0, value_up = 1, name = _('Gyromagnetic/True IDN heading selector - Gyromagnetic else True (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd655, up = devCmds.Cmd655, value_down = 1, value_up = 0, name = _('Gyromagnetic/True IDN heading selector - True else Gyromagnetic (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd656, up = devCmds.Cmd656, value_down = 0, value_up = 1, name = _('VOR/Radar narrow needle selector - Radar else VOR (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd656, up = devCmds.Cmd656, value_down = 1, value_up = 0, name = _('VOR/Radar narrow needle selector - VOR else Radar (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0, name = _('Mode selector switch - NAV VA'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.2, name = _('Mode selector switch - NAV N'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.4, name = _('Mode selector switch - NAV 0'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.6, name = _('Mode selector switch - RNAV 0'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 0.8, name = _('Mode selector switch - RNAV N'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd657, value_down = 1, name = _('Mode selector switch - RNAV VA'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, + + -- Aerial refuelling system + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd664, up = devCmds.Cmd664, value_down = -0.1, value_up = 1.1, name = _('Transfer/filling switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd664, up = devCmds.Cmd664, value_down = 1.1, value_up = -0.1, name = _('Transfer/filling switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd663, up = devCmds.Cmd663, value_down = 0, value_up = 1, name = _('Transfer/filling switch - TRANSFERT (TRANSFER) else REMP. VOL (AERIAL REFUELLING) (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd663, up = devCmds.Cmd663, value_down = 1, value_up = 0, name = _('Transfer/filling switch - REMP. VOL (AERIAL REFUELLING) else TRANSFERT (TRANSFER) (2-way Switch)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = -0.5, name=_('Aerial refuelling light adjustment potentiometer - Decrease (Slow)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = 0.5, name=_('Aerial refuelling light adjustment potentiometer - Increase (Slow)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = -2, name=_('Aerial refuelling light adjustment potentiometer - Decrease (Fast)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd668, value_pressed = 2, name=_('Aerial refuelling light adjustment potentiometer - Increase (Fast)'), category = {_('Left console'), _('Aerial refuelling system'), _('Custom')}}, + + -- RWR ALR-300 Control Panel + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = -0.5, name=_('ALR-300 display brightness - Counterclockwise/Decrease (Slow)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = 0.5, name=_('ALR-300 display brightness - Clockwise/Increase (Slow)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = -2, name=_('ALR-300 display brightness - Counterclockwise/Decrease (Fast)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd676, value_pressed = 2, name=_('ALR-300 display brightness - Clockwise/Increase (Fast)'), category = {_('Central front panel'), _('RWR ALR-300 control panel'), _('Custom')}}, + + -- Jammer detection / AAR Feeder tanks overflow light + + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -0.5, name=_('Jammer detection / Feeder tanks overflow light - Decrease (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 0.5, name=_('Jammer detection / Feeder tanks overflow light - Increase (Slow)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = -2, name=_('Jammer detection / Feeder tanks overflow light - Decrease (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, pressed = devCmds.Cmd293, value_pressed = 2, name=_('Jammer detection / Feeder tanks overflow light - Increase (Fast)'), category = {_('Central front panel'), _('Warnings'), _('Custom')}}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Mirage-F1CE/joystick/default.lua b/InputCommands/Mirage-F1/Input/Mirage-F1CE/joystick/default.lua index 9890acd..6579472 100644 --- a/InputCommands/Mirage-F1/Input/Mirage-F1CE/joystick/default.lua +++ b/InputCommands/Mirage-F1/Input/Mirage-F1CE/joystick/default.lua @@ -1,191 +1,8 @@ return { keyCommands = { - - -- Navigation indicator - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0, name = _('Mode selector switch - TT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.3333, name = _('Mode selector switch - TE'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.6666, name = _('Mode selector switch - VT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.9999, name = _('Mode selector switch - AR'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0, value_up = 0.3333, name = _('Mode selector switch - TT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0.6666, value_up = 0.3333, name = _('Mode selector switch - VT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd556, up = devCmds.Cmd556, value_down = 0, value_up = 1, name = _('Normal/Additional vector selector switch - NORMAL else VECT. ADD. (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd556, up = devCmds.Cmd556, value_down = 1, value_up = 0, name = _('Normal/Additional vector selector switch - VECT. ADD. else NORMAL (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = -1, value_up = 1, name = _('Additional target selector switch - Counterclockwise else Clockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = 1, value_up = -1, name = _('Additional target selector switch - Clockwise else Counterclockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - - -- MATRA 550 or Sidewinder jettisoning - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd560, up = devCmds.Cmd560, value_down = -0.1, value_up = 1.1, name = _('MATRA 550 or Sidewinder jettison button guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd560, up = devCmds.Cmd560, value_down = 1.1, value_up = -0.1, name = _('MATRA 550 or Sidewinder jettison button guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, - - -- Radar detector indicator - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd566, up = devCmds.Cmd566, value_down = -1, value_up = 1, name = _('Indicator light intensity adjusting switch - PLUS else MINUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd566, up = devCmds.Cmd566, value_down = 1, value_up = -1, name = _('Indicator light intensity adjusting switch - MINUS else PLUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, - - -- Armament control panel - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 0, value_up = 0.5, name = _('Sight selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 1, value_up = 0.5, name = _('Sight selector - APP else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 0, value_up = 0.5, name = _('Bomb/Rocket selector - INBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 1, value_up = 0.5, name = _('Bomb/Rocket selector - OUTBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 0, value_up = 1, name = _('MATRA 550 or Sidewinder missile switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 1, value_up = 0, name = _('MATRA 550 or Sidewinder missile switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 0, value_up = 1, name = _('Fore/Aft selector switch - AFT else FORE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 1, value_up = 0, name = _('Fore/Aft selector switch - FORE else AFT (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 0, value_up = 1, name = _('Auto/Manual firing selector switch - MAN else AUTO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 1, value_up = 0, name = _('Auto/Manual firing selector switch - AUTO else MAN (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 0, value_up = 1, name = _('Single/Salvo selector - SALVO else SINGLE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 1, value_up = 0, name = _('Single/Salvo selector - SINGLE else SALVO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 0, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - SAFE else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 1, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - INST else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - -- Armament control panel - lighted pushbutton selectors - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 0, value_up = 1, name = _('Left MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 1, value_up = 0, name = _('Left MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 0, value_up = 1, name = _('Left or fuselage MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 1, value_up = 0, name = _('Left or fuselage MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 0, value_up = 1, name = _('Air-to-Air guns pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 1, value_up = 0, name = _('Air-to-Air guns pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 0, value_up = 1, name = _('Wing bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 1, value_up = 0, name = _('Wing bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 0, value_up = 1, name = _('Right MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 1, value_up = 0, name = _('Right MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 0, value_up = 1, name = _('Right MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 1, value_up = 0, name = _('Right MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 0, value_up = 1, name = _('Air-to-Ground guns or rockets pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 1, value_up = 0, name = _('Air-to-Ground guns or rockets pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 0, value_up = 1, name = _('Fuselage bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 1, value_up = 0, name = _('Fuselage bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - -- Armament control panel - continued - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 0, value_up = 1, name = _('R 530 Missile Normal/Altitude difference selector switch - NORM else SNAP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 1, value_up = 0, name = _('R 530 Missile Normal/Altitude difference selector switch - SNAP else NORM (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 0, name = _('Normal/Jammer pursuit switch (No function) - N'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 1, name = _('Normal/Jammer pursuit switch (No function) - JP'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 0, value_up = 1, name = _('Normal/Jammer pursuit switch (No function) - N else JP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 1, value_up = 0, name = _('Normal/Jammer pursuit switch (No function) - JP else N (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - -- Radar controls - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 0, value_up = 0.5, name = _('Radar selector - OFF else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 1, value_up = 0.5, name = _('Radar selector - TX else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 0, value_up = 1, name = _('Radar 4 lines/1 line scan switch - 1L else 4L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 1, value_up = 0, name = _('Radar 4 lines/1 line scan switch - 4L else 1L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - - -- Armament master switch - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd134, up = devCmds.Cmd134, value_down = -0.1, value_up = 1.1, name = _('Armament master switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd134, up = devCmds.Cmd134, value_down = 1.1, value_up = -0.1, name = _('Armament master switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd135, up = devCmds.Cmd135, value_down = 0, value_up = 0.5, name = _('Armament master switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd135, up = devCmds.Cmd135, value_down = 1, value_up = 0.5, name = _('Armament master switch - TEST else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - - -- ANTENNA-GYRO switch - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 0, value_up = 1, name = _('ANTENNA-GYRO switch - ANTENNA else GYRO (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 1, value_up = 0, name = _('ANTENNA-GYRO switch - GYRO else ANTENNA (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - - -- UHF radio (TRT - TRAP 137B) - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 0, value_up = 1, name = _('5W/25W selector switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 1, value_up = 0, name = _('5W/25W selector switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 0, value_up = 1, name = _('Squelch switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 1, value_up = 0, name = _('Squelch switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 0, value_up = 1, name = _('UHF radio test selector switch - R else E+A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 1, value_up = 0, name = _('UHF radio test selector switch - E+A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - - -- Left wall armament switches - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = -1, value_up = 0, name = _('Telemeter/zone scanning switch - BPZ else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = 1, value_up = 0, name = _('Telemeter/zone scanning switch - TEL else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, - - -- Sight system and recording camera - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd479, up = devCmds.Cmd479, value_down = -1, value_up = 1, name = _('AUTO/MAN intensity selector switch - AUTO else MAN (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd479, up = devCmds.Cmd479, value_down = 1, value_up = -1, name = _('AUTO/MAN intensity selector switch - MAN else AUTO (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = 0, value_up = 0.5, name = _('Lighting selector switch - O else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = 1, value_up = 0.5, name = _('Lighting selector switch - E else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd488, up = devCmds.Cmd488, value_down = 0, value_up = 1, name = _('5/16 PPS framing rate selector switch - 5 else 16 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd488, up = devCmds.Cmd488, value_down = 1, value_up = 0, name = _('5/16 PPS framing rate selector switch - 16 else 5 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - - -- Radar - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 0, name = _('Radar function selection - HA'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 1/7, name = _('Radar function selection - IC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 2/7, name = _('Radar function selection - TS'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 3/7, name = _('Radar function selection - V1'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 4/7, name = _('Radar function selection - DC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 5/7, name = _('Radar function selection - PR'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 6/7, name = _('Radar function selection - AC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 1.01, name = _('Radar function selection - OFF'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - - -- IFF - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd526, up = devCmds.Cmd526, value_down = -1, value_up = 0, name = _('Position identification selector - MIC else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd526, up = devCmds.Cmd526, value_down = 1, value_up = 0, name = _('Position identification selector - IDENT else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0, name = _('Function selector switch - OFF'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0.3333, name = _('Function selector switch - SBY'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0.6666, name = _('Function selector switch - N'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0.9999, name = _('Function selector switch - EMER'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0, name = _('Mode 4 selector switch - HOLD'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0.3333, name = _('Mode 4 selector switch - B'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0.6666, name = _('Mode 4 selector switch - A'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0.9999, name = _('Mode 4 selector switch - ZERO'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd533, up = devCmds.Cmd533, value_down = 0, value_up = 1, name = _('IFF mode 4 switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd533, up = devCmds.Cmd533, value_down = 1, value_up = 0, name = _('IFF mode 4 switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd536, up = devCmds.Cmd536, value_down = 0, value_up = 1, name = _('AUDIO-LIGHT switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd536, up = devCmds.Cmd536, value_down = 1, value_up = 0, name = _('AUDIO-LIGHT switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd537, up = devCmds.Cmd537, value_down = 0, value_up = 1, name = _('M-1 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd537, up = devCmds.Cmd537, value_down = 1, value_up = 0, name = _('M-1 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd538, up = devCmds.Cmd538, value_down = 0, value_up = 1, name = _('M-2 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd538, up = devCmds.Cmd538, value_down = 1, value_up = 0, name = _('M-2 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd539, up = devCmds.Cmd539, value_down = 0, value_up = 1, name = _('M-3 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd539, up = devCmds.Cmd539, value_down = 1, value_up = 0, name = _('M-3 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, up = devCmds.Cmd540, value_down = 0, value_up = 1, name = _('M-4 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, up = devCmds.Cmd540, value_down = 1, value_up = 0, name = _('M-4 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - -- Control stick - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 0, value_up = 1, name = _('Gun firing safety - IN else OUT (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 1, value_up = 0, name = _('Gun firing safety - OUT else IN (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, }, axisCommands = { - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd555, name = _('Navigation Mode selector switch')}, - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd507, name = _('Radar function selection')}, - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd532, name = _('IFF Function selector switch')}, - {cockpit_device_id = devices.MAIN, action = devCmds.Cmd529, name = _('IFF Mode 4 selector switch')}, + } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Mirage-F1CE/keyboard/default.lua b/InputCommands/Mirage-F1/Input/Mirage-F1CE/keyboard/default.lua index 571c0b9..3e301a7 100644 --- a/InputCommands/Mirage-F1/Input/Mirage-F1CE/keyboard/default.lua +++ b/InputCommands/Mirage-F1/Input/Mirage-F1CE/keyboard/default.lua @@ -1,185 +1,5 @@ return { keyCommands = { - - -- Navigation indicator - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0, name = _('Mode selector switch - TT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.3333, name = _('Mode selector switch - TE'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.6666, name = _('Mode selector switch - VT'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, value_down = 0.9999, name = _('Mode selector switch - AR'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0, value_up = 0.3333, name = _('Mode selector switch - TT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd555, up = devCmds.Cmd555, value_down = 0.6666, value_up = 0.3333, name = _('Mode selector switch - VT else TE (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd556, up = devCmds.Cmd556, value_down = 0, value_up = 1, name = _('Normal/Additional vector selector switch - NORMAL else VECT. ADD. (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd556, up = devCmds.Cmd556, value_down = 1, value_up = 0, name = _('Normal/Additional vector selector switch - VECT. ADD. else NORMAL (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = -1, value_up = 1, name = _('Additional target selector switch - Counterclockwise else Clockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd557, up = devCmds.Cmd557, value_down = 1, value_up = -1, name = _('Additional target selector switch - Clockwise else Counterclockwise (2-way Switch)'), category = {_('Central front panel'), _('Navigation indicator'), _('Custom')}}, - - -- MATRA 550 or Sidewinder jettisoning - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd560, up = devCmds.Cmd560, value_down = -0.1, value_up = 1.1, name = _('MATRA 550 or Sidewinder jettison button guard - CLOSE else OPEN (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd560, up = devCmds.Cmd560, value_down = 1.1, value_up = -0.1, name = _('MATRA 550 or Sidewinder jettison button guard - OPEN else CLOSE (2-way Switch)'), category = {_('Central front panel'), _('Armament system'), _('Custom')}}, - - -- Radar detector indicator - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd566, up = devCmds.Cmd566, value_down = -1, value_up = 1, name = _('Indicator light intensity adjusting switch - PLUS else MINUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd566, up = devCmds.Cmd566, value_down = 1, value_up = -1, name = _('Indicator light intensity adjusting switch - MINUS else PLUS (2-way Switch)'), category = {_('Central front panel'), _('Radar detector'), _('Custom')}}, - - -- Armament control panel - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 0, value_up = 0.5, name = _('Sight selector - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd580, up = devCmds.Cmd580, value_down = 1, value_up = 0.5, name = _('Sight selector - APP else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 0, value_up = 0.5, name = _('Bomb/Rocket selector - INBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd581, up = devCmds.Cmd581, value_down = 1, value_up = 0.5, name = _('Bomb/Rocket selector - OUTBD else 1+2 (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 0, value_up = 1, name = _('MATRA 550 or Sidewinder missile switch - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd582, up = devCmds.Cmd582, value_down = 1, value_up = 0, name = _('MATRA 550 or Sidewinder missile switch - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 0, value_up = 1, name = _('Fore/Aft selector switch - AFT else FORE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd583, up = devCmds.Cmd583, value_down = 1, value_up = 0, name = _('Fore/Aft selector switch - FORE else AFT (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 0, value_up = 1, name = _('Auto/Manual firing selector switch - MAN else AUTO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd584, up = devCmds.Cmd584, value_down = 1, value_up = 0, name = _('Auto/Manual firing selector switch - AUTO else MAN (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 0, value_up = 1, name = _('Single/Salvo selector - SALVO else SINGLE (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd585, up = devCmds.Cmd585, value_down = 1, value_up = 0, name = _('Single/Salvo selector - SINGLE else SALVO (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 0, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - SAFE else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd586, up = devCmds.Cmd586, value_down = 1, value_up = 0.5, name = _('Instantaneous/Delay/Safe selector switch - INST else DLY (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - -- Armament control panel - lighted pushbutton selectors - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 0, value_up = 1, name = _('Left MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd587, up = devCmds.Cmd587, value_down = 1, value_up = 0, name = _('Left MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 0, value_up = 1, name = _('Left or fuselage MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd588, up = devCmds.Cmd588, value_down = 1, value_up = 0, name = _('Left or fuselage MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 0, value_up = 1, name = _('Air-to-Air guns pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd589, up = devCmds.Cmd589, value_down = 1, value_up = 0, name = _('Air-to-Air guns pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 0, value_up = 1, name = _('Wing bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd590, up = devCmds.Cmd590, value_down = 1, value_up = 0, name = _('Wing bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 0, value_up = 1, name = _('Right MATRA R550 or Sidewinder missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd591, up = devCmds.Cmd591, value_down = 1, value_up = 0, name = _('Right MATRA R550 or Sidewinder missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 0, value_up = 1, name = _('Right MATRA R530 missile pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd592, up = devCmds.Cmd592, value_down = 1, value_up = 0, name = _('Right MATRA R530 missile pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 0, value_up = 1, name = _('Air-to-Ground guns or rockets pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd593, up = devCmds.Cmd593, value_down = 1, value_up = 0, name = _('Air-to-Ground guns or rockets pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 0, value_up = 1, name = _('Fuselage bombs pushbutton - OFF else ON (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd594, up = devCmds.Cmd594, value_down = 1, value_up = 0, name = _('Fuselage bombs pushbutton - ON else OFF (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - -- Armament control panel - continued - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 0, value_up = 1, name = _('R 530 Missile Normal/Altitude difference selector switch - NORM else SNAP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd595, up = devCmds.Cmd595, value_down = 1, value_up = 0, name = _('R 530 Missile Normal/Altitude difference selector switch - SNAP else NORM (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 0, name = _('Normal/Jammer pursuit switch (No function) - N'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, value_down = 1, name = _('Normal/Jammer pursuit switch (No function) - JP'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 0, value_up = 1, name = _('Normal/Jammer pursuit switch (No function) - N else JP (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd596, up = devCmds.Cmd596, value_down = 1, value_up = 0, name = _('Normal/Jammer pursuit switch (No function) - JP else N (2-way Switch)'), category = {_('Right console'), _('Armament system'), _('Armament control panel'), _('Custom')}}, - - -- Radar controls - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 0, value_up = 0.5, name = _('Radar selector - OFF else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd605, up = devCmds.Cmd605, value_down = 1, value_up = 0.5, name = _('Radar selector - TX else SBY (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 0, value_up = 1, name = _('Radar 4 lines/1 line scan switch - 1L else 4L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd607, up = devCmds.Cmd607, value_down = 1, value_up = 0, name = _('Radar 4 lines/1 line scan switch - 4L else 1L (2-way Switch)'), category = {_('Right console'), _('Radar'), _('Armament control panel'), _('Custom')}}, - - -- Armament master switch - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd134, up = devCmds.Cmd134, value_down = -0.1, value_up = 1.1, name = _('Armament master switch guard - CLOSE else OPEN (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd134, up = devCmds.Cmd134, value_down = 1.1, value_up = -0.1, name = _('Armament master switch guard - OPEN else CLOSE (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd135, up = devCmds.Cmd135, value_down = 0, value_up = 0.5, name = _('Armament master switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd135, up = devCmds.Cmd135, value_down = 1, value_up = 0.5, name = _('Armament master switch - TEST else ON (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - - -- ANTENNA-GYRO switch - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 0, value_up = 1, name = _('ANTENNA-GYRO switch - ANTENNA else GYRO (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd453, up = devCmds.Cmd453, value_down = 1, value_up = 0, name = _('ANTENNA-GYRO switch - GYRO else ANTENNA (2-way Switch)'), category = {_('Left console'), _('Armament system'), _('Custom')}}, - - -- UHF radio (TRT - TRAP 137B) - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 0, value_up = 1, name = _('5W/25W selector switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 1, value_up = 0, name = _('5W/25W selector switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 0, value_up = 1, name = _('Squelch switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 1, value_up = 0, name = _('Squelch switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 0, value_up = 1, name = _('UHF radio test selector switch - R else E+A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 1, value_up = 0, name = _('UHF radio test selector switch - E+A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, - - -- Left wall armament switches - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = -1, value_up = 0, name = _('Telemeter/zone scanning switch - BPZ else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd476, up = devCmds.Cmd476, value_down = 1, value_up = 0, name = _('Telemeter/zone scanning switch - TEL else CENTER (2-way Switch)'), category = {_('Left wall'), _('Armament system'), _('Custom')}}, - - -- Sight system and recording camera - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd479, up = devCmds.Cmd479, value_down = -1, value_up = 1, name = _('AUTO/MAN intensity selector switch - AUTO else MAN (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd479, up = devCmds.Cmd479, value_down = 1, value_up = -1, name = _('AUTO/MAN intensity selector switch - MAN else AUTO (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = 0, value_up = 0.5, name = _('Lighting selector switch - O else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd480, up = devCmds.Cmd480, value_down = 1, value_up = 0.5, name = _('Lighting selector switch - E else N (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd488, up = devCmds.Cmd488, value_down = 0, value_up = 1, name = _('5/16 PPS framing rate selector switch - 5 else 16 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd488, up = devCmds.Cmd488, value_down = 1, value_up = 0, name = _('5/16 PPS framing rate selector switch - 16 else 5 (2-way Switch)'), category = {_('Central front panel'), _('Sight system and recording camera'), _('Custom')}}, - - -- Radar - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 0, name = _('Radar function selection - HA'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 1/7, name = _('Radar function selection - IC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 2/7, name = _('Radar function selection - TS'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 3/7, name = _('Radar function selection - V1'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 4/7, name = _('Radar function selection - DC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 5/7, name = _('Radar function selection - PR'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 6/7, name = _('Radar function selection - AC'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd507, value_down = 1.01, name = _('Radar function selection - OFF'), category = {_('Central front panel'), _('Radar'), _('Custom')}}, - - -- IFF - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd526, up = devCmds.Cmd526, value_down = -1, value_up = 0, name = _('Position identification selector - MIC else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd526, up = devCmds.Cmd526, value_down = 1, value_up = 0, name = _('Position identification selector - IDENT else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0, name = _('Function selector switch - OFF'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0.3333, name = _('Function selector switch - SBY'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0.6666, name = _('Function selector switch - N'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd532, value_down = 0.9999, name = _('Function selector switch - EMER'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0, name = _('Mode 4 selector switch - HOLD'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0.3333, name = _('Mode 4 selector switch - B'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0.6666, name = _('Mode 4 selector switch - A'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd529, value_down = 0.9999, name = _('Mode 4 selector switch - ZERO'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd533, up = devCmds.Cmd533, value_down = 0, value_up = 1, name = _('IFF mode 4 switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd533, up = devCmds.Cmd533, value_down = 1, value_up = 0, name = _('IFF mode 4 switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd536, up = devCmds.Cmd536, value_down = 0, value_up = 1, name = _('AUDIO-LIGHT switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd536, up = devCmds.Cmd536, value_down = 1, value_up = 0, name = _('AUDIO-LIGHT switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd537, up = devCmds.Cmd537, value_down = 0, value_up = 1, name = _('M-1 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd537, up = devCmds.Cmd537, value_down = 1, value_up = 0, name = _('M-1 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd538, up = devCmds.Cmd538, value_down = 0, value_up = 1, name = _('M-2 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd538, up = devCmds.Cmd538, value_down = 1, value_up = 0, name = _('M-2 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd539, up = devCmds.Cmd539, value_down = 0, value_up = 1, name = _('M-3 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd539, up = devCmds.Cmd539, value_down = 1, value_up = 0, name = _('M-3 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, up = devCmds.Cmd540, value_down = 0, value_up = 1, name = _('M-4 mode switch - OFF else ON (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd540, up = devCmds.Cmd540, value_down = 1, value_up = 0, name = _('M-4 mode switch - ON else OFF (2-way Switch)'), category = {_('Central front panel'), _('IFF'), _('Custom')}}, - - -- Control stick - - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 0, value_up = 1, name = _('Gun firing safety - IN else OUT (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, - {cockpit_device_id = devices.MAIN, down = devCmds.Cmd635, up = devCmds.Cmd635, value_down = 1, value_up = 0, name = _('Gun firing safety - OUT else IN (2-way Switch)'), category = {_('Control Stick'), _('Armament system'), _('Custom')}}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Mirage-F1EE/joystick/default.lua b/InputCommands/Mirage-F1/Input/Mirage-F1EE/joystick/default.lua index 34dd037..9792a56 100644 --- a/InputCommands/Mirage-F1/Input/Mirage-F1EE/joystick/default.lua +++ b/InputCommands/Mirage-F1/Input/Mirage-F1EE/joystick/default.lua @@ -1,5 +1,55 @@ return { keyCommands = { + -- UHF radio + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 0, value_up = 1, name = _('5W/25W selector switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 1, value_up = 0, name = _('5W/25W selector switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 0, value_up = 1, name = _('Squelch switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 1, value_up = 0, name = _('Squelch switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 0, value_up = 1, name = _('UHF radio test selector switch - R else E+A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 1, value_up = 0, name = _('UHF radio test selector switch - E+A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0, name = _('UHF radio function selector - 0'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.250, name = _('UHF radio function selector - 1'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.5, name = _('UHF radio function selector - 2'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.750, name = _('UHF radio function selector - 3'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 1, name = _('UHF radio function selector - 4'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd461, up = devCmds.Cmd461, value_down = 1, value_up = 0, name = _('Test light'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- Inertial Navigation System (INS) + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0, name = _('Parameters selector - POS'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.1, name = _('Parameters selector - AL/AG'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.2, name = _('Parameters selector - PP'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.3, name = _('Parameters selector - VS/RT'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.4, name = _('Parameters selector - STS'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.5, name = _('Parameters selector - CDI'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0, name = _('Modes selector - SEC'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.125, name = _('Modes selector - NAV'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.250, name = _('Modes selector - ALN'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.375, name = _('Modes selector - ALR'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.5, name = _('Modes selector - ALCM'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.625, name = _('Modes selector - TEST'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.750, name = _('Modes selector - CAL'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.875, name = _('Modes selector - VEI'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.99, name = _('Modes selector - AR'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + +-- {down = devCmds.Cmd682, cockpit_device_id = devices.MAIN, value_down = 1.0, name = _('Waypoints selecting wheel - Increase'), category = {_('Central front panel'), _('Inertial navigation system')}}, +-- {down = devCmds.Cmd682, cockpit_device_id = devices.MAIN, value_down = -1.0, name = _('Waypoints selecting wheel - Decrease'), category = {_('Central front panel'), _('Inertial navigation system')}}, + +-- {down = devCmds.Cmd683, cockpit_device_id = devices.MAIN, value_down = 1.0, name = _('Lights test and brightness selector - Clockwise'), category = {_('Right console'), _('Inertial navigation system')}}, +-- {down = devCmds.Cmd683, cockpit_device_id = devices.MAIN, value_down = -1.0, name = _('Lights test and brightness selector - Counterclockwise'), category = {_('Right console'), _('Inertial navigation system')}}, + }, + axisCommands = { + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd459, name = _('UHF radio function selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd680, name = _('INS Parameters selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd681, name = _('INS Modes selector')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd682, name = _('INS Waypoints selecting wheel')}, + {cockpit_device_id = devices.MAIN, action = devCmds.Cmd683, name = _('INS Lights test and brightness selector')}, } } \ No newline at end of file diff --git a/InputCommands/Mirage-F1/Input/Mirage-F1EE/keyboard/default.lua b/InputCommands/Mirage-F1/Input/Mirage-F1EE/keyboard/default.lua index 3e301a7..32a118f 100644 --- a/InputCommands/Mirage-F1/Input/Mirage-F1EE/keyboard/default.lua +++ b/InputCommands/Mirage-F1/Input/Mirage-F1EE/keyboard/default.lua @@ -1,5 +1,48 @@ return { keyCommands = { - + + -- UHF radio + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 0, value_up = 1, name = _('5W/25W selector switch - 25W else 5W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd455, up = devCmds.Cmd455, value_down = 1, value_up = 0, name = _('5W/25W selector switch - 5W else 25W (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 0, value_up = 1, name = _('Squelch switch - OFF else ON (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd456, up = devCmds.Cmd456, value_down = 1, value_up = 0, name = _('Squelch switch - ON else OFF (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 0, value_up = 1, name = _('UHF radio test selector switch - R else E+A2 (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd457, up = devCmds.Cmd457, value_down = 1, value_up = 0, name = _('UHF radio test selector switch - E+A2 else R (2-way Switch)'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0, name = _('UHF radio function selector - 0'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.250, name = _('UHF radio function selector - 1'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.5, name = _('UHF radio function selector - 2'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 0.750, name = _('UHF radio function selector - 3'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + -- {cockpit_device_id = devices.MAIN, down = devCmds.Cmd459, value_down = 1, name = _('UHF radio function selector - 4'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd461, up = devCmds.Cmd461, value_down = 1, value_up = 0, name = _('Test light'), category = {_('Left console'), _('Radio system'), _('UHF radio'), _('Custom')}}, + + -- Inertial Navigation System (INS) + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0, name = _('Parameters selector - POS'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.1, name = _('Parameters selector - AL/AG'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.2, name = _('Parameters selector - PP'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.3, name = _('Parameters selector - VS/RT'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.4, name = _('Parameters selector - STS'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd680, value_down = 0.5, name = _('Parameters selector - CDI'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0, name = _('Modes selector - SEC'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.125, name = _('Modes selector - NAV'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.250, name = _('Modes selector - ALN'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.375, name = _('Modes selector - ALR'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.5, name = _('Modes selector - ALCM'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.625, name = _('Modes selector - TEST'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.750, name = _('Modes selector - CAL'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.875, name = _('Modes selector - VEI'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + {cockpit_device_id = devices.MAIN, down = devCmds.Cmd681, value_down = 0.99, name = _('Modes selector - AR'), category = {_('Right console'), _('Inertial navigation system'), _('Custom')}}, + +-- {down = devCmds.Cmd682, cockpit_device_id = devices.MAIN, value_down = 1.0, name = _('Waypoints selecting wheel - Increase'), category = {_('Central front panel'), _('Inertial navigation system')}}, +-- {down = devCmds.Cmd682, cockpit_device_id = devices.MAIN, value_down = -1.0, name = _('Waypoints selecting wheel - Decrease'), category = {_('Central front panel'), _('Inertial navigation system')}}, + +-- {down = devCmds.Cmd683, cockpit_device_id = devices.MAIN, value_down = 1.0, name = _('Lights test and brightness selector - Clockwise'), category = {_('Right console'), _('Inertial navigation system')}}, +-- {down = devCmds.Cmd683, cockpit_device_id = devices.MAIN, value_down = -1.0, name = _('Lights test and brightness selector - Counterclockwise'), category = {_('Right console'), _('Inertial navigation system')}}, } } \ No newline at end of file