From 1ec4ca292c43a014550d2b4b9a8bf63cad6d39c6 Mon Sep 17 00:00:00 2001 From: funkyfranky <> Date: Wed, 18 Jul 2018 23:11:08 +0200 Subject: [PATCH] Updated for compatibilty with DCS update Compatiplity with DCS 2.5.2.19641 --- .../aircraft/AJS37/Input/joystick/default.lua | 3 +- .../aircraft/AJS37/Input/keyboard/default.lua | 4 +- .../AV8BNA/Input/AV8BNA/joystick/default.lua | 74 +- .../AV8BNA/Input/AV8BNA/keyboard/default.lua | 69 +- .../FA-18C/Input/FA-18C/joystick/default.lua | 4 + .../FA-18C/Input/FA-18C/keyboard/default.lua | 5 + .../Input/M-2000C/joystick/default.lua | 2 +- .../Input/Mi-8MTV2/joystick/default.lua | 22 - .../Input/Mi-8MTV2/keyboard/default.lua | 21 - .../Input/MiG-21/joystick/default-old.lua | 772 ------------------ .../SA342/Input/joystick/default-old.lua | 692 ---------------- .../Uh-1H/Input/UH-1H/joystick/default.lua | 1 - .../Uh-1H/Input/UH-1H/keyboard/default.lua | 5 +- 13 files changed, 152 insertions(+), 1522 deletions(-) delete mode 100644 Mods/aircraft/MiG-21bis/Input/MiG-21/joystick/default-old.lua delete mode 100644 Mods/aircraft/SA342/Input/joystick/default-old.lua diff --git a/Mods/aircraft/AJS37/Input/joystick/default.lua b/Mods/aircraft/AJS37/Input/joystick/default.lua index 09eb3be..a27f3f9 100644 --- a/Mods/aircraft/AJS37/Input/joystick/default.lua +++ b/Mods/aircraft/AJS37/Input/joystick/default.lua @@ -212,7 +212,7 @@ join(res.keyCommands,{ {combos = {{key = 'H'}}, down = 3303, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = 1.0,name = 'Autopilot mode HÖJD (Altitude Hold)', category = 'Autopilot'}, {combos = {{key = 'E'}}, down = 3301, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = 1.0,name = 'SAS mode SPAK flight stabiliser', category = 'Autopilot'}, {combos = {{key = "O"}}, pressed = 3305, up = 3305, cockpit_device_id = devices.FLIGHTDATAUNIT, value_pressed = 1.0, value_up = 0.0, name = 'Roll centrering (Roll trim reset) ' , category = 'Flight Control'}, - + {down = iCommandToggleMirrors, name = _('Toggle Mirrors'), category = _('View Cockpit')}, --HUD @@ -378,6 +378,7 @@ join(res.keyCommands,{ {down = 3300, value_down = 0.0, cockpit_device_id = devices.WEAPON_SYSTEM, name = 'Trigger safety bracket SAFE', category = 'Weapons'}, {down = 3314, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, name = "IR-missile uncage", category = "Weapons"}, {down = 3311, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, name = "Autothrottle disconnect / IR-missile fast select", category = "Weapons"}, + {down = 3000, cockpit_device_id = devices.ENGINEPANEL, value_down = 1.0, name =("Missile Select Button"), category = _("Weapons")}, -- countermeasures {down = 3001, value_down = 1.0, cockpit_device_id = devices.COUNTERMEASURE, name = 'Fast countermeasure dispense', category = 'Countermeasures'}, {down = 3004, value_down = 1.0, cockpit_device_id = devices.COUNTERMEASURE, name = 'Countermeasure dispense OFF', category = 'Countermeasures'}, diff --git a/Mods/aircraft/AJS37/Input/keyboard/default.lua b/Mods/aircraft/AJS37/Input/keyboard/default.lua index 80f26f6..79a6af9 100644 --- a/Mods/aircraft/AJS37/Input/keyboard/default.lua +++ b/Mods/aircraft/AJS37/Input/keyboard/default.lua @@ -213,7 +213,7 @@ join(res.keyCommands,{ {combos = {{key = 'H', reformers = {'RAlt'}}}, down = 3401, cockpit_device_id = devices.FLIGHTDATAUNIT, value_down = 1.0,name = _('HUD shift to lower position'), category = _('Navigation')}, {combos = {{key = "S", reformers = {'RAlt'}}}, pressed = 3404, up = 3404, cockpit_device_id = devices.FLIGHTDATAUNIT, value_pressed = 1.0, value_up = 0, name = _('Seat adjustment up'), category = _('Navigation')}, {combos = {{key = "S", reformers = {'RCtrl'}}}, pressed = 3404, up = 3404, cockpit_device_id = devices.FLIGHTDATAUNIT, value_pressed = -1.0, value_up = 0, name = _('Seat adjustment down'), category = _('Navigation')}, - + {combos = {{key = 'M', reformers = {'LAlt'}}},down = iCommandToggleMirrors, name = _('Toggle Mirrors'), category = _('View Cockpit')}, -- Flight Control {combos = {{key = 'Up'}}, down = iCommandPlaneUpStart, up = iCommandPlaneUpStop, name = _('Aircraft Pitch Down'), category = _('Flight Control')}, @@ -376,6 +376,8 @@ join(res.keyCommands,{ {combos = {{key = "J", reformers = {"RCtrl","RShift"}}}, down = 3320, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, name = _("Fuel tank jettison Button"), category = _("Weapons")}, {combos = {{key = "C", reformers = {"LAlt","LCtrl"}}}, down = 3314, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, name = _("IR-missile uncage"), category = _("Weapons")}, {combos = {{key = "S", reformers = {"LAlt","LCtrl"}}}, down = 3311, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, name = _("IR-missile fast select"), category = _("Weapons")}, + --{down = 3000, cockpit_device_id = devices.ENGINEPANEL, value_down = 1.0, name = _("Missile Select Button"), category = _("Weapons")}, + -- {combos = {{key = "W", reformers = {"LAlt"}}}, down = 3030, cockpit_device_id = 14, value_down = 1.0, name = _("Datapanel Rotary Clockwise"), category = _("Navigation")}, -- {combos = {{key = "Q", reformers = {"LAlt"}}}, down = 3031, cockpit_device_id = 14, value_down = 1.0, name = _("Datapanel Rotary Counterclockwise"), category = _("Navigation")}, diff --git a/Mods/aircraft/AV8BNA/Input/AV8BNA/joystick/default.lua b/Mods/aircraft/AV8BNA/Input/AV8BNA/joystick/default.lua index 3e97e61..7573003 100644 --- a/Mods/aircraft/AV8BNA/Input/AV8BNA/joystick/default.lua +++ b/Mods/aircraft/AV8BNA/Input/AV8BNA/joystick/default.lua @@ -240,6 +240,16 @@ join(res.keyCommands,{ -- funkyfranky end custom assignments -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + -- Joystick switch abstractions (Example, ON else OFF) + {down = fcs_commands.Switch_FLAP_SELECT, up = fcs_commands.Switch_FLAP_SELECT, cockpit_device_id=devices.VREST, value_down=1.0, value_up=0.5, name= _('Flaps CRUISE else AUTO'), category=_('Switch Abstractions')}, + {down = fcs_commands.Switch_FLAP_SELECT, up = fcs_commands.Switch_FLAP_SELECT, cockpit_device_id=devices.VREST, value_down=0.0, value_up=0.5, name= _('Flaps STOL else AUTO'), category=_('Switch Abstractions')}, + {down = fcs_commands.Switch_ANTISKID, up = fcs_commands.Switch_ANTISKID, cockpit_device_id=devices.FLIGHTCONTROLS, value_down=0.0, value_up=0.5, name= _('Anti-Skid NWS else ON'), category=_('Switch Abstractions')}, + {down = smc_commands.Switch_Master_Arm, up = smc_commands.Switch_Master_Arm, cockpit_device_id=devices.SMC, value_down=1.0, value_up=0.0, name= _('MasterArm ON else OFF'), category=_('Switch Abstractions')}, + {down = engine_commands.Switch_H20, up = engine_commands.Switch_H20, cockpit_device_id=devices.DECS, value_down=1.0, value_up=0.5, name= _('H2O TO else OFF'), category=_('Switch Abstractions')}, + {down = engine_commands.Switch_H20, up = engine_commands.Switch_H20, cockpit_device_id=devices.DECS, value_down=0.0, value_up=0.5, name= _('H2O LN else OFF'), category=_('Switch Abstractions')}, + {down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear UP else DOWN'), category = _('Switch Abstractions')}, + {down = iCommandPlaneAirBrakeOn, up = iCommandPlaneAirBrakeOff, name = _('Airbrake ON else OFF'), category = _('Switch Abstractions')}, + -- Master Modes {down = iCommandHelicopter_PPR_button_K, name = _('Master Mode NAV'), category = _('Master Modes')}, {down = iCommandHelicopter_PPR_button_H, name = _('Master Mode VSTOL'), category = _('Master Modes')}, @@ -285,6 +295,9 @@ join(res.keyCommands,{ {down = iCommandPlaneSAUHRadio, name = _('Stability Augmentation - Pitch'), category = _('Stability Augmentation & Autopilot')}, {down = iCommandPlaneSAUAutomatic, name = _('Stability Augmentation - Yaw'), category = _('Stability Augmentation & Autopilot')}, {down = iCommandPlaneSAUHorizon, name = _('Stability Augmentation - Roll'), category = _('Stability Augmentation & Autopilot')}, + {down = fcs_commands.Switch_RPS_YAW, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0.0, name = _('RPS/YAW Shaker Switch OFF'), category = _('Stability Augmentation & Autopilot')}, + {down = fcs_commands.Switch_RPS_YAW, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0.5, name = _('RPS/YAW Shaker Switch ON'), category = _('Stability Augmentation & Autopilot')}, + {down = fcs_commands.Switch_RPS_YAW, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 1.0, name = _('RPS/YAW Shaker Switch TEST'), category = _('Stability Augmentation & Autopilot')}, -- Hydraulic & Mechanical {down = iCommandPlaneWheelBrakeOn, up = iCommandPlaneWheelBrakeOff, name = _('Wheel Brakes'), category = _('Hydraulic & Mechanical')}, @@ -296,12 +309,66 @@ join(res.keyCommands,{ {down = iCommandPlaneFonar, name = _('Canopy Open/Close'), category = _('Hydraulic & Mechanical')}, {down = fcs_commands.Handle_PARKING_BRAKE, cockpit_device_id = devices.FLIGHTCONTROLS, value_down= 0, name = _('Parking Brake ON'), category = _('Hydraulic & Mechanical')}, {down = fcs_commands.Handle_PARKING_BRAKE, cockpit_device_id = devices.FLIGHTCONTROLS, value_down= 1, name = _('Parking Brake OFF'), category = _('Hydraulic & Mechanical')}, + {down = fcs_commands.Switch_ANTISKID, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 1, name = _('Antiskid TEST'), category = _('Hydraulic & Mechanical')}, + {down = fcs_commands.Switch_ANTISKID, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0, name = _('Antiskid NWS'), category = _('Hydraulic & Mechanical')}, + {down = fcs_commands.Switch_ANTISKID, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0.5, name = _('Antiskid ON'), category = _('Hydraulic & Mechanical')}, -- Engine & Fuel - {down = iCommandLeftEngineStart, name = _('Engines START'), category = _('Engine & Fuel')}, - {down = iCommandLeftEngineStop, name = _('Engines STOP'), category = _('Engine & Fuel')}, {down = iCommandPlaneHook, name = _('Air Refueling Probe Toggle IN/OUT'), category = _('Engine & Fuel')}, {down = iCommandThrottle1Stop, name = _('Fuel Shutoff Lever lock release'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_LIDS, cockpit_device_id = devices.VREST, value_down = 0, name = _('LIDS Switch NORM'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_LIDS, cockpit_device_id = devices.VREST, value_down = 1, name = _('LIDS Switch RETRACT'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_ENG_RPM, cockpit_device_id = devices.DECS, value_down = 0, name = _('ENG RPM Switch LOW'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_ENG_RPM, cockpit_device_id = devices.DECS, value_down = 1, name = _('ENG RPM Switch HI'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_EFC, cockpit_device_id = devices.DECS, value_down = 0, name = _('EFC Switch POS 2'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_EFC, cockpit_device_id = devices.DECS, value_down = 1, name = _('EFC Switch POS 1'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('H2O Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20, cockpit_device_id = devices.DECS, value_down = 0, name = _('H2O Switch LDG'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20, cockpit_device_id = devices.DECS, value_down = 1, name = _('H2O Switch TO'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20_DUMP, cockpit_device_id = devices.DECS, value_down = 0, name = _('H2O Dump Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20_DUMP, cockpit_device_id = devices.DECS, value_down = 1, name = _('H2O Dump Switch DUMP'), category = _('Engine & Fuel')}, + {down = engine_commands.Button_CMBT, up = engine_commands.Button_CMBT, cockpit_device_id = devices.DECS, value_down = 1, value_up = 0, name = _('CMBT Button PRESS'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_JPTL, cockpit_device_id = devices.DECS, value_down = 0, name = _('JPTL Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_JPTL, cockpit_device_id = devices.DECS, value_down = 1, name = _('JPTL Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Button_EMS, up = engine_commands.Button_EMS, cockpit_device_id = devices.DECS, value_down = 1, value_up = 0, name = _('EMS Button PRESS'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_MAN_FUEL, cockpit_device_id = devices.DECS, value_down = 0, name = _('MFS Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_MAN_FUEL, cockpit_device_id = devices.DECS, value_down = 1, name = _('MFS Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PROP, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel PROP Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PROP, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel PROP Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_L, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('Fuel Pump Left Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_L, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Pump Left Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_L, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Pump Left Switch DC OPR'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_R, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('Fuel Pump Right Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_R, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Pump Right Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_R, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Pump Right Switch DC OPR'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PRESS, cockpit_device_id = devices.DECS, value_down = 0, name = _('Air Refueling Probe Switch IN'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PRESS, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('Air Refueling Probe Switch OUT'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PRESS, cockpit_device_id = devices.DECS, value_down = 1, name = _('Air Refueling Probe Switch PRESS'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_L, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Dump Left Switch NORM'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_L, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Dump Left Switch DUMP'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_R, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Dump Right Switch NORM'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_R, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Dump Right Switch DUMP'), category = _('Engine & Fuel')}, + {down = engine_commands.Handle_FUEL_SHUT_OFF, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Shutoff Lever OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Handle_FUEL_SHUT_OFF, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Shutoff Lever ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_DECS, cockpit_device_id = devices.DECS, value_down = 0, name = _('DECS Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_DECS, cockpit_device_id = devices.DECS, value_down = 1, name = _('DECS Switch ON'), category = _('Engine & Fuel')}, + + -- ECS + {down = psp_commands.Switch_OXY, cockpit_device_id = devices.ECS, name = _('Oxygen Switch OFF'), category = _('Environmental Control')}, + {down = psp_commands.Switch_OXY, cockpit_device_id = devices.ECS, name = _('Oxygen Switch ON'), category = _('Environmental Control')}, + + -- Electrical Panel + {down = elec_commands.Switch_BATT, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Battery ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_BATT, cockpit_device_id = devices.ELECTRIC, value_down = 0.5, name = _('Battery OFF'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_BATT, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('Battery Alert'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Generator ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0.5, name = _('Generator OFF'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('Generator Test'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_ENG_START, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Engine Start ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_ENG_START, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('Engine Start OFF'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_APU_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('APU Generator Switch RESET'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_APU_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0.5, name = _('APU Generator Switch ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_APU_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('APU Generator Switch OFF'), category = _('Electrical Panel')}, -- Pilot & Seat Controls {down = iCommandToggleMirrors, name = _('Mirrors TOGGLE'), category = _('Pilot & Seat Controls')}, @@ -310,6 +377,7 @@ join(res.keyCommands,{ {down = iCommandPlaneCircuitBreaker_10, name = _('Hide/Show Control Stick'), category = _('Pilot & Seat Controls')}, {down = iCommandPlaneCircuitBreaker_11, name = _('Hide/Show Throttle'), category = _('Pilot & Seat Controls')}, {down = iCommandViewNightVisionGogglesOn, name = _('Helmet Visor/NVG Toggle'), category = _('Pilot & Seat Controls')}, + { down = iCommandPlaneModeFI0, name = _('Switch the Helmet Visor for NVG and viceversa'), category = _('Pilot & Seat Controls')}, {down = iCommandPlane_Helmet_Brightess_Up, name = _('NVG Brightness Up'), category = _('Pilot & Seat Controls')}, {down = iCommandPlane_Helmet_Brightess_Down, name = _('NVG Brightness Down'), category = _('Pilot & Seat Controls')}, @@ -326,7 +394,7 @@ join(res.keyCommands,{ {pressed = iCommandPlaneTrimLeft, up = iCommandPlaneTrimStop, name = _('Trim Bank LEFT'), category = _('HOTAS')}, {pressed = iCommandPlaneTrimRight, up = iCommandPlaneTrimStop, name = _('Trim Bank RIGHT'), category = _('HOTAS')}, - {down = iCommandPlane_HOTAS_PinkySwitchCenter, name = _('WP Increment'), category = _('HOTAS')}, + {down = iCommandPlane_HOTAS_PinkySwitchForward, up = iCommandPlane_HOTAS_PinkySwitchCenter, name = _('WP Increment'), category = _('HOTAS')}, {down = iCommandPlaneAutopilotOverrideOn, up = iCommandPlaneAutopilotOverrideOff, name = _('Emergency SAAHS Disconnect'), category = _('HOTAS')}, {down = iCommandPlane_HOTAS_DataManagementSwitchUp, up = iCommandPlane_HOTAS_DataManagementSwitchOff, name = _('Sensor Select FWD: INS, IRMV/EOMV'), category = _('HOTAS')}, {down = iCommandPlane_HOTAS_DataManagementSwitchDown, up = iCommandPlane_HOTAS_DataManagementSwitchOff, name = _('Sensor Select AFT: DMT: LST/TV'), category = _('HOTAS')}, diff --git a/Mods/aircraft/AV8BNA/Input/AV8BNA/keyboard/default.lua b/Mods/aircraft/AV8BNA/Input/AV8BNA/keyboard/default.lua index ded6379..c51f231 100644 --- a/Mods/aircraft/AV8BNA/Input/AV8BNA/keyboard/default.lua +++ b/Mods/aircraft/AV8BNA/Input/AV8BNA/keyboard/default.lua @@ -285,6 +285,9 @@ join(res.keyCommands,{ {combos = {{key = 'P', reformers = {'RWin'}}}, down = iCommandPlaneSAUHRadio, name = _('Stability Augmentation - Pitch'), category = _('Stability Augmentation & Autopilot')}, {combos = {{key = 'Y', reformers = {'RWin'}}}, down = iCommandPlaneSAUAutomatic, name = _('Stability Augmentation - Yaw'), category = _('Stability Augmentation & Autopilot')}, {combos = {{key = 'R', reformers = {'RWin'}}}, down = iCommandPlaneSAUHorizon, name = _('Stability Augmentation - Roll'), category = _('Stability Augmentation & Autopilot')}, + {down = fcs_commands.Switch_RPS_YAW, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0.0, name = _('RPS/YAW Shaker Switch OFF'), category = _('Stability Augmentation & Autopilot')}, + {down = fcs_commands.Switch_RPS_YAW, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0.5, name = _('RPS/YAW Shaker Switch ON'), category = _('Stability Augmentation & Autopilot')}, + {down = fcs_commands.Switch_RPS_YAW, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 1.0, name = _('RPS/YAW Shaker Switch TEST'), category = _('Stability Augmentation & Autopilot')}, -- Hydraulic & Mechanical {combos = {{key = 'W'}}, down = iCommandPlaneWheelBrakeOn, up = iCommandPlaneWheelBrakeOff, name = _('Wheel Brakes'), category = _('Hydraulic & Mechanical')}, @@ -296,12 +299,66 @@ join(res.keyCommands,{ {combos = {{key = 'C', reformers = {'LCtrl'}}}, down = iCommandPlaneFonar, name = _('Canopy Open/Close'), category = _('Hydraulic & Mechanical')}, {down = fcs_commands.Handle_PARKING_BRAKE, cockpit_device_id = devices.FLIGHTCONTROLS, value_down= 0, name = _('Parking Brake ON'), category = _('Hydraulic & Mechanical')}, {down = fcs_commands.Handle_PARKING_BRAKE, cockpit_device_id = devices.FLIGHTCONTROLS, value_down= 1, name = _('Parking Brake OFF'), category = _('Hydraulic & Mechanical')}, + {down = fcs_commands.Switch_ANTISKID, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 1, name = _('Antiskid TEST'), category = _('Hydraulic & Mechanical')}, + {down = fcs_commands.Switch_ANTISKID, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0, name = _('Antiskid NWS'), category = _('Hydraulic & Mechanical')}, + {down = fcs_commands.Switch_ANTISKID, cockpit_device_id = devices.FLIGHTCONTROLS, value_down = 0.5, name = _('Antiskid ON'), category = _('Hydraulic & Mechanical')}, -- Engine & Fuel - {combos = {{key = 'Home', reformers = {'RShift'}}}, down = iCommandLeftEngineStart, name = _('Engines START'), category = _('Engine & Fuel')}, - {combos = {{key = 'End', reformers = {'RShift'}}}, down = iCommandLeftEngineStop, name = _('Engines STOP'), category = _('Engine & Fuel')}, - {combos = {{key = 'A', reformers = {'LWin'}}}, down = iCommandPlaneHook, name = _('Air Refueling Probe Toggle IN/OUT'), category = _('Engine & Fuel')}, - {combos = {{key = 'F', reformers = {'LWin'}}}, down = iCommandThrottle1Stop, name = _('Fuel Shutoff Lever lock release'), category = _('Engine & Fuel')}, + {down = iCommandPlaneHook, name = _('Air Refueling Probe Toggle IN/OUT'), category = _('Engine & Fuel')}, + {down = iCommandThrottle1Stop, name = _('Fuel Shutoff Lever lock release'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_LIDS, cockpit_device_id = devices.VREST, value_down = 0, name = _('LIDS Switch NORM'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_LIDS, cockpit_device_id = devices.VREST, value_down = 1, name = _('LIDS Switch RETRACT'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_ENG_RPM, cockpit_device_id = devices.DECS, value_down = 0, name = _('ENG RPM Switch LOW'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_ENG_RPM, cockpit_device_id = devices.DECS, value_down = 1, name = _('ENG RPM Switch HI'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_EFC, cockpit_device_id = devices.DECS, value_down = 0, name = _('EFC Switch POS 2'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_EFC, cockpit_device_id = devices.DECS, value_down = 1, name = _('EFC Switch POS 1'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('H2O Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20, cockpit_device_id = devices.DECS, value_down = 0, name = _('H2O Switch LDG'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20, cockpit_device_id = devices.DECS, value_down = 1, name = _('H2O Switch TO'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20_DUMP, cockpit_device_id = devices.DECS, value_down = 0, name = _('H2O Dump Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_H20_DUMP, cockpit_device_id = devices.DECS, value_down = 1, name = _('H2O Dump Switch DUMP'), category = _('Engine & Fuel')}, + {down = engine_commands.Button_CMBT, up = engine_commands.Button_CMBT, cockpit_device_id = devices.DECS, value_down = 1, value_up = 0, name = _('CMBT Button PRESS'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_JPTL, cockpit_device_id = devices.DECS, value_down = 0, name = _('JPTL Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_JPTL, cockpit_device_id = devices.DECS, value_down = 1, name = _('JPTL Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Button_EMS, up = engine_commands.Button_EMS, cockpit_device_id = devices.DECS, value_down = 1, value_up = 0, name = _('EMS Button PRESS'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_MAN_FUEL, cockpit_device_id = devices.DECS, value_down = 0, name = _('MFS Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_MAN_FUEL, cockpit_device_id = devices.DECS, value_down = 1, name = _('MFS Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PROP, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel PROP Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PROP, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel PROP Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_L, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('Fuel Pump Left Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_L, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Pump Left Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_L, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Pump Left Switch DC OPR'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_R, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('Fuel Pump Right Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_R, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Pump Right Switch ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PUMP_R, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Pump Right Switch DC OPR'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PRESS, cockpit_device_id = devices.DECS, value_down = 0, name = _('Air Refueling Probe Switch IN'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PRESS, cockpit_device_id = devices.DECS, value_down = 0.5, name = _('Air Refueling Probe Switch OUT'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_PRESS, cockpit_device_id = devices.DECS, value_down = 1, name = _('Air Refueling Probe Switch PRESS'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_L, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Dump Left Switch NORM'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_L, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Dump Left Switch DUMP'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_R, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Dump Right Switch NORM'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_FUEL_DUMP_R, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Dump Right Switch DUMP'), category = _('Engine & Fuel')}, + {down = engine_commands.Handle_FUEL_SHUT_OFF, cockpit_device_id = devices.DECS, value_down = 0, name = _('Fuel Shutoff Lever OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Handle_FUEL_SHUT_OFF, cockpit_device_id = devices.DECS, value_down = 1, name = _('Fuel Shutoff Lever ON'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_DECS, cockpit_device_id = devices.DECS, value_down = 0, name = _('DECS Switch OFF'), category = _('Engine & Fuel')}, + {down = engine_commands.Switch_DECS, cockpit_device_id = devices.DECS, value_down = 1, name = _('DECS Switch ON'), category = _('Engine & Fuel')}, + + -- ECS + {down = psp_commands.Switch_OXY, cockpit_device_id = devices.ECS, name = _('Oxygen Switch OFF'), category = _('Environmental Control')}, + {down = psp_commands.Switch_OXY, cockpit_device_id = devices.ECS, name = _('Oxygen Switch ON'), category = _('Environmental Control')}, + + -- Electrical Panel + {down = elec_commands.Switch_BATT, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Battery ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_BATT, cockpit_device_id = devices.ELECTRIC, value_down = 0.5, name = _('Battery OFF'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_BATT, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('Battery Alert'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Generator ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0.5, name = _('Generator OFF'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('Generator Test'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_ENG_START, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Engine Start ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_ENG_START, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('Engine Start OFF'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_APU_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('APU Generator Switch RESET'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_APU_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0.5, name = _('APU Generator Switch ON'), category = _('Electrical Panel')}, + {down = elec_commands.Switch_APU_GEN, cockpit_device_id = devices.ELECTRIC, value_down = 0, name = _('APU Generator Switch OFF'), category = _('Electrical Panel')}, -- Pilot & Seat Controls {combos = {{key = 'M', reformers = {'LShift'}}}, down = iCommandToggleMirrors, name = _('Mirrors TOGGLE'), category = _('Pilot & Seat Controls')}, @@ -311,6 +368,8 @@ join(res.keyCommands,{ {combos = {{key = 'T', reformers = {'RCtrl', 'RWin'}}}, down = iCommandPlaneCircuitBreaker_11, name = _('Hide/Show Throttle'), category = _('Pilot & Seat Controls')}, {combos = {{key = 'N', reformers = {'LShift'}}}, down = iCommandViewNightVisionGogglesOn, name = _('Helmet Visor/NVG Toggle'), category = _('Pilot & Seat Controls')}, { down = iCommandPlaneModeFI0, name = _('Switch the Helmet Visor for NVG and viceversa'), category = _('Pilot & Seat Controls')}, + { down = iCommandPlane_Helmet_Brightess_Up, name = _('NVG Brightness Up'), category = _('Pilot & Seat Controls')}, + { down = iCommandPlane_Helmet_Brightess_Down, name = _('NVG Brightness Down'), category = _('Pilot & Seat Controls')}, -- HOTAS -- Stick @@ -325,7 +384,7 @@ join(res.keyCommands,{ {combos = {{key = 'Left', reformers = {'RCtrl'}}}, pressed = iCommandPlaneTrimLeft, up = iCommandPlaneTrimStop, name = _('Trim Bank LEFT'), category = _('HOTAS')}, {combos = {{key = 'Right', reformers = {'RCtrl'}}}, pressed = iCommandPlaneTrimRight, up = iCommandPlaneTrimStop, name = _('Trim Bank RIGHT'), category = _('HOTAS')}, - {combos = {{key = 'W', reformers = {'RWin'}}}, down = iCommandPlane_HOTAS_PinkySwitchCenter, name = _('WP Increment'), category = _('HOTAS')}, + {combos = {{key = 'W', reformers = {'RWin'}}}, down = iCommandPlane_HOTAS_PinkySwitchForward, up = iCommandPlane_HOTAS_PinkySwitchCenter, name = _('WP Increment'), category = _('HOTAS')}, { down = iCommandPlaneAutopilotOverrideOn, up = iCommandPlaneAutopilotOverrideOff, name = _('Emergency SAAHS Disconnect'), category = _('HOTAS')}, {combos = {{key = 'U', reformers = {'LWin'}}}, down = iCommandPlane_HOTAS_DataManagementSwitchUp, up = iCommandPlane_HOTAS_DataManagementSwitchOff, name = _('Sensor Select FWD: INS, IRMV/EOMV'), category = _('HOTAS')}, {combos = {{key = 'J', reformers = {'LWin'}}}, down = iCommandPlane_HOTAS_DataManagementSwitchDown, up = iCommandPlane_HOTAS_DataManagementSwitchOff, name = _('Sensor Select AFT: DMT: LST/TV'), category = _('HOTAS')}, diff --git a/Mods/aircraft/FA-18C/Input/FA-18C/joystick/default.lua b/Mods/aircraft/FA-18C/Input/FA-18C/joystick/default.lua index 1e24e65..359abbf 100644 --- a/Mods/aircraft/FA-18C/Input/FA-18C/joystick/default.lua +++ b/Mods/aircraft/FA-18C/Input/FA-18C/joystick/default.lua @@ -922,6 +922,10 @@ join(res.keyCommands,{ --{ down = ky58_commands.KY58_FillSw, cockpit_device_id = devices.KY58, value_down = , name = _('KY-58 Fill Select Knob - Z ALL'), category = {_('Right Console'), _('KY-58 Control Panel')}}, --{ down = ky58_commands.KY58_FillSw_Pull, up = ky58_commands.KY58_FillSw_Pull, cockpit_device_id = devices.KY58, value_down = 1.0, value_up = 0.0, name = _('KY-58 Fill Select Knob - PULL'), category = {_('Right Console'), _('KY-58 Control Panel')}}, +--NightVision +{combos = {{key = 'H', reformers = {'RShift'}}} , down = iCommandViewNightVisionGogglesOn , name = _('Toggle goggles') , category = _('Sensors')}, +{combos = {{key = 'H', reformers = {'RShift','RCtrl'}}}, pressed = iCommandPlane_Helmet_Brightess_Up , name = _('Gain goggles up') , category = _('Sensors')}, +{combos = {{key = 'H', reformers = {'RShift','RAlt'}}} , pressed = iCommandPlane_Helmet_Brightess_Down, name = _('Gain goggles down'), category = _('Sensors')}, --------------------------------------------- -- Ejection Seat ---------------------------- diff --git a/Mods/aircraft/FA-18C/Input/FA-18C/keyboard/default.lua b/Mods/aircraft/FA-18C/Input/FA-18C/keyboard/default.lua index 895573b..d918cb5 100644 --- a/Mods/aircraft/FA-18C/Input/FA-18C/keyboard/default.lua +++ b/Mods/aircraft/FA-18C/Input/FA-18C/keyboard/default.lua @@ -919,6 +919,11 @@ join(res.keyCommands,{ --{ down = ky58_commands.KY58_FillSw, cockpit_device_id = devices.KY58, value_down = , name = _('KY-58 Fill Select Knob - Z ALL'), category = {_('Right Console'), _('KY-58 Control Panel')}}, --{ down = ky58_commands.KY58_FillSw_Pull, up = ky58_commands.KY58_FillSw_Pull, cockpit_device_id = devices.KY58, value_down = 1.0, value_up = 0.0, name = _('KY-58 Fill Select Knob - PULL'), category = {_('Right Console'), _('KY-58 Control Panel')}}, +--NightVision +{combos = {{key = 'H', reformers = {'RShift'}}} , down = iCommandViewNightVisionGogglesOn , name = _('Toggle goggles') , category = _('Sensors')}, +{combos = {{key = 'H', reformers = {'RShift','RCtrl'}}}, pressed = iCommandPlane_Helmet_Brightess_Up , name = _('Gain goggles up') , category = _('Sensors')}, +{combos = {{key = 'H', reformers = {'RShift','RAlt'}}} , pressed = iCommandPlane_Helmet_Brightess_Down, name = _('Gain goggles down'), category = _('Sensors')}, + --------------------------------------------- -- Ejection Seat ---------------------------- --------------------------------------------- diff --git a/Mods/aircraft/M-2000C/Input/M-2000C/joystick/default.lua b/Mods/aircraft/M-2000C/Input/M-2000C/joystick/default.lua index 1a63f0f..348ab43 100644 --- a/Mods/aircraft/M-2000C/Input/M-2000C/joystick/default.lua +++ b/Mods/aircraft/M-2000C/Input/M-2000C/joystick/default.lua @@ -210,7 +210,7 @@ join(res.keyCommands,{ {down = 3648, up = 3648, cockpit_device_id = 4, value_down = 1, value_up = 0, name = _('Right Fuel Boost Pump ON, else OFF'), category = _('3-Pos. Switch Abstractions')}, {down = 3900, up = 3900, cockpit_device_id = 22, value_down = 1, value_up = 0, name = _('Seat Height Increase, else STOP'), category = _('3-Pos. Switch Abstractions')}, {down = 3234, up = 3234, cockpit_device_id = 6, value_up = -1, value_down = 1, name = _('Master ARMED, else SAFE'), category = _('3-Pos. Switch Abstractions')}, - {down = 3463, up = 3463, cockpit_device_id = 6, value_up = -1, value_down = 1, name = _('Gun ARMED, else SAFE'), category = _('3-Pos. Switch Abstractions')}, + {down = 3463, up = 3463, cockpit_device_id = 6, value_up = 0, value_down = 1, name = _('Gun ARMED, else SAFE'), category = _('3-Pos. Switch Abstractions')}, {down = 3486, up = 3486, cockpit_device_id = 11, value_up = 0.67, value_down = 1, name = _('Radar ON, else STANDBY'), category = _('3-Pos. Switch Abstractions')}, {down = 3486, up = 3486, cockpit_device_id = 11, value_up = 0, value_down = 0.33, name = _('Radar WARM UP, else OFF'), category = _('3-Pos. Switch Abstractions')}, {down = 3249, up = 3249, cockpit_device_id = 6, value_up = 0, value_down = 1, name = _('Selective Jettison ON, else OFF'), category = _('3-Pos. Switch Abstractions')}, diff --git a/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/joystick/default.lua b/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/joystick/default.lua index c2a6c68..42a259c 100644 --- a/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/joystick/default.lua +++ b/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/joystick/default.lua @@ -133,28 +133,6 @@ join(res.keyCommands,{ { pressed = iCommandPlane_Helmet_Brightess_Up, name = _('Night Vision Goggles Gain Up'), category = {_('Sensors')}}, { pressed = iCommandPlane_Helmet_Brightess_Down, name = _('Night Vision Goggles Gain Down'), category = {_('Sensors')}}, ------------------------------------------------- --- Checklist ----------------------------------- ------------------------------------------------- -{ down = device_commands.Button_1, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Before Starting APU'), category = {_('Crew')}}, -{ down = device_commands.Button_2, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - After Starting APU'), category = {_('Crew')}}, -{ down = device_commands.Button_3, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Engines on Idle'), category = {_('Crew')}}, -{ down = device_commands.Button_4, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Correction Lever Right'), category = {_('Crew')}}, -{ down = device_commands.Button_5, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Before Takeoff'), category = {_('Crew')}}, -{ down = device_commands.Button_6, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Before Landing'), category = {_('Crew')}}, -{ down = device_commands.Button_7, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Wind Conditions'), category = {_('Crew')}}, - ------------------------------------------------- --- Crew Procedures ----------------------------- ------------------------------------------------- -{ down = device_commands.Button_1, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Open Door'), category = {_('Crew')}}, -{ down = device_commands.Button_2, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Close Door'), category = {_('Crew')}}, -{ down = device_commands.Button_3, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Open Cargo Doors'), category = {_('Crew')}}, -{ down = device_commands.Button_4, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Close Cargo Doors'), category = {_('Crew')}}, -{ down = device_commands.Button_5, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Turn Autopilot On'), category = {_('Crew')}}, -{ down = device_commands.Button_6, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Take Off'), category = {_('Crew')}}, - - ------------------------------------------------ -- Ins Cyclic Stick ---------------------------- ------------------------------------------------ diff --git a/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/keyboard/default.lua b/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/keyboard/default.lua index 7d166f5..e815964 100644 --- a/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/keyboard/default.lua +++ b/Mods/aircraft/Mi-8MTV2/Input/Mi-8MTV2/keyboard/default.lua @@ -58,27 +58,6 @@ join(base.keyCommands,{ {combos = {{key = 'H', reformers = {'RShift','RCtrl'}}}, pressed = iCommandPlane_Helmet_Brightess_Up, name = _('Night Vision Goggles Gain Up'), category = {_('Sensors')}}, {combos = {{key = 'H', reformers = {'RShift','RAlt'}}}, pressed = iCommandPlane_Helmet_Brightess_Down, name = _('Night Vision Goggles Gain Down'), category = {_('Sensors')}}, ------------------------------------------------- --- Checklist ----------------------------------- ------------------------------------------------- -{combos = {{key = 'Num1', reformers = {'LShift'}}}, down = device_commands.Button_1, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Before Starting APU'), category = {_('Crew')}}, -{combos = {{key = 'Num2', reformers = {'LShift'}}}, down = device_commands.Button_2, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - After Starting APU'), category = {_('Crew')}}, -{combos = {{key = 'Num3', reformers = {'LShift'}}}, down = device_commands.Button_3, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Engines on Idle'), category = {_('Crew')}}, -{combos = {{key = 'Num4', reformers = {'LShift'}}}, down = device_commands.Button_4, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Correction Lever Right'), category = {_('Crew')}}, -{combos = {{key = 'Num5', reformers = {'LShift'}}}, down = device_commands.Button_5, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Before Takeoff'), category = {_('Crew')}}, -{combos = {{key = 'Num6', reformers = {'LShift'}}}, down = device_commands.Button_6, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Start List - Before Landing'), category = {_('Crew')}}, -{combos = {{key = 'Num*', reformers = {'LShift'}}}, down = device_commands.Button_7, cockpit_device_id = devices.CHECKLIST, value_down = 1, name = _('Checklist: Wind Conditions'), category = {_('Crew')}}, - ------------------------------------------------- --- Crew Procedures ----------------------------- ------------------------------------------------- -{combos = {{key = 'Left', reformers = {'LShift'}}}, down = device_commands.Button_1, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Open Door'), category = {_('Crew')}}, -{combos = {{key = 'Right', reformers = {'LShift'}}}, down = device_commands.Button_2, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Close Door'), category = {_('Crew')}}, -{combos = {{key = 'Down', reformers = {'LShift'}}}, down = device_commands.Button_3, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Open Cargo Doors'), category = {_('Crew')}}, -{combos = {{key = 'Up', reformers = {'LShift'}}}, down = device_commands.Button_4, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Close Cargo Doors'), category = {_('Crew')}}, -{combos = {{key = 'A', reformers = {'LShift','LWin','LCtrl'}}}, down = device_commands.Button_5, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Turn Autopilot On'), category = {_('Crew')}}, -{combos = {{key = 'T', reformers = {'LShift'}}}, down = device_commands.Button_6, cockpit_device_id = devices.CREW_PROCEDURES, value_down = 1, name = _('CREW: Take Off'), category = {_('Crew')}}, - ------------------------------------------------ -- Ins Cyclic Stick ---------------------------- ------------------------------------------------ diff --git a/Mods/aircraft/MiG-21bis/Input/MiG-21/joystick/default-old.lua b/Mods/aircraft/MiG-21bis/Input/MiG-21/joystick/default-old.lua deleted file mode 100644 index 2f48e65..0000000 --- a/Mods/aircraft/MiG-21bis/Input/MiG-21/joystick/default-old.lua +++ /dev/null @@ -1,772 +0,0 @@ ---/N/ oct 2015 -local cockpit = folder.."../../../Cockpit/" -dofile(cockpit.."devices.lua") -dofile(cockpit.."command_defs.lua") - - -return { - -forceFeedback={ - trimmer=1.0, - shake=0.5, - swapAxes=false, - invertX=false, - invertY=false, -}, - -keyCommands={ - ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --- ff: begin additonal buttons ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ---- gear -{down=device_commands.GearLever,up=device_commands.GearLever,cockpit_device_id=devices.GEARS,value_down=1.0,value_up=0.0,name='Gears Up/Neutral',category='_My Buttons'}, -{down=device_commands.GearLever,up=device_commands.GearLever,cockpit_device_id=devices.GEARS,value_down=-1.0,value_up=0.0,name='Gears Down/Neutral',category='_My Buttons'}, -{down=device_commands.GearLever,up=device_commands.GearLever,cockpit_device_id=devices.GEARS,value_down=-1.0,value_up=0.0,name='Gears Down/Neutral',category='_My Buttons'}, -{down=device_commands.GearHandleFixator,up=device_commands.GearHandleFixator,cockpit_device_id=devices.GEARS,value_down=1.0,value_up=0.0,name='Gears Handle Lock released/engaged',category='_My Buttons'}, -{down=device_commands.GearHandleFixator,up=device_commands.GearHandleFixator,cockpit_device_id=devices.GEARS,value_down=0.0,value_up=1.0,name='Gears Handle Lock engaged/released',category='_My Buttons'}, ---- taxi light -{down=device_commands.LandingLights_mouse,up=device_commands.LandingLights_mouse,cockpit_device_id=devices.LIGHTS,value_down=0.0,value_up=0.5,name='Landing Lights Off/Taxi',category='_My Buttons'}, -{down=device_commands.LandingLights_mouse,up=device_commands.LandingLights_mouse,cockpit_device_id=devices.LIGHTS,value_down=1.0,value_up=0.5,name='Landing Lights On/Taxi',category='_My Buttons'}, ---- battery -{down=device_commands.BatteryOn,up=device_commands.BatteryOn,cockpit_device_id=devices.DC_BUS,value_down=1.0,value_up=0.0,name='Battery On/Off',category='_My Buttons'}, -{down=device_commands.DCGenerator,up=device_commands.DCGenerator,cockpit_device_id=devices.DC_BUS,value_down=1.0,value_up=0.0,name='DC Generator On/Off',category='_My Buttons'}, -{down=device_commands.ACGenerator,up=device_commands.ACGenerator,cockpit_device_id=devices.AC_BUS,value_down=1.0,value_up=0.0,name='AC Generator On/Off',category='_My Buttons'}, --- master modes -{down=device_commands.ASPvozduhZemlja, up=device_commands.ASPvozduhZemlja, cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0, value_up=0.0, name='Master Mode Air/Ground',category='_My Buttons'}, -{down=device_commands.ASPvozduhZemlja,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Master Mode Air',category='_My Buttons'}, -{down=device_commands.ASPvozduhZemlja,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Master Mode Ground',category='_My Buttons'}, -{down=device_commands.ASPssNeutrRns,up=device_commands.ASPssNeutrRns,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,value_up=0.5,name='Weapon AA Mode SAR/Neutral',category='_My Buttons'}, -{down=device_commands.ASPssNeutrRns,up=device_commands.ASPssNeutrRns,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.5,name='Weapon AA Mode IR/Neutral',category='_My Buttons'}, -{down=device_commands.ASPssNeutrRns, up=device_commands.ASPssNeutrRns, cockpit_device_id=devices.WEAPON_CONTROL, value_down=0.0, value_up=0.5, name='Weapon AA Mode SAR/Neutral',category='_My Buttons'}, -{down=device_commands.ASPssNeutrRns, up=device_commands.ASPssNeutrRns, cockpit_device_id=devices.WEAPON_CONTROL, value_down=1.0, value_up=0.5, name='Weapon AA Mode IR/Neutral',category='_My Buttons'}, -{down=device_commands.TaktSbros, up=device_commands.TaktSbros, cockpit_device_id=devices.WEAPON_CONTROL, value_down=1.0, value_up=0.0, name='Tactical Drop On/Off',category='_My Buttons'}, -{down=device_commands.Pusk,up=device_commands.Pusk,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Missiles-Rockets (left console) On/Off',category='_My Buttons'}, --- asp -{down=device_commands.ASPmissileGunSelect_2pos,up=device_commands.ASPmissileGunSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,value_up=0.0,name='ASP Mode Gun/Missiles-Rockets',category='_My Buttons'}, -{down=device_commands.ASPbombStrelbSelect_2pos,up=device_commands.ASPbombStrelbSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,value_up=0.0,name='ASP Mode Shooting/Bombardment',category='_My Buttons'}, -{down=device_commands.ASPmanAutoSelect_2pos,up=device_commands.ASPmanAutoSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,value_up=0.0,name='ASP Main Mode Auto/Manual',category='_My Buttons'}, -{down=device_commands.ASPssGiroSelect_2pos,up=device_commands.ASPssGiroSelect_2pos,cockpit_device_id=devices.ASP,value_down=0.0,value_up=1.0,name='ASP Mode Giro/Missiles',category='_My Buttons'}, -{down=device_commands.ASPon,up=device_commands.ASPon,cockpit_device_id=devices.ASP,value_down=1.0,value_up=0.0,name='Gunsight On/Off',category='_My Buttons'}, -{down=device_commands.ASPpipperOn,up=device_commands.ASPpipperOn,cockpit_device_id=devices.ASP,value_down=1.0,value_up=0.0,name='Pipper On/Off mybutton',category='_My Buttons'}, -{down=device_commands.ASPnetOn,up=device_commands.ASPnetOn,cockpit_device_id=devices.ASP,value_down=1.0,value_up=0.0,name='Fixnet On/Off',category='_My Buttons'}, --- radar -{down=device_commands.RADARon,up=device_commands.RADARon,cockpit_device_id=devices.RADAR,value_down=0.0,value_up=0.5,name='Radar Standby/Off',category='_My Buttons'}, -{down=device_commands.RADARon,up=device_commands.RADARon,cockpit_device_id=devices.RADAR,value_down=1.0,value_up=0.5,name='Radar On/Standby',category='_My Buttons'}, -{down=device_commands.RADARlowAlt,up=device_commands.RADARlowAlt,cockpit_device_id=devices.RADAR,value_down=0.0,value_up=0.5,name='Low Altitude Filter/Off',category='_My Buttons'}, -{down=device_commands.RADARlowAlt,up=device_commands.RADARlowAlt,cockpit_device_id=devices.RADAR,value_down=1.0,value_up=0.5,name='Low Altitude Tilt/Filter',category='_My Buttons'}, -{down=device_commands.RADARfixBeam,up=device_commands.RADARfixBeam,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Locked Beam On/Off',category='_My Buttons'}, ---- apu -{down=device_commands.Zazig,up=device_commands.Zazig,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,value_up=0.0,name='APU On/Off mybutton',category='_My Buttons'}, -{down=device_commands.Zazig,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,name='APU On',category='_My Buttons'}, -{down=device_commands.Zazig,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=0.0,name='APU Off',category='_My Buttons'}, ---- flaps -{down=device_commands.Flaps0, up=device_commands.Flaps25, cockpit_device_id=devices.FLAPS, value_down=1.0, value_up=1.0, name='Flaps 0/25', category='_My Buttons'}, -{down=device_commands.Flaps45, up=device_commands.Flaps25, cockpit_device_id=devices.FLAPS, value_down=1.0, value_up=1.0, name='Flaps 45/25', category='_My Buttons'}, ---- RSBN -{down=device_commands.RSBNARK, up=device_commands.RSBNARK, cockpit_device_id=devices.RSBN, value_down=1.0, value_up=1.0, name='NPP RSBN/ARK Toggle', category='_My Buttons'}, -{down=device_commands.RSBNmode, up=device_commands.RSBNmode, cockpit_device_id=devices.RSBN, value_down=1.0, value_up=0.5, name='RSBN Mode Descend/Navigation', category='_My Buttons'}, -{down=device_commands.RSBNmode, up=device_commands.RSBNmode, cockpit_device_id=devices.RSBN, value_down=0.0, value_up=0.5, name='RSBN Mode Landing/Navigation', category='_My Buttons'}, ---- afterburner -{down=device_commands.ForsMax, up=device_commands.ForsMax, cockpit_device_id=devices.ENGINE, value_down=1.0, value_up=1.0, name='Afterburner Maximum On/Off Toggle',category='_My Buttons'}, -{down=device_commands.Chr_2pos, up=device_commands.Chr_2pos, cockpit_device_id=devices.ENGINE, value_down=1.0, value_up=0.0, name='Emergency Afterburner On/Off (mybuttons)',category='_My Buttons'}, ---- pitot tube -{down=device_commands.PitoHeatMain, up=device_commands.PitoHeatMain, cockpit_device_id=devices.PITOT_TUBES, value_down=1.0, value_up=1.0, name='Pitot Tube Heating On/Off (Toggle)',category='_My Buttons'}, -{down=device_commands.PitoHeatAux, up=device_commands.PitoHeatAux, cockpit_device_id=devices.PITOT_TUBES, value_down=1.0, value_up=1.0, name='Emergency Pitot Tube Heating On/Off (Toggle)',category='_My Buttons'}, ---- throttle -{down=device_commands.RUDStop_lock,up=device_commands.RUDStop_lock,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,value_up=1.0,name='Throttle Stop/Start Position Toggle',category='_My Buttons'}, ---{down=device_commands.RUDStop_lock,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,name='Throttle Start Position',category='_My Buttons'}, ---{down=device_commands.RUDStop_lock,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=0.0,name='Throttle Stop Position',category='_My Buttons'}, ---- air start -{down=device_commands.AirStart_2pos, up=device_commands.AirStart_2pos, cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0, value_up=0.0, name='Engine Emergency Air Start On/Off',category='_My Buttons'}, ---- lines added which are not here by default, i.e. taken from clickabledata.lua ---- sprd rato -{down=device_commands.SPRDstartOn, cockpit_device_id=devices.SPRD,value_down=1.0, name='SPRD (RATO) System On/Off', category='_My Buttons'}, -{down=device_commands.SPRDdropOn, cockpit_device_id=devices.SPRD,value_down=1.0, name='SPRD (RATO) Drop System On/Off', category='_My Buttons'}, ---- radio/compass -{down=device_commands.RadioCompassSound, up=device_commands.RadioCompassSound, cockpit_device_id=devices.RADIO, value_down=1.0, value_up=0.0, name='ARK Radio/Compass Sound', category='_My Buttons'}, --- IFF -{down=device_commands.SRZOvopros, cockpit_device_id=devices.SRZO, value_down=1.0, name='SRZO IFF Coder/Decoder On/(Off)', category='_My Buttons'}, -{down=device_commands.SODon, cockpit_device_id=devices.SOD, value_down=1.0, name='SOD IFF On/Off', category='_My Buttons'}, -{down=device_commands.SRZOon, cockpit_device_id=devices.SRZO, value_down=1.0, name='IFF System Type 81 On/Off', category='_My Buttons'}, ---{down=device_commands.SRZOon, up=device_commands.SRZOon, cockpit_device_id=devices.SRZO, value_down=1.0, value_up=0.0, name='IFF System Type 81 On/Off', category='_My Buttons'}, -{down=device_commands.NPPnastrojka, cockpit_device_id=devices.KSI, value_down=1.0, name='NPP Adjust', category='_My Buttons'}, - ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --- ff: end additonal buttons ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - ---************** Planseta ********************************************************************* - ---- Kneeboard -{combos={{key="Up",reformers={"RCtrl"}}},down=iCommandPlaneShowKneeboard,name='Kneeboard On/Off',category='Kneeboard'}, -{combos={{key="Right",reformers={"RCtrl"}}},down=3001--[[device_commands.KneeboardNext]],cockpit_device_id=devices.KNEEBOARD,value_down=1.0,name='Kneeboard Page +',category='Kneeboard'}, -{combos={{key="Left",reformers={"RCtrl"}}},down=3002--[[device_commands.KneeboardPrev]],cockpit_device_id=devices.KNEEBOARD,value_down=1.0,name='Kneeboard Page -',category='Kneeboard'}, -{combos={{key="Down",reformers={"RCtrl"}}},down=3003--[[device_commands.KneeboardMark]],cockpit_device_id=devices.KNEEBOARD,value_down=1.0,name='Kneeboard mark current position',category='Kneeboard'}, -{combos={{key="Up",reformers={"RShift"}}},down=iCommandPlaneShowKneeboard,up=iCommandPlaneShowKneeboard,value_down=1.0,value_up=-1.0,name='Kneeboard glance',category='Kneeboard'}, - ---************** Avionics ********************************************************************* - --- Pitot tubes - TOGGLES -{combos={{key='T',reformers={'RAlt'}}},down=device_commands.PitoSelect,cockpit_device_id=devices.PITOT_TUBES,value_down=1.0,name='Pitot tubes - main/emerg. toggle',category='Avionics'}, -{combos={{key='H',reformers={'LShift'}}},down=device_commands.PitoHeatMain,cockpit_device_id=devices.PITOT_TUBES,value_down=1.0,name='Pitot Tube Heating On/Off',category='Avionics'}, -{combos={{key='H',reformers={'LAlt'}}},down=device_commands.PitoHeatAux,cockpit_device_id=devices.PITOT_TUBES,value_down=1.0,name='Emergency Pitot Tube Heating On/Off',category='Avionics'}, - --- Instrument related -{combos={{key='A',reformers={'RCtrl'}}},down=device_commands.AccelReset,up=device_commands.AccelReset,cockpit_device_id=devices.ACCELEROMETER,value_down=1.0,value_up=0.0,name='Accelerometer Reset',category='Avionics'}, - --- KPP - Artificial Horizont -{combos={{key='K',reformers={'RCtrl'}}},down=device_commands.KPPon,cockpit_device_id=devices.KPP,value_down=1.0,name='KPP Main/Emergency toggle',category='Avionics'}, -{combos={{key='K'}},down=device_commands.KPParretir,up=device_commands.KPParretir,cockpit_device_id=devices.KPP,value_down=1.0,value_up=0.0,name='KPP Cage',category='Avionics'}, - --- NPP - Horizontal Situation Indicator -{combos={{key='N',reformers={'LShift'}}},down=device_commands.NPPon,cockpit_device_id=devices.KSI,value_down=1.0,name='NPP On/Off',category='Avionics'}, -{combos={{key='N',reformers={'LCtrl'}}},down=device_commands.NPPnastrojka,up=device_commands.NPPnastrojka,cockpit_device_id=devices.KSI,value_down=1.0,value_up=0.0,name='NPP Cage',category='Avionics'}, -{combos={{key='N',reformers={'LAlt'}}},down=device_commands.RSBNARK,cockpit_device_id=devices.RSBN,value_down=1,name='NPP - RSBN/ARK mode',category='Avionics'}, - --- Radio Altimeter -{combos={{key='B',reformers={'RAlt'}}},down=device_commands.RadioAltOn,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=1.0,name='Radio Altimeter/Marker On/Off',category='Avionics'}, -{combos={{key='1',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.14,name='Danger Altitude 50m',category='Avionics'}, -{combos={{key='2',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.28,name='Danger Altitude 100m',category='Avionics'}, -{combos={{key='3',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.42,name='Danger Altitude 150m',category='Avionics'}, -{combos={{key='4',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.56,name='Danger Altitude 200m',category='Avionics'}, -{combos={{key='5',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.70,name='Danger Altitude 250m',category='Avionics'}, -{combos={{key='6',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.84,name='Danger Altitude 300m',category='Avionics'}, -{combos={{key='7',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=1.00,name='Danger Altitude 400m',category='Avionics'}, -{combos={{key='0',reformers={'RCtrl'}}},down=device_commands.DangerAltSelect,cockpit_device_id=devices.RADIO_ALTIMETER,value_down=0.0,name='Danger Altitude Off',category='Avionics'}, - --- RSBN - Navigation -{combos={{key='R',reformers={'RCtrl'}}},down=device_commands.RSBNon,cockpit_device_id=devices.RSBN,value_down=1,name='RSBN On/Off',category='Avionics'}, - -{combos={{key='N'}},down=device_commands.RSBNmodeToggle,cockpit_device_id=devices.RSBN,value_down=1.0,name='RSBN Mode select',category='Avionics'}, -{combos={{key='R',reformers={'LAlt','LCtrl'}}},down=device_commands.RSBNmode,cockpit_device_id=devices.RSBN,value_down=1,name='RSBN Mode: Descend',category='Avionics'}, -{combos={{key='R',reformers={'LCtrl'}}},down=device_commands.RSBNmode,cockpit_device_id=devices.RSBN,value_down=0.5,name='RSBN Mode: Navigation',category='Avionics'}, -{combos={{key='R',reformers={'LAlt'}}},down=device_commands.RSBNmode,cockpit_device_id=devices.RSBN,value_down=0,name='RSBN Mode: Landing',category='Avionics'}, -{combos={{key='R',reformers={'LWin','LShift'}}},down=device_commands.RSBNtest,up=device_commands.RSBNtest,cockpit_device_id=devices.RSBN,value_down=1.0,value_up=0.0,name='RSBN self test',category='Avionics'}, - --- ARK - Radiocompass -{combos={{key='B'}},down=device_commands.ARKon,cockpit_device_id=devices.ARK,value_down=1,name='ARK On/Off',category='Avionics'}, -{combos={{key='B',reformers={'LShift'}}},down=device_commands.ARKfarNear,cockpit_device_id=devices.ARK,value_down=1,name='ARK Far/Near',category='Avionics'}, - -{combos={{key='1',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.1,name='ARK channel 1',category='Avionics'}, -{combos={{key='2',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.2,name='ARK channel 2',category='Avionics'}, -{combos={{key='3',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.3,name='ARK channel 3',category='Avionics'}, -{combos={{key='4',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.4,name='ARK channel 4',category='Avionics'}, -{combos={{key='5',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.5,name='ARK channel 5',category='Avionics'}, -{combos={{key='6',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.6,name='ARK channel 6',category='Avionics'}, -{combos={{key='7',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.7,name='ARK channel 7',category='Avionics'}, -{combos={{key='8',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.8,name='ARK channel 8',category='Avionics'}, -{combos={{key='9',reformers={'RShift'}}},down=device_commands.ARKchannel,cockpit_device_id=devices.ARK,value_down=0.9,name='ARK channel 9',category='Avionics'}, - -{combos={{key='1',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.0,name='ARK Sector I-1 Ukraine',category='Avionics'}, -{combos={{key='2',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.14,name='ARK Sector I-2 free',category='Avionics'}, -{combos={{key='3',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.28,name='ARK Sector II-1 Russia',category='Avionics'}, -{combos={{key='4',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.42,name='ARK Sector II-2 Russia',category='Avionics'}, -{combos={{key='5',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.56,name='ARK Sector III-1 Georgia',category='Avionics'}, -{combos={{key='6',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.70,name='ARK Sector III-2 free',category='Avionics'}, -{combos={{key='7',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=0.84,name='ARK Sector IV-1 free',category='Avionics'}, -{combos={{key='8',reformers={'RAlt'}}},down=device_commands.ARKzone,cockpit_device_id=devices.ARK,value_down=1.00,name='ARK Sector IV-2 free',category='Avionics'}, - --- SARPP - Data Recorder -{combos={{key='S',reformers={'LCtrl'}}},down=device_commands.SARPP,cockpit_device_id=devices.SARPP,value_down=1.0,name='SARPP-12 Flight Data Recorder - On/Off',category='Avionics'}, - - ---************** Engine and fuel ********************************************************************* - --- Autostart/Stop -{combos={{key='Home',reformers={'LWin'}}},down=device_commands.mig21_autostart,cockpit_device_id=devices.MACROS,value_down=1.0,name='Autostart Procedure',category='Engine'}, -{combos={{key='End',reformers={'LWin'}}},down=device_commands.mig21_autostop,cockpit_device_id=devices.MACROS,value_down=1.0,name='Autostop Procedure',category='Engine'}, - --- Fuel pumps & systems -{combos={{key='P',reformers={'RShift'}}},down=device_commands.Pump3,cockpit_device_id=devices.FUEL_PUMPS,value_down=1.0,name='3rd Fuel Tanks Group, Fuel Pump On/Off',category='Engine'}, -{combos={{key='P',reformers={'RAlt'}}},down=device_commands.Pump1,cockpit_device_id=devices.FUEL_PUMPS,value_down=1.0,name='1st Fuel Tanks Group, Fuel Pump On/Off',category='Engine'}, -{combos={{key='P',reformers={'RCtrl'}}},down=device_commands.PumpRashod,cockpit_device_id=devices.FUEL_PUMPS,value_down=1.0,name='Drain Tank, Fuel Pump On/Off',category='Engine'}, - --- Engine start device -{combos={{key='/',reformers={'RAlt'}}},down=device_commands.Zazig,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,name='APU On/Off',category='Engine'}, -{combos={{key='/',reformers={'RCtrl'}}},down=device_commands.HotStart,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,name='Engine Normal/Cold Start',category='Engine'}, -{combos={{key='E'}},down=device_commands.AirStart,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,name='Engine Emergency Air Start On/Off',category='Engine'}, -{down=device_commands.AirStart_2pos,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,name='Engine Emergency Air Start On',category='Engine'}, -{down=device_commands.AirStart_2pos,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=0.0,name='Engine Emergency Air Start Off',category='Engine'}, - -{combos={{key='E',reformers={'LWin','LShift'}}},down=device_commands.RUDStop_lock,up=device_commands.RUDStop_lock,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,value_up=0.0,name='Throttle Start/Stop Position Toggle',category='Engine'}, -{combos={{key='E',reformers={'LWin','LCtrl'}}},down=device_commands.StartButton,up=device_commands.StartButton,cockpit_device_id=devices.ENGINE_START_DEVICE,value_down=1.0,value_up=0.0,name='Start Engine',category='Engine'}, - --- Engine -{combos={{key=']',reformers={'RShift'}}},down=device_commands.SurgeDoors,cockpit_device_id=devices.ENGINE,value_down=1.0,name='Anti surge doors - Auto/Manual',category='Engine'}, -{down=device_commands.SurgeDoors_2pos,cockpit_device_id=devices.ENGINE,value_down=1.0,name='Anti surge doors - Manual',category='Engine'}, -{down=device_commands.SurgeDoors_2pos,cockpit_device_id=devices.ENGINE,value_down=0.0,name='Anti surge doors - Auto',category='Engine'}, -{combos={{key=']',reformers={'RAlt'}}},down=device_commands.ForsMax,cockpit_device_id=devices.ENGINE,value_down=1.0,name='Afterburner/Maximum On/Off',category='Engine'}, -{combos={{key='E',reformers={'LAlt'}}},down=device_commands.Chr,cockpit_device_id=devices.ENGINE,value_down=1.0,name='Emergency Afterburner On/Off',category='Engine'}, -{down=device_commands.Chr_2pos,cockpit_device_id=devices.ENGINE,value_down=1.0,name='Emergency Afterburner On',category='Engine'}, -{down=device_commands.Chr_2pos,cockpit_device_id=devices.ENGINE,value_down=0.0,name='Emergency Afterburner Off',category='Engine'}, - --- Nosecone -{combos={{key='[',reformers={'RShift'}}},down=device_commands.KonusOn,cockpit_device_id=devices.KONUS,value_down=1.0,name='Cone On/Off',category='Engine'}, -{combos={{key='\\',reformers={'RShift'}}},down=device_commands.KonusManAuto,cockpit_device_id=devices.KONUS,value_down=1.0,name='Cone Auto/Manual',category='Engine'}, - --- Engine nozzle -{combos={{key='\\',reformers={'RAlt'}}},down=device_commands.Soplo2xPoz,cockpit_device_id=devices.SOPLO,value_down=1.0,name='Nozzle, Emergency Control - On/Off',category='Engine'}, - --- Fire Extinguisher -{combos={{key='F',reformers={'RAlt'}}},down=device_commands.PozarOborud,cockpit_device_id=devices.FIRE_EXTINGUISHER,value_down=1.0,name='Fire Extinguisher System On/Off',category='Engine'}, -{combos={{key='F',reformers={'RShift'}}},down=device_commands.PozarSafetyCover,cockpit_device_id=devices.FIRE_EXTINGUISHER,value_down=1.0,name='Fire Extinguisher Cover Open/Close',category='Engine'}, -{combos={{key='F',reformers={'LWin','LAlt'}}},down=device_commands.Ognetushitel,up=device_commands.Ognetushitel,cockpit_device_id=devices.FIRE_EXTINGUISHER,value_down=1.0,value_up=0.0,name='Fire Extinguisher Engage',category='Engine'}, - --- Fuel pod drop -{combos={{key='PageUp',reformers={'RCtrl'}}},down=device_commands.SbrosPodvBakov,up=device_commands.SbrosPodvBakov,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Drop Center Fuel Pod',category='Engine'}, -{combos={{key='PageDown',reformers={'RCtrl'}}},down=device_commands.SbrosKrilBakov,up=device_commands.SbrosKrilBakov,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Drop Wing Fuel Pods',category='Engine'}, -{combos={{key='PageDown',reformers={'RShift'}}},down=device_commands.SbrosKrilBakovSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Drop Wing Fuel Pods Cover Open/Close',category='Engine'}, - ---******************* Flight controls ***************************************************************** - --- FFB support -{combos={{key='J',reformers={'RAlt','RShift'}}},down=device_commands.ForceFeedback,up=device_commands.ForceFeedback,cockpit_device_id=devices.CONTROL_SYSTEM,value_down=1.0,value_up=0.0,name='Force Feedback On/Off',category='Flight Controls'}, - --- Controls -{combos = {{key = 'Num+'}}, down = iCommandThrottle1Increase, up = iCommandThrottle1Stop, name = 'Throttle Up', category = 'Flight Controls'}, -{combos = {{key = 'Num-'}}, down = iCommandThrottle1Decrease, up = iCommandThrottle1Stop, name = 'Throttle Down', category = 'Flight Controls'}, ---{combos={{key='Num+'}},pressed=device_commands.ThrottleInc,up=device_commands.ThrottleInc,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Throttle Up (joystick)',category='Flight Controls'}, ---{combos={{key='Num-'}},pressed=device_commands.ThrottleDec,up=device_commands.ThrottleDec,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Throttle Down (joystick)',category='Flight Controls'}, -{combos={{key='Z'}},pressed=device_commands.RudLeft,up=device_commands.RudLeft,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Rudder Left (joystick)',category='Flight Controls'}, -{combos={{key='X'}},pressed=device_commands.RudRight,up=device_commands.RudRight,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Rudder Right (joystick)',category='Flight Controls'}, - --- Trimmer -{combos={{key='T',reformers={'RShift'}}},down=device_commands.TrimmerOn,cockpit_device_id=devices.TRIMER,value_down=1.0,name='Trim On/Off',category='Flight Controls'}, -{combos={{key='T',reformers={'LShift'}}},down=device_commands.TrimmerBtnUp,up=device_commands.TrimmerBtnUp,cockpit_device_id=devices.TRIMER,value_down=1.0,value_up=0.0,name='Trim Pitch Down',category='Flight Controls'}, -{combos={{key='T',reformers={'LCtrl'}}},down=device_commands.TrimmerBtnDown,up=device_commands.TrimmerBtnDown,cockpit_device_id=devices.TRIMER,value_down=-1.0,value_up=0.0,name='Trim Pitch Up',category='Flight Controls'}, - --- Hidraulics -{combos={{key='H',reformers={'RShift'}}},down=device_commands.NR27on,cockpit_device_id=devices.MAIN_HYDRO,value_down=1.0,name='Emergency Hydraulic Pump On/Off',category='Flight Controls'}, -{combos={{key='H',reformers={'RAlt'}}},down=device_commands.AileronBoosters,cockpit_device_id=devices.MAIN_HYDRO,value_down=1.0,name='Aileron Boosters On/Off',category='Flight Controls'}, - --- SPS - Boundary Layer System -{combos={{key='U',reformers={'RShift'}}},down=device_commands.SPSon,cockpit_device_id=devices.SPS,value_down=1,name='SPS (BLC) System On/Off',category='Flight Controls'}, - --- ARU -{combos={{key='U',reformers={'RAlt'}}},down=device_commands.ARUmanAuto,cockpit_device_id=devices.ARU,value_down=0,name='ARU - Auto/Manual',category='Flight Controls'}, -{combos={{key='U',reformers={'RCtrl'}}},down=device_commands.ARUhighSpeed,up=device_commands.ARUhighSpeed,cockpit_device_id=devices.ARU,value_down=1,value_up=0,name='ARU manual - High Speed',category='Flight Controls'}, -{combos={{key='U',reformers={'LCtrl'}}},down=device_commands.ARUlowSpeed,up=device_commands.ARUlowSpeed,cockpit_device_id=devices.ARU,value_down=-1,value_up=0,name='ARU manual - Low Speed',category='Flight Controls'}, - --- Airbrake -{combos={{key='C'}},down=device_commands.Airbrakes,cockpit_device_id=devices.AIRBRAKE,value_down=1.0,name='Airbrakes On/Off',category='Flight Controls'}, - --- Flaps -{down = iCommandPlaneFlapsOn, name = 'Flaps Down', category = 'Flight Controls'}, -{down = iCommandPlaneFlapsOff, name = 'Flaps Up', category = 'Flight Controls'}, - -{down=device_commands.Flaps0,cockpit_device_id=devices.FLAPS,value_down=1.0,name='Flaps 0',category='Flight Controls'}, -{down=device_commands.Flaps25,cockpit_device_id=devices.FLAPS,value_down=1.0,name='Flaps 25',category='Flight Controls'}, -{down=device_commands.Flaps45,cockpit_device_id=devices.FLAPS,value_down=1.0,name='Flaps 45',category='Flight Controls'}, -{down=device_commands.FlapsReset,up=device_commands.FlapsReset,cockpit_device_id=devices.FLAPS,value_down=1.0,value_up=0.0,name='Flaps, releave springs ',category='Flight Controls'}, - ---************************************** SAU ************************************************************************************* - --- SAU -{combos={{key='S',reformers={'RShift'}}},down=device_commands.SAUon,cockpit_device_id=devices.SAU,value_down=1,name='SAU On/Off',category='SAU'}, -{combos={{key='S',reformers={'RAlt'}}},down=device_commands.SAUpitchOn,cockpit_device_id=devices.SAU,value_down=1,name='SAU Pitch On/Off',category='SAU'}, -{combos={{key='S',reformers={'RCtrl'}}},down=device_commands.SAUlowAltOn,cockpit_device_id=devices.SAU,value_down=1,name='SAU - Low Altitude Recovery On/Off',category='SAU'}, -{combos={{key='A'}},down=device_commands.SAUprivedenie,up=device_commands.SAUprivedenie,cockpit_device_id=devices.SAU,value_down=1.0,value_up=0.0,name='SAU - Recovery',category='SAU'}, -{combos={{key='A',reformers={'LAlt'}}},down=device_commands.SAUstabil,up=device_commands.SAUstabil,cockpit_device_id=devices.SAU,value_down=1.0,value_up=0.0,name='SAU - Stabilize',category='SAU'}, -{combos={{key='A',reformers={'LAlt','LCtrl'}}},down=device_commands.SAUcancel,up=device_commands.SAUcancel,cockpit_device_id=devices.SAU,value_down=1.0,value_up=0.0,name='SAU cancel current mode',category='SAU'}, - -{combos={{key='A',reformers={'RShift'}}},down=device_commands.SAUlandingControlCommand,up=device_commands.SAUlandingControlCommand,cockpit_device_id=devices.SAU,value_down=1.0,value_up=0.0,name='SAU Landing - Command',category='SAU'}, -{combos={{key='A',reformers={'RAlt'}}},down=device_commands.SAUlandingControlAuto,up=device_commands.SAUlandingControlAuto,cockpit_device_id=devices.SAU,value_down=1.0,value_up=0.0,name='SAU Landing - Auto',category='SAU'}, -{combos={{key='A',reformers={'RShift','RAlt'}}},down=device_commands.SAUresetOff,up=device_commands.SAUresetOff,cockpit_device_id=devices.SAU,value_down=1.0,value_up=0.0,name='SAU Cancel Landing Mode',category='SAU'}, - -{combos = {{key = 'J'}}, down = iCommandPlaneStabPathHold, up = iCommandPlaneStabPathHold, value_down=1.0,value_up=0.0, name = 'SAU - Hold Attitude', category = 'SAU'}, - ---************************************* GEARS, G. Brakes and Drag chute ****************************************************************** - --- Gears -{combos={{key='G'}},down=device_commands.GearLever,cockpit_device_id=devices.GEARS,value_down=1.0,name='Gears Up',category='Gears, brakes and chute'}, -{combos={{key='G',reformers={'LShift'}}},down=device_commands.GearLever,cockpit_device_id=devices.GEARS,value_down=-1.0,name='Gears Down',category='Gears, brakes and chute'}, -{combos={{key='G',reformers={'LCtrl'}}},down=device_commands.GearLever,cockpit_device_id=devices.GEARS,value_down=0.0,name='Gears Handle Neutral',category='Gears, brakes and chute'}, -{combos={{key='G',reformers={'RShift'}}},down=device_commands.GearHandleFixator,cockpit_device_id=devices.GEARS,value_down=1.0,name='Gears Handle Lock released',category='Gears, brakes and chute'}, -{combos={{key='G',reformers={'RCtrl'}}},down=device_commands.GearHandleFixator,cockpit_device_id=devices.GEARS,value_down=0.0,name='Gears Handle Lock engaged',category='Gears, brakes and chute'}, -{combos={{key='G',reformers={'LCtrl','LShift'}}},down=device_commands.EmergGearsNose,cockpit_device_id=devices.GEARS,value_down=1.0,name='Nose Gear Emergency Release On',category='Gears, brakes and chute'}, -{combos={{key='G',reformers={'LCtrl','LAlt'}}},down=device_commands.EmergGearsMain,cockpit_device_id=devices.GEARS,value_down=1.0,name='Main Gears Emergency Release On',category='Gears, brakes and chute'}, - --- Wheel brake -{combos={{key='W'}},down=iCommandPlaneWheelBrakeOn,up=iCommandPlaneWheelBrakeOff,name='Wheel Brakes',category='Gears, brakes and chute'}, -{combos={{key='W',reformers={'RShift'}}},down=device_commands.ABSon,cockpit_device_id=devices.GEAR_BRAKES,value_down=1,name='ABS On/Off',category='Gears, brakes and chute'}, -{combos={{key='W',reformers={'LAlt'}}},down=device_commands.NosegearBrake,cockpit_device_id=devices.GEAR_BRAKES,value_down=1,name='Nosegear Brake On/Off',category='Gears, brakes and chute'}, -{combos={{key='W',reformers={'LCtrl'}}},down=device_commands.EmergBrakes,cockpit_device_id=devices.GEAR_BRAKES,value_down=1,name='Emergency Braking On/Off',category='Gears, brakes and chute'}, - --- Chute *cover -{combos={{key='P'}},down=device_commands.DragChute,up=device_commands.DragChute, cockpit_device_id=devices.CHUTE,value_down=1.0,value_up=0.0,name='Drag Chute - Activate',category='Gears, brakes and chute'}, -{combos={{key='D',reformers={'RShift','RCtrl'}}},down=device_commands.DragChuteDisconnect,up=device_commands.DragChuteDisconnect,cockpit_device_id=devices.CHUTE,value_down=1.0,value_up=0.0,name='Drag Chute - Disconnect',category='Gears, brakes and chute'}, -{combos={{key='D',reformers={'RAlt'}}},down=device_commands.DragChuteSafetyCover,cockpit_device_id=devices.CHUTE,value_down=1.0,name='Button Cap Open/Close (for Disconnect Drag Chute)',category='Gears, brakes and chute'}, - ---************************* SPRD or ASO *********************************************************************** - --- SPRD / ASO -{combos={{key='J',reformers={'LCtrl'}}},down=device_commands.SPRDstartOn,cockpit_device_id=devices.SPRD,value_down=1,name='SPRD (or ASO), Power On/Off',category='SPRD or ASO Chaff/Flares'}, -{combos={{key='J',reformers={'LAlt'}}},down=device_commands.SPRDdropOn,cockpit_device_id=devices.SPRD,value_down=1,name='SPRD (or ASO) drop, Power On/Off',category='SPRD or ASO Chaff/Flares'}, -{combos={{key='J',reformers={'RCtrl'}}},down=device_commands.SPRDstartSafetyCover,cockpit_device_id=devices.SPRD,value_down=1,name='SPRD (or ASO), Start Cover, Open/Close',category='SPRD or ASO Chaff/Flares'}, -{down=device_commands.SPRDstartSafetyCover_2pos,cockpit_device_id=devices.SPRD,value_down=1.0,name='SPRD (or ASO), Start Cover, Open',category='SPRD or ASO Chaff/Flares'}, -{down=device_commands.SPRDstartSafetyCover_2pos,cockpit_device_id=devices.SPRD,value_down=0.0,name='SPRD (or ASO), Start Cover, Close',category='SPRD or ASO Chaff/Flares'}, -{combos={{key='J',reformers={'RShift'}}},down=device_commands.SPRDdropSafetyCover,cockpit_device_id=devices.SPRD,value_down=1,name='SPRD (or ASO), Drop Cover, Open/Close',category='SPRD or ASO Chaff/Flares'}, -{down=device_commands.SPRDdropSafetyCover_2pos,cockpit_device_id=devices.SPRD,value_down=1.0,name='SPRD (or ASO), Drop Cover, Open',category='SPRD or ASO Chaff/Flares'}, -{down=device_commands.SPRDdropSafetyCover_2pos,cockpit_device_id=devices.SPRD,value_down=0.0,name='SPRD (or ASO), Drop Cover, Close',category='SPRD or ASO Chaff/Flares'}, -{combos={{key='Space',reformers={'LShift'}}},down=device_commands.SPRDstart,up=device_commands.SPRDstart,cockpit_device_id=devices.SPRD,value_down=1.0,value_up=0.0,name='SPRD Start',category='SPRD or ASO Chaff/Flares'}, -{combos={{key='Space',reformers={'LCtrl'}}},down=device_commands.SPRDdrop,up=device_commands.SPRDdrop,cockpit_device_id=devices.SPRD,value_down=1.0,value_up=0.0,name='SPRD Drop / or ASO drop chaff flares',category='SPRD or ASO Chaff/Flares'}, - ---************************** General ******************************************************************************* - -{combos={{key='E',reformers={'LCtrl'}}},down=iCommandPlaneEject,name='Eject (3 times)',category='General'}, -{combos={{key='T'}},down=iCommandPlaneWingtipSmokeOnOff,name='Smoke',category='General'}, - --- Gameplay -{combos={{key='Esc'}},down=iCommandQuit,name='End mission',category='General'}, -{combos={{key='Pause'}},down=iCommandBrakeGo,name='Pause',category='General'}, -{combos={{key='Z',reformers={'LCtrl'}}},down=iCommandAccelerate,name='Time accelerate',category='General'}, -{combos={{key='Z',reformers={'LWin','LCtrl'}}},down=iCommandDecelerate,name='Time decelerate',category='General'}, -{combos={{key='Z',reformers={'LShift'}}},down=iCommandNoAcceleration,name='Time normal',category='General'}, -{combos={{key='\''}},down=iCommandScoresWindowToggle,name='Score window',category='General'}, -{combos={{key=','}},down=iCommandDebriefing,name='Show debriefing window',category='General'}, -{combos={{key='.'}},down=iCommandMissionResourcesManagement,name='Rearming and Refueling Window',category='General'}, - -{combos={{key='Y',reformers={'LCtrl'}}},down=iCommandInfoOnOff,name='Info bar view toggle',category='General'}, -{combos={{key='Tab',reformers={'RCtrl','RShift'}}},down=iCommandRecoverHuman,name='Get new plane - respawn',category='General'}, -{combos={{key='J',reformers={'RAlt'}}},down=iCommandPlaneJump,name='Jump into other aircraft',category='General'}, -{combos={{key='SysRQ'}},down=iCommandScreenShot,name='Screenshot',category='General'}, -{combos={{key='Pause',reformers={'RCtrl'}}},down=iCommandGraphicsFrameRate,name='Frame rate counter - Service info',category='General'}, -{combos={{key='Y',reformers={'LAlt'}}},down=iCommandViewCoordinatesInLinearUnits,name='Info bar coordinate units toggle',category='General'}, -{combos={{key='C',reformers={'LAlt','LShift'}}},down=iCommandCockpitClickModeOnOff,name='Mouse cursor cockpit mode',category='General'}, -{combos={{key='S',reformers={'LWin','LAlt'}}},down=iCommandSoundOnOff,name='Sound On/Off',category='General'}, -{combos={{key='Scroll',reformers={'RShift','RCtrl'}}},down=iCommandRecordCursorOnOff,name='Record of mouse cursor in track On/Off',category='General'}, -{combos={{key='Scroll',reformers={'RShift'}}},down=iCommandRecordSubtitleOn,name='Subtitle recording begin',category='General'}, -{combos={{key='Scroll',reformers={'RCtrl'}}},down=iCommandRecordSubtitleOff,name='Subtitle recording end',category='General'}, -{combos={{key='Pause',reformers={'LShift','LWin'}}},down=iCommandActivePauseOnOff,name='Active Pause',category='General'}, ---{combos={{key='Pause',reformers={'RShift','RCtrl'}}},down=iCommandActivePauseOnOff,name='Active Pause',category='General'}, ---{down = iCommandActivePauseOnOff, name = 'Active Pause', category = 'General'}, - --- Labels -{combos={{key='F10',reformers={'LShift'}}},down=iCommandMarkerState,name='All Labels',category='General'}, -{combos={{key='F2',reformers={'LShift'}}},down=iCommandMarkerStatePlane,name='Aircraft Labels',category='General'}, -{combos={{key='F6',reformers={'LShift'}}},down=iCommandMarkerStateRocket,name='Missile Labels',category='General'}, -{combos={{key='F9',reformers={'LShift'}}},down=iCommandMarkerStateShip,name='Vehicle & Ship Labels',category='General'}, - ---**************************** Life support ************************************************************** - -{combos={{key='P',reformers={'LWin'}}},down=device_commands.EmergOxygene,cockpit_device_id=devices.OXYGENE_SYSTEM,value_down=1.0,name='Emergency O2 On/Off',category='Life support'}, -{combos={{key='P',reformers={'LCtrl'}}},down=device_commands.MixtureOxygeneSelect,cockpit_device_id=devices.OXYGENE_SYSTEM,value_down=1.0,name='Air - Mix / 100% O2',category='Life support'}, - --- Canopy -{combos={{key='C',reformers={'LCtrl'}}},down=device_commands.CanopyAntiIce,up=device_commands.CanopyAntiIce,cockpit_device_id=devices.CANOPY,value_down=1.0,value_up=0.0,name='Canopy Anti Icing',category='Life support'}, -{combos={{key='C',reformers={'RCtrl'}}},down=device_commands.CanopyClose,up=device_commands.CanopyClose,cockpit_device_id=devices.CANOPY,value_down=1.0,value_up=0.0,name='Canopy Close/Open',category='Life support'}, -{combos={{key='C',reformers={'LShift'}}},down=device_commands.CanopyLockHandle,cockpit_device_id=devices.CANOPY,value_down=1.0,name='Canopy Locked/Unlocked',category='Life support'}, -{combos={{key='C',reformers={'LAlt'}}},down=device_commands.CanopyHermetHandle,cockpit_device_id=devices.CANOPY,value_down=1.0,name='Canopy Pressurized On/Off',category='Life support'}, -{combos={{key='C',reformers={'LWin','LAlt'}}},down=device_commands.CanopyEmergRelease,cockpit_device_id=devices.CANOPY,value_down=1.0,name='Canopy Emergency jettison',category='Life support'}, - --- Helmet Visor -{combos={{key='Home',reformers={'LAlt'}}},down=device_commands.HelmetVisor,cockpit_device_id=devices.HELMET_VISOR,value_down=1.0,name='Helmet visor - On/Off',category='Life support'}, - ---*************** Lights *********************************************************************** - --- Cockpit Lights -{combos={{key='Num+',reformers={'LAlt'}}},pressed=device_commands.TextBacklight_kb_up,up=device_commands.TextBacklight_kb_up,cockpit_device_id=devices.LIGHTS,value_pressed=1.0,value_up=0.0,name='Cockpit Texts Backlight +',category='Lights'}, -{combos={{key='Num-',reformers={'LAlt'}}},pressed=device_commands.TextBacklight_kb_down,up=device_commands.TextBacklight_kb_down,cockpit_device_id=devices.LIGHTS,value_pressed=-1.0,value_up=0.0,name='Cockpit Texts Backlight -',category='Lights'}, -{combos={{key='Num+',reformers={'LShift'}}},pressed=device_commands.InstrumentsBacklight_kb_up,up=device_commands.InstrumentsBacklight_kb_up,cockpit_device_id=devices.LIGHTS,value_pressed=1.0,value_up=0.0,name='Cockpit Instruments Backlight +',category='Lights'}, -{combos={{key='Num-',reformers={'LShift'}}},pressed=device_commands.InstrumentsBacklight_kb_down,up=device_commands.InstrumentsBacklight_kb_down,cockpit_device_id=devices.LIGHTS,value_pressed=-1.0,value_up=0.0,name='Cockpit Instruments Backlight -',category='Lights'}, -{combos={{key='Num+',reformers={'LCtrl'}}},pressed=device_commands.RedLightsMain_kb_up,up=device_commands.RedLightsMain_kb_up,cockpit_device_id=devices.LIGHTS,value_pressed=1.0,value_up=0.0,name='Cockpit Red Lights -',category='Lights'}, -{combos={{key='Num-',reformers={'LCtrl'}}},pressed=device_commands.RedLightsMain_kb_down,up=device_commands.RedLightsMain_kb_down,cockpit_device_id=devices.LIGHTS,value_pressed=-1.0,value_up=0.0,name='Cockpit Red Lights +',category='Lights'}, -{combos={{key='Num+',reformers={'LWin'}}},pressed=device_commands.WhiteLightsMain_kb_up,up=device_commands.WhiteLightsMain_kb_up,cockpit_device_id=devices.LIGHTS,value_pressed=1.0,value_up=0.0,name='Cockpit White Lights -',category='Lights'}, -{combos={{key='Num-',reformers={'LWin'}}},pressed=device_commands.WhiteLightsMain_kb_down,up=device_commands.WhiteLightsMain_kb_down,cockpit_device_id=devices.LIGHTS,value_pressed=-1.0,value_up=0.0,name='Cockpit White Lights +',category='Lights'}, - -{combos={{key='L',reformers={'RCtrl'}}},down= 3256,cockpit_device_id=0,value_down=0,name='Pilot torch light on-off',category='Lights'},-- - ---Landing Lights -{combos={{key='L',reformers={'LCtrl'}}},down=device_commands.LandingLights,cockpit_device_id=devices.LIGHTS,value_down=0.5,name='Landing Lights',category='Lights'}, -{down=device_commands.LandingLights_Off,cockpit_device_id=devices.LIGHTS,value_down=0.0,name='Landing Lights OFF',category='Lights'}, -{down=device_commands.LandingLights_Taxi,cockpit_device_id=devices.LIGHTS,value_down=0.5,name='Landing Lights TAXI',category='Lights'}, -{down=device_commands.LandingLights_Landing,cockpit_device_id=devices.LIGHTS,value_down=1.0,name='Landing Lights LANDING',category='Lights'}, - - --- Nav Lights -{combos={{key='L',reformers={'LShift'}}},down=device_commands.NavLights,cockpit_device_id=devices.LIGHTS,value_down=0.99,name='Nav Lights',category='Lights'}, -{combos={{key='L',reformers={'LAlt','LWin'}}},down=device_commands.CheckWarningLights10,up=device_commands.CheckWarningLights10,cockpit_device_id=devices.LIGHTS_WARNING,value_down=1.0,value_up=0.0,name='Check Warning Lights',category='Lights'}, - -{combos={{key='Back'}},down=device_commands.SORC,up=device_commands.SORC,cockpit_device_id=devices.LIGHTS_WARNING,value_down=1.0,value_up=0.0,name='SORC',category='Lights'}, - ---************** El. Power ***************************************************************** - -{combos={{key='I',reformers={'RShift'}}},down=device_commands.PO7501,cockpit_device_id=devices.AC_BUS,value_down=1.0,name='PO-750 Inverter #1',category='Power'}, -{combos={{key='I',reformers={'RAlt'}}},down=device_commands.PO7502,cockpit_device_id=devices.AC_BUS,value_down=1.0,name='PO-750 Inverter #2',category='Power'}, -{combos={{key='I',reformers={'RCtrl'}}},down=device_commands.EmergencyInverter,cockpit_device_id=devices.AC_BUS,value_down=1.0,name='Emergency Inverter',category='Power'}, -{combos={{key='O',reformers={'RShift'}}},down=device_commands.BatteryHeat,cockpit_device_id=devices.DC_BUS,value_down=1.0,name='Battery Heat',category='Power'}, -{combos={{key='O',reformers={'RAlt'}}},down=device_commands.BatteryOn,cockpit_device_id=devices.DC_BUS,value_down=1.0,name='Battery',category='Power'}, -{combos={{key='K',reformers={'RShift'}}},down=device_commands.DCGenerator,cockpit_device_id=devices.DC_BUS,value_down=1.0,name='DC Generator',category='Power'}, -{combos={{key='K',reformers={'RAlt'}}},down=device_commands.ACGenerator,cockpit_device_id=devices.AC_BUS,value_down=1.0,name='AC Generator',category='Power'}, -{combos={{key='L',reformers={'RShift'}}},down=device_commands.Giro1,cockpit_device_id=devices.GYRO_DEVICES,value_down=1.0,name='Giro,NPP,SAU,RLS Signal,KPP Power',category='Power'}, -{combos={{key='L',reformers={'RAlt'}}},down=device_commands.Giro2,cockpit_device_id=devices.GYRO_DEVICES,value_down=1.0,name='DA-200 Signal,Giro,NPP,RLS,SAU Power',category='Power'}, - ---***************** Radar and Spo ********************************************************** - --- Radar -{combos={{key='4',reformers={'LAlt'}}},down=device_commands.RADARon,cockpit_device_id=devices.RADAR,value_down=0.5,name='Radar Standby',category='Radar and SPO'}, -{combos={{key='4',reformers={'LShift','LAlt'}}},down=device_commands.RADARon,cockpit_device_id=devices.RADAR,value_down=1,name='Radar On',category='Radar and SPO'}, -{combos={{key='4',reformers={'LShift','LCtrl'}}},down=device_commands.RADARon,cockpit_device_id=devices.RADAR,value_down=0,name='Radar Off',category='Radar and SPO'}, - -{combos={{key='5',reformers={'LAlt'}}},down=device_commands.RADARlowAlt,cockpit_device_id=devices.RADAR,value_down=0.5,name='Low Altitude Filter',category='Radar and SPO'}, -{combos={{key='5',reformers={'LShift','LAlt'}}},down=device_commands.RADARlowAlt,cockpit_device_id=devices.RADAR,value_down=1,name='Low Altitude Antenna Tilt',category='Radar and SPO'}, -{combos={{key='5',reformers={'LShift','LCtrl'}}},down=device_commands.RADARlowAlt,cockpit_device_id=devices.RADAR,value_down=0,name='Low Altitude Filter Off',category='Radar and SPO'}, - -{combos={{key='6',reformers={'LAlt'}}},down=device_commands.RADARfixBeam,cockpit_device_id=devices.RADAR,value_down=1,name='Locked Beam On',category='Radar and SPO'}, -{combos={{key='6',reformers={'LShift','LCtrl'}}},down=device_commands.RADARfixBeam,cockpit_device_id=devices.RADAR,value_down=0,name='Locked Beam Off',category='Radar and SPO'}, - -{combos={{key='O'}},pressed=device_commands.RUDoblog_kb_up,cockpit_device_id=devices.ASP,value_pressed=0.01,value_up=0.0,name='TDC Range / Pipper Span +',category='Radar and SPO'}, -{combos={{key='L'}},pressed=device_commands.RUDoblog_kb_down,cockpit_device_id=devices.ASP,value_pressed=0.01,value_up=0.0,name='TDC Range / Pipper Span -',category='Radar and SPO'}, - -{combos={{key='Enter'}},down=device_commands.Zahvat,up=device_commands.Zahvat,cockpit_device_id=devices.RADAR,value_down=1.0,value_up=0.0,name='Target Lock On',category='Radar and SPO'}, - -{combos={{key='Q',reformers={'LShift'}}},down=device_commands.RADARjamCont,up=device_commands.RADARjamCont,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - Continues',category='Radar and SPO'}, -{combos={{key='W',reformers={'LShift'}}},down=device_commands.RADARjamTmp,up=device_commands.RADARjamTmp,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - Temporary',category='Radar and SPO'}, -{combos={{key='E',reformers={'LShift'}}},down=device_commands.RADARjamPass,up=device_commands.RADARjamPass,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - Passive',category='Radar and SPO'}, -{combos={{key='R'}},down=device_commands.RADARjamMeteo,up=device_commands.RADARjamMeteo,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - Weather',category='Radar and SPO'}, -{combos={{key='A',reformers={'LShift'}}},down=device_commands.RADARvopros,up=device_commands.RADARvopros,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - IFF',category='Radar and SPO'}, -{combos={{key='S',reformers={'LShift'}}},down=device_commands.RADARjamLowSpeed,up=device_commands.RADARjamLowSpeed,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - Low Speed Target',category='Radar and SPO'}, -{combos={{key='D',reformers={'LShift'}}},down=device_commands.RADARkontrol,up=device_commands.RADARkontrol,cockpit_device_id=devices.RADAR,value_down=1,value_up=0,name='Radar ECM protection panel - Selftest',category='Radar and SPO'}, -{combos={{key='F',reformers={'LShift','LCtrl'}}},down=device_commands.RADARreset,up=device_commands.RADARreset,cockpit_device_id=devices.RADAR,value_down=1.0,value_up=0.0,name='Radar ECM protection panel - Reset',category='Radar and SPO'}, - --- SPO - RWR -{combos={{key='Z',reformers={'RShift'}}},down=device_commands.SPOon,cockpit_device_id=devices.SPO,value_down=1,name='SPO-10 RWR On/Off',category='Radar and SPO'}, -{combos={{key='Z',reformers={'LAlt'}}},down=device_commands.SPOdayNight,cockpit_device_id=devices.SPO,value_down=1,name='SPO-10 Day/Night lights',category='Radar and SPO'}, -{combos={{key='Z',reformers={'RCtrl'}}},down=device_commands.SPOtest,up=device_commands.SPOtest,cockpit_device_id=devices.SPO,value_down=1.0,value_up=0.0,name='SPO-10 Test',category='Radar and SPO'}, - ---***************************************** Radio ************************************************************* - -{combos={{key='\\'--[[,reformers={'RCtrl'}]]}},down=device_commands.RadioINTERCOM,up=device_commands.RadioINTERCOM,cockpit_device_id=devices.INTERCOM,value_down=1.0,value_up=0.0,name='Intercomm menu',category='Radio Communications'}, - -{combos={{key='Q',reformers={'LWin'}}},down=iCommandAWACSBanditBearing,name='Request AWACS Nearest Bandit',category='Radio Communications'}, -{combos={{key='W',reformers={'LWin'}}},down=iCommandPlaneDoAndBack,name='Flight - Complete mission and rejoin',category='Radio Communications'}, -{combos={{key='E',reformers={'LWin'}}},down=iCommandPlaneDoAndHome,name='Flight - Complete mission and RTB',category='Radio Communications'}, -{combos={{key='S',reformers={'LWin'}}},down=iCommandPlane_EngageAirDefenses,name='Flight - Attack air defenses',category='Radio Communications'}, -{combos={{key='D',reformers={'LWin'}}},down=iCommandPlane_EngageGroundTargets,name='Flight - Attack ground targets',category='Radio Communications'}, -{combos={{key='X',reformers={'LWin'}}},down=iCommandPlaneCoverMySix,name='Cover Me',category='Radio Communications'}, -{combos={{key='C',reformers={'LWin'}}},down=iCommandPlaneAttackMyTarget,name='Attack My Target',category='Radio Communications'}, -{combos={{key='R',reformers={'LWin'}}},down=iCommandPlaneFormation,name='Toggle Formation',category='Radio Communications'}, -{combos={{key='T',reformers={'LWin'}}},down=iCommandPlaneJoinUp,name='Join Up Formation',category='Radio Communications'}, -{combos={{key='A',reformers={'LWin'}}},down=iCommandAWACSHomeBearing,name='Request AWACS Home Airbase',category='Radio Communications'}, - ---******************************* Views ************************************************************************* ---Defaults - -{combos={{key=']',reformers={'LShift'}}},down=iCommandViewFastKeyboard,name='Keyboard Rate Fast',category='View'}, -{combos={{key=']',reformers={'LCtrl'}}},down=iCommandViewSlowKeyboard,name='Keyboard Rate Slow',category='View'}, -{combos={{key=']',reformers={'LAlt'}}},down=iCommandViewNormalKeyboard,name='Keyboard Rate Normal',category='View'}, -{combos={{key='[',reformers={'LShift'}}},down=iCommandViewFastMouse,name='Mouse Rate Fast',category='View'}, -{combos={{key='[',reformers={'LCtrl'}}},down=iCommandViewSlowMouse,name='Mouse Rate Slow',category='View'}, -{combos={{key='[',reformers={'LAlt'}}},down=iCommandViewNormalMouse,name='Mouse Rate Normal',category='View'}, - --- Save current cockpit camera angles for fast numpad jumps -{combos={{key='Num0',reformers={'RAlt'}}},down=iCommandViewSaveAngles,name='Save Cockpit Angles',category='View'}, -{combos={{key='Num8',reformers={'RShift'}}},pressed=iCommandViewUp,up=iCommandViewStop,name='View up',category='View'}, -{combos={{key='Num2',reformers={'RShift'}}},pressed=iCommandViewDown,up=iCommandViewStop,name='View down',category='View'}, -{combos={{key='Num4',reformers={'RShift'}}},pressed=iCommandViewLeft,up=iCommandViewStop,name='View left',category='View'}, -{combos={{key='Num6',reformers={'RShift'}}},pressed=iCommandViewRight,up=iCommandViewStop,name='View right',category='View'}, -{combos={{key='Num9',reformers={'RShift'}}},pressed=iCommandViewUpRight,up=iCommandViewStop,name='View up right',category='View'}, -{combos={{key='Num3',reformers={'RShift'}}},pressed=iCommandViewDownRight,up=iCommandViewStop,name='View down right',category='View'}, -{combos={{key='Num1',reformers={'RShift'}}},pressed=iCommandViewDownLeft,up=iCommandViewStop,name='View down left',category='View'}, -{combos={{key='Num7',reformers={'RShift'}}},pressed=iCommandViewUpLeft,up=iCommandViewStop,name='View up left',category='View'}, - --- View -{combos = {{key = 'JOY_BTN_POV1_L'}}, pressed = iCommandViewLeftSlow, up = iCommandViewStopSlow, name = 'View Left slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_R'}}, pressed = iCommandViewRightSlow, up = iCommandViewStopSlow, name = 'View Right slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_U'}}, pressed = iCommandViewUpSlow, up = iCommandViewStopSlow, name = 'View Up slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_D'}}, pressed = iCommandViewDownSlow, up = iCommandViewStopSlow, name = 'View Down slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_UR'}}, pressed = iCommandViewUpRightSlow, up = iCommandViewStopSlow, name = 'View Up Right slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_DR'}}, pressed = iCommandViewDownRightSlow, up = iCommandViewStopSlow, name = 'View Down Right slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_DL'}}, pressed = iCommandViewDownLeftSlow, up = iCommandViewStopSlow, name = 'View Down Left slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN_POV1_UL'}}, pressed = iCommandViewUpLeftSlow, up = iCommandViewStopSlow, name = 'View Up Left slow', category = 'Views'}, -{combos = {{key = 'JOY_BTN3'}}, pressed = iCommandViewCenter, name = 'View Center', category = 'View'}, - --- F views -{combos={{key='F1'}},down=iCommandViewCockpit,name='F1 Cockpit view',category='View'}, -{combos={{key='F1',reformers={'LCtrl'}}},down=iCommandNaturalViewCockpitIn,name='F1 Natural head movement view',category='View'}, -{combos={{key='F1',reformers={'LAlt'}}},down=iCommandViewHUDOnlyOnOff,name='F1 HUD only view switch',category='View'}, -{combos={{key='F2'}},down=iCommandViewAir,name='F2 Aircraft view',category='View'}, -{combos={{key='F2',reformers={'LCtrl'}}},down=iCommandViewMe,name='F2 View own aircraft',category='View'}, -{combos={{key='F2',reformers={'RAlt'}}},down=iCommandViewFromTo,name='F2 Toggle camera position',category='View'}, -{combos={{key='F2',reformers={'LAlt'}}},down=iCommandViewLocal,name='F2 Toggle local camera control',category='View'}, -{combos={{key='F3'}},down=iCommandViewTower,name='F3 Fly-By view',category='View'}, -{combos={{key='F3',reformers={'LCtrl'}}},down=iCommandViewTowerJump,name='F3 Fly-By jump view',category='View'}, -{combos={{key='F4'}},down=iCommandViewRear,name='F4 Look back view',category='View'}, -{combos={{key='F4',reformers={'LCtrl'}}},down=iCommandViewChase,name='F4 Chase view',category='View'}, -{combos={{key='F5'}},down=iCommandViewFight,name='F5 nearest AC view',category='View'}, -{combos={{key='F5',reformers={'LCtrl'}}},down=iCommandViewFightGround,name='F5 Ground hostile view',category='View'}, -{combos={{key='F6'}},down=iCommandViewWeapons,name='F6 Released weapon view',category='View'}, -{combos={{key='F6',reformers={'LCtrl'}}},down=iCommandViewWeaponAndTarget,name='F6 Weapon to target view',category='View'}, -{combos={{key='F7'}},down=iCommandViewGround,name='F7 Ground unit view',category='View'}, -{combos={{key='F8'}},down=iCommandViewTargets,name='F8 Target view',category='View'}, -{combos={{key='F8',reformers={'RCtrl'}}},down=iCommandViewTargetType,name='F8 Player targets/All targets filter',category='View'}, -{combos={{key='F9'}},down=iCommandViewNavy,name='F9 Ship view',category='View'}, -{combos={{key='F9',reformers={'LAlt'}}},down=iCommandViewLndgOfficer,name='F9 Landing signal officer view',category='View'}, -{combos={{key='F10'}},down=iCommandViewAWACS,name='F10 Theater map view',category='View'}, -{combos={{key='F10',reformers={'LCtrl'}}},down=iCommandViewAWACSJump,name='F10 Jump to theater map view over current point',category='View'}, -{combos={{key='F11'}},down=iCommandViewFree,name='F11 Airport free camera',category='View'}, -{combos={{key='F11',reformers={'LCtrl'}}},down=iCommandViewFreeJump,name='F11 Jump to free camera',category='View'}, -{combos={{key='F12'}},down=iCommandViewStatic,name='F12 Static object view',category='View'}, -{combos={{key='F12',reformers={'LCtrl'}}},down=iCommandViewMirage,name='F12 Civil traffic view',category='View'}, -{combos={{key='F12',reformers={'LShift'}}},down=iCommandViewLocomotivesToggle,name='F12 Trains/cars toggle',category='View'}, -{combos={{key='F1',reformers={'LCtrl','LShift'}}},down=iCommandViewPitHeadOnOff,name='F1 Head shift movement on / off',category='View'}, - -{combos={{key='Num*'}},pressed=iCommandViewForwardSlow,up=iCommandViewForwardSlowStop,name='Zoom in slow',category='View'}, -{combos={{key='Num/'}},pressed=iCommandViewBackSlow,up=iCommandViewBackSlowStop,name='Zoom out slow',category='View'}, -{combos={{key='NumEnter'}},down=iCommandViewAngleDefault,name='Zoom normal',category='View'}, -{combos={{key='Num*',reformers={'RCtrl'}}},pressed=iCommandViewExternalZoomIn,up=iCommandViewExternalZoomInStop,name='Zoom external in',category='View'}, -{combos={{key='Num/',reformers={'RCtrl'}}},pressed=iCommandViewExternalZoomOut,up=iCommandViewExternalZoomOutStop,name='Zoom external out',category='View'}, -{combos={{key='NumEnter',reformers={'RCtrl'}}},down=iCommandViewExternalZoomDefault,name='Zoom external normal',category='View'}, -{combos={{key='Num*',reformers={'LAlt'}}},down=iCommandViewSpeedUp,name='F11 Camera moving forward',category='View'}, -{combos={{key='Num/',reformers={'LAlt'}}},down=iCommandViewSlowDown,name='F11 Camera moving backward',category='View'}, - --- Cockpit view -{combos={{key='Num0'}},down=iCommandViewTempCockpitOn,up=iCommandViewTempCockpitOff,name='Cockpit panel view in',category='View'}, -{combos={{key='Num0',reformers={'RCtrl'}}},down=iCommandViewTempCockpitToggle,name='Cockpit panel view toggle',category='View'}, - --- Cockpit Camera Motion -{combos={{key='Num8',reformers={'RCtrl','RShift'}}},pressed=iCommandViewPitCameraMoveUp,up=iCommandViewPitCameraMoveStop,name='Cockpit Camera Move Up',category='View'}, -{combos={{key='Num2',reformers={'RCtrl','RShift'}}},pressed=iCommandViewPitCameraMoveDown,up=iCommandViewPitCameraMoveStop,name='Cockpit Camera Move Down',category='View'}, -{combos={{key='Num4',reformers={'RCtrl','RShift'}}},pressed=iCommandViewPitCameraMoveLeft,up=iCommandViewPitCameraMoveStop,name='Cockpit Camera Move Left',category='View'}, -{combos={{key='Num6',reformers={'RCtrl','RShift'}}},pressed=iCommandViewPitCameraMoveRight,up=iCommandViewPitCameraMoveStop,name='Cockpit Camera Move Right',category='View'}, -{combos={{key='Num*',reformers={'RCtrl','RShift'}}},pressed=iCommandViewPitCameraMoveForward,up=iCommandViewPitCameraMoveStop,name='Cockpit Camera Move Forward',category='View'}, -{combos={{key='Num/',reformers={'RCtrl','RShift'}}},pressed=iCommandViewPitCameraMoveBack,up=iCommandViewPitCameraMoveStop,name='Cockpit Camera Move Back',category='View'}, -{combos={{key='Num5',reformers={'RCtrl','RShift'}}},down=iCommandViewPitCameraMoveCenter,name='Cockpit Camera Move Center',category='View'}, - -{combos={{key='Num8',reformers={'RCtrl'}}},down=iCommandViewCameraUp,up=iCommandViewCameraCenter,name='Glance up',category='View'}, -{combos={{key='Num2',reformers={'RCtrl'}}},down=iCommandViewCameraDown,up=iCommandViewCameraCenter,name='Glance down',category='View'}, -{combos={{key='Num4',reformers={'RCtrl'}}},down=iCommandViewCameraLeft,up=iCommandViewCameraCenter,name='Glance left',category='View'}, -{combos={{key='Num6',reformers={'RCtrl'}}},down=iCommandViewCameraRight,up=iCommandViewCameraCenter,name='Glance right',category='View'}, -{combos={{key='Num7',reformers={'RCtrl'}}},down=iCommandViewCameraUpLeft,up=iCommandViewCameraCenter,name='Glance up-left',category='View'}, -{combos={{key='Num1',reformers={'RCtrl'}}},down=iCommandViewCameraDownLeft,up=iCommandViewCameraCenter,name='Glance down-left',category='View'}, -{combos={{key='Num9',reformers={'RCtrl'}}},down=iCommandViewCameraUpRight,up=iCommandViewCameraCenter,name='Glance up-right',category='View'}, -{combos={{key='Num3',reformers={'RCtrl'}}},down=iCommandViewCameraDownRight,up=iCommandViewCameraCenter,name='Glance down-right',category='View'}, -{combos={{key='Z',reformers={'LAlt','LShift'}}},down=iCommandViewPanToggle,name='Camera pan mode toggle',category='View'}, - -{combos={{key='Num8',reformers={'RAlt'}}},down=iCommandViewCameraUpSlow,name='Camera snap view up',category='View'}, -{combos={{key='Num2',reformers={'RAlt'}}},down=iCommandViewCameraDownSlow,name='Camera snap view down',category='View'}, -{combos={{key='Num4',reformers={'RAlt'}}},down=iCommandViewCameraLeftSlow,name='Camera snap view left',category='View'}, -{combos={{key='Num6',reformers={'RAlt'}}},down=iCommandViewCameraRightSlow,name='Camera snap view right',category='View'}, -{combos={{key='Num7',reformers={'RAlt'}}},down=iCommandViewCameraUpLeftSlow,name='Camera snap view up-left',category='View'}, -{combos={{key='Num1',reformers={'RAlt'}}},down=iCommandViewCameraDownLeftSlow,name='Camera snap view down-left',category='View'}, -{combos={{key='Num9',reformers={'RAlt'}}},down=iCommandViewCameraUpRightSlow,name='Camera snap view up-right',category='View'}, -{combos={{key='Num3',reformers={'RAlt'}}},down=iCommandViewCameraDownRightSlow,name='Camera snap view down-right',category='View'}, -{combos={{key='Num5',reformers={'RShift'}}},down=iCommandViewCameraCenter,name='Center Camera View',category='View'}, -{combos={{key='Num5',reformers={'RCtrl'}}},down=iCommandViewCameraReturn,name='Return Camera',category='View'}, -{combos={{key='Num5',reformers={'RAlt'}}},down=iCommandViewCameraBaseReturn,name='Return Camera Base',category='View'}, - -{combos={{key='Num0',reformers={'LWin'}}},down=iCommandViewSnapView0,up=iCommandViewSnapViewStop,name='Custom Snap View 0',category='View'}, -{combos={{key='Num1',reformers={'LWin'}}},down=iCommandViewSnapView1,up=iCommandViewSnapViewStop,name='Custom Snap View 1',category='View'}, -{combos={{key='Num2',reformers={'LWin'}}},down=iCommandViewSnapView2,up=iCommandViewSnapViewStop,name='Custom Snap View 2',category='View'}, -{combos={{key='Num3',reformers={'LWin'}}},down=iCommandViewSnapView3,up=iCommandViewSnapViewStop,name='Custom Snap View 3',category='View'}, -{combos={{key='Num4',reformers={'LWin'}}},down=iCommandViewSnapView4,up=iCommandViewSnapViewStop,name='Custom Snap View 4',category='View'}, -{combos={{key='Num5',reformers={'LWin'}}},down=iCommandViewSnapView5,up=iCommandViewSnapViewStop,name='Custom Snap View 5',category='View'}, -{combos={{key='Num6',reformers={'LWin'}}},down=iCommandViewSnapView6,up=iCommandViewSnapViewStop,name='Custom Snap View 6',category='View'}, -{combos={{key='Num7',reformers={'LWin'}}},down=iCommandViewSnapView7,up=iCommandViewSnapViewStop,name='Custom Snap View 7',category='View'}, -{combos={{key='Num8',reformers={'LWin'}}},down=iCommandViewSnapView8,up=iCommandViewSnapViewStop,name='Custom Snap View 8',category='View'}, -{combos={{key='Num9',reformers={'LWin'}}},down=iCommandViewSnapView9,up=iCommandViewSnapViewStop,name='Custom Snap View 9',category='View'}, - -{combos={{key='Num8',reformers={'RWin'}}},down=iCommandViewLeftMirrorOn,up=iCommandViewLeftMirrorOff,name='Mirror View',category='View'}, - -{combos={{key='Num*',reformers={'RShift'}}},pressed=iCommandViewForward,up=iCommandViewForwardStop,name='Zoom in',category='View'}, -{combos={{key='Num/',reformers={'RShift'}}},pressed=iCommandViewBack,up=iCommandViewBackStop,name='Zoom out',category='View'}, - - --- Extended view -{combos={{key='J',reformers={'LShift'}}},down=iCommandViewCameraJiggle,name='Camera jiggle toggle',category='View'}, -{combos={{key='K',reformers={'LAlt'}}},down=iCommandViewKeepTerrain,name='Keep terrain camera altitude',category='View'}, -{combos={{key='Home',reformers={'RCtrl','RShift'}}},down=iCommandViewFriends,name='View friends mode',category='View'}, -{combos={{key='End',reformers={'RCtrl','RShift'}}},down=iCommandViewEnemies,name='View enemies mode',category='View'}, -{combos={{key='Delete',reformers={'RCtrl'}}},down=iCommandViewAll,name='View all mode',category='View'}, -{combos={{key='Num+',reformers={'RCtrl'}}},down=iCommandViewPlus,name='Toggle tracking fire weapon',category='View'}, -{combos={{key='PageDown',reformers={'LCtrl'}}},down=iCommandViewSwitchForward,name='Objects switching direction forward ',category='View'}, -{combos={{key='PageUp',reformers={'LCtrl'}}},down=iCommandViewSwitchReverse,name='Objects switching direction reverse ',category='View'}, -{combos={{key='Delete',reformers={'LAlt'}}},down=iCommandViewObjectIgnore,name='Object exclude ',category='View'}, -{combos={{key='Insert',reformers={'LAlt'}}},down=iCommandViewObjectsAll,name='Objects all excluded - include',category='View'}, - --- Padlock -{combos={{key='Num.'}},down=iCommandViewLock,name='Lock View (cycle padlock)',category='View'}, -{combos={{key='NumLock'}},down=iCommandViewUnlock,name='Unlock view (stop padlock)',category='View'}, -{combos={{key='Num.',reformers={'RShift'}}},down=iCommandAllMissilePadlock,name='All missiles padlock',category='View'}, -{combos={{key='Num.',reformers={'RAlt'}}},down=iCommandThreatMissilePadlock,name='Threat missile padlock',category='View'}, -{combos={{key='Num.',reformers={'RCtrl'}}},down=iCommandViewTerrainLock,name='Lock terrain view',category='View'}, - ---**************************** Weapons management /// several sub cats ********************************************************** - ---***************************** Weapons management / ASP ********************************************************* - --- ASP Gunsight -{combos={{key='1',reformers={'LShift'}}},down=device_commands.ASPmissileGunSelect,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Mode - Gun/Missiles-Rockets',category='Weapons / ASP'}, -{down=device_commands.ASPmissileGunSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Mode - Gun',category='Weapons / ASP'}, -{down=device_commands.ASPmissileGunSelect_2pos,cockpit_device_id=devices.ASP,value_down=0.0,name='ASP Mode - Missiles-Rockets',category='Weapons / ASP'}, -{combos={{key='2',reformers={'LShift'}}},down=device_commands.ASPbombStrelbSelect,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Mode - Shooting/Bombardment',category='Weapons / ASP'}, -{down=device_commands.ASPbombStrelbSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Mode - Shooting',category='Weapons / ASP'}, -{down=device_commands.ASPbombStrelbSelect_2pos,cockpit_device_id=devices.ASP,value_down=0.0,name='ASP Mode - Bombardment',category='Weapons / ASP'}, -{combos={{key='3',reformers={'LShift'}}},down=device_commands.ASPmanAutoSelect,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Main Mode - Auto/Manual',category='Weapons / ASP'}, -{down=device_commands.ASPmanAutoSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Main Mode - Auto',category='Weapons / ASP'}, -{down=device_commands.ASPmanAutoSelect_2pos,cockpit_device_id=devices.ASP,value_down=0.0,name='ASP Main Mode - Manual',category='Weapons / ASP'}, -{combos={{key='4',reformers={'LShift'}}},down=device_commands.ASPssGiroSelect,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Mode - Giro/Missiles',category='Weapons / ASP'}, -{down=device_commands.ASPssGiroSelect_2pos,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP Mode - Giro',category='Weapons / ASP'}, -{down=device_commands.ASPssGiroSelect_2pos,cockpit_device_id=devices.ASP,value_down=0.0,name='ASP Mode - Missiles',category='Weapons / ASP'}, -{combos={{key='V',reformers={'RShift'}}},down=device_commands.ASPon,cockpit_device_id=devices.ASP,value_down=1.0,name='ASP-17 Gunsight On/Off',category='Weapons / ASP'}, -{combos={{key='C',reformers={'RShift'}}},down=device_commands.ASPpipperOn,cockpit_device_id=devices.ASP,value_down=1.0,name='Pipper On/Off',category='Weapons / ASP'}, -{combos={{key='X',reformers={'RShift'}}},down=device_commands.ASPnetOn,cockpit_device_id=devices.ASP,value_down=1.0,name='Fix net On/Off',category='Weapons / ASP'}, - ---***************************** Weapons management / SELECTOR ********************************************************* - --- Weapon selector -{combos={{key='1'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.7,name='Select Weapon AA 1',category='Weapons / Select'}, -{combos={{key='2'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.8,name='Select Weapon AA 2',category='Weapons / Select'}, -{combos={{key='3'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.9,name='Select Weapon AA 3',category='Weapons / Select'}, -{combos={{key='4'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Select Weapon AA 4',category='Weapons / Select'}, -{combos={{key='5'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Select Weapon B 1-2 / UB-16',category='Weapons / Select'}, -{combos={{key='6'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.1,name='Select Weapon B 3-4 / UB-8',category='Weapons / Select'}, -{combos={{key='7'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.2,name='Select Weapon B 1-4 / UB-4',category='Weapons / Select'}, - -{combos={{key='8'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.3,name='Select Weapon S-24 1-2',category='Weapons / Select'}, -{combos={{key='9'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.4,name='Select Weapon S-24 3-4',category='Weapons / Select'}, - -{combos={{key='0'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.5,name='Select Weapon AA 3-4',category='Weapons / Select'}, -{combos={{key='-'}},down=device_commands.ASPlauncherSelect,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.6,name='Select Weapon AA 1-2',category='Weapons / Select'}, - ---/N/ 05.02.2016. 2-way circular toggle weapon selector -{down=iCommandHelicopter_SelectWeapon_Internal,cockpit_device_id=devices.WEAPON_CONTROL,name='Select next weapon',category='Weapons / Select'}, -{down=iCommandHelicopter_SelectWeapon_External,cockpit_device_id=devices.WEAPON_CONTROL,name='Select previous weapon',category='Weapons / Select'}, - ---***************************** Weapons management / Masters ********************************************************* - ---Master modes -{combos={{key='1',reformers={'LWin'}}},down=device_commands.ASPvozduhZemlja,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Master Mode - Air',category='Weapons / Master control'}, -{combos={{key='2',reformers={'LWin'}}},down=device_commands.ASPvozduhZemlja,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Master Mode - Ground',category='Weapons / Master control'}, -{combos={{key='3',reformers={'LWin'}}},down=device_commands.ASPssNeutrRns,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Weapon AA Mode - SAR Missile',category='Weapons / Master control'}, -{combos={{key='4',reformers={'LWin'}}},down=device_commands.ASPssNeutrRns,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Weapon AA Mode - IR Missile',category='Weapons / Master control'}, -{combos={{key='4',reformers={'LWin','LAlt'}}},down=device_commands.ASPssNeutrRns,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.5,name='Weapon Mode - Neutral',category='Weapons / Master control'}, - --- Weapon drop *cover -{combos={{key='Insert',reformers={'RShift'}}},down=device_commands.SbrosVnesnSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Jettison Outer Pylons - Safety Cover Open',category='Weapons / Master control'}, -{combos={{key='Insert',reformers={'RShift','RCtrl'}}},down=device_commands.SbrosVnesnSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Jettison Outer Pylons - Safety Cover Close',category='Weapons / Master control'}, -{combos={{key='Insert',reformers={'RAlt'}}},down=device_commands.SbrosVnesn,up=device_commands.SbrosVnesn,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Jettison Outer Pylons',category='Weapons / Master control'}, -{combos={{key='Delete',reformers={'RShift'}}},down=device_commands.SbrosVnutrSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Jettison Inner Pylons - Safety Cover Open',category='Weapons / Master control'}, -{combos={{key='Delete',reformers={'RShift','RCtrl'}}},down=device_commands.SbrosVnutrSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Jettison Payload Inner Pylons - Safety Cover Close',category='Weapons / Master control'}, -{combos={{key='Delete',reformers={'RAlt'}}},down=device_commands.SbrosVnutr,up=device_commands.SbrosVnutr,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Jettison Inner Pylons',category='Weapons / Master control'}, - ---***************************** Weapons management ********************************************************* - --- Weapon -{combos={{key='1',reformers={'LAlt'}}},down=device_commands.ASPgunReload1,up=device_commands.ASPgunReload1,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Gun reload - 1',category='Weapons'}, -{combos={{key='2',reformers={'LAlt'}}},down=device_commands.ASPgunReload2,up=device_commands.ASPgunReload2,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Gun reload - 2',category='Weapons'}, -{combos={{key='3',reformers={'LAlt'}}},down=device_commands.ASPgunReload3,up=device_commands.ASPgunReload3,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Gun reload - 3',category='Weapons'}, - -{combos={{key='JOY_BTN1'}},down=device_commands.GunFireBtn,up=device_commands.GunFireBtn,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Fire Gun',category='Weapons'}, -{combos={{key='JOY_BTN_2'}},down=device_commands.PuskBtn,up=device_commands.PuskBtn,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Weapon Release',category='Weapons'}, - -{combos={{key='=',reformers={'RShift'}}},down=device_commands.PuskBtnSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Weapon Release Cover Open',category='Weapons'}, -{combos={{key='=',reformers={'RShift','RCtrl'}}},down=device_commands.PuskBtnSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Weapon Release Cover Close',category='Weapons'}, - -{combos={{key='=',reformers={'RAlt'}}},down=device_commands.TaktSbrosSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Tactical Drop Safety Cover Open',category='Weapons'}, -{combos={{key='=',reformers={'RAlt','RCtrl'}}},down=device_commands.TaktSbrosSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Tactical Drop Safety Cover Close',category='Weapons'}, -{combos={{key='=',reformers={'RCtrl'}}},down=device_commands.TaktSbros,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Tactical Drop On',category='Weapons'}, -{combos={{key='=',reformers={'RAlt','RShift'}}},down=device_commands.TaktSbros,cockpit_device_id=devices.WEAPON_CONTROL,value_down=0.0,name='Tactical Drop Off',category='Weapons'}, - - -{combos={{key='B',reformers={'RShift'}}},down=device_commands.Obogrev,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Missiles Heat On/Off',category='Weapons'}, -{combos={{key='N',reformers={'RShift'}}},down=device_commands.Pusk,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Missiles - Rockets Launch On/Off',category='Weapons'}, -{combos={{key='M',reformers={'RShift'}}},down=device_commands.Pitanie12,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Pylon 1-2 Power On/Off',category='Weapons'}, -{combos={{key=',',reformers={'RShift'}}},down=device_commands.Pitanie34,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Pylon 3-4 Power On/Off',category='Weapons'}, -{combos={{key='.',reformers={'RShift'}}},down=device_commands.GS23,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='GS-23 Gun On/Off',category='Weapons'}, -{combos={{key='/',reformers={'RShift'}}},down=device_commands.FKP,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Guncam On/Off',category='Weapons'}, -{combos={{key='N',reformers={'RAlt'}}},down=device_commands.AvarPuskSafetyCover,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,name='Emergency Missile/Rocket Launcher Cover Open/Close',category='Weapons'}, -{combos={{key='N',reformers={'RCtrl'}}},down=device_commands.AvarPusk,up=device_commands.AvarPusk,cockpit_device_id=devices.WEAPON_CONTROL,value_down=1.0,value_up=0.0,name='Emergency Missile/Rocket Launch',category='Weapons'}, - -{down = iCommandPlaneDropFlareOnce, up = iCommandPlaneDropChaffOnce, name='Drop Countermeasures (ASO and SPS-141)',category='SPRD or ASO Chaff/Flares'}, - ---/N/ 21.02.2016. -{pressed = device_commands.AltimeterPressure_increase, cockpit_device_id=devices.ALTIMETER, value_pressed= 0.01, value_up=0.0, name='Altimeter pressure +',category='Avionics'}, -{pressed = device_commands.AltimeterPressure_decrease, cockpit_device_id=devices.ALTIMETER, value_pressed= -0.01, value_up=0.0, name='Altimeter pressure -',category='Avionics'}, - ---/N/ 24.02.2016. -{pressed=device_commands.RSBNnav_kb,cockpit_device_id=devices.RSBN,value_pressed=0.01,name='RSBN nav chnl +',category='Avionics'}, -{pressed=device_commands.RSBNnav_kb,cockpit_device_id=devices.RSBN,value_pressed=-0.01,name='RSBN nav chnl -',category='Avionics'}, -{pressed=device_commands.RSBNland_kb,cockpit_device_id=devices.RSBN,value_pressed=0.01,name='RSBN land chnl +',category='Avionics'}, -{pressed=device_commands.RSBNland_kb,cockpit_device_id=devices.RSBN,value_pressed=-0.01,name='RSBN land chnl -',category='Avionics'}, - - -{pressed=device_commands.NPPsetCourse_kb,cockpit_device_id=devices.KSI, value_pressed= 0.005, value_up=0.0, action=device_commands.NPPsetCourse,name='NPP Course set +',category='Avionics'}, -{pressed=device_commands.NPPsetCourse_kb,cockpit_device_id=devices.KSI, value_pressed= -0.005, value_up=0.0, action=device_commands.NPPsetCourse,name='NPP Course set -',category='Avionics'}, - ---/N/ since 09.03.2016. -{down=device_commands.RadioOn,cockpit_device_id=devices.RADIO,value_down=1.0,name='Radio on',category='Radio Communications'}, -{down=device_commands.RadioOn,cockpit_device_id=devices.RADIO,value_down=0.0,name='Radio off',category='Radio Communications'}, - --- Radio -{pressed=device_commands.RadioVolume_kb,cockpit_device_id=devices.RADIO,value_pressed=0.01,name='Radio Volume +',category='Radio Communications'}, - -{pressed=device_commands.RadioVolume_kb,cockpit_device_id=devices.RADIO,value_pressed=-0.01,name='Radio Volume -',category='Radio Communications'}, - -{down=device_commands.RadioChannel_kb,cockpit_device_id=devices.RADIO,value_down=0.05,name='Radio channel +',category='Radio Communications'}, - -{down=device_commands.RadioChannel_kb,cockpit_device_id=devices.RADIO,value_down=-0.05,name='Radio channel -',category='Radio Communications'}, - -{down=device_commands.RadioOn_kb,cockpit_device_id=devices.RADIO,value_down=1.0,name='Radio on/off',category='Radio Communications'}, - - - -}, - - --- joystick axes -axisCommands={ - -{combos={{key='JOY_X'}},action=iCommandPlaneRoll,name='Roll'}, -{combos={{key='JOY_Y'}},action=iCommandPlanePitch,name='Pitch'}, -{combos={{key='JOY_RZ'}},action=iCommandPlaneRudder,name='Rudder'}, ---{combos={{key='JOY_SLIDER1'}},action=iCommandPlaneThrustCommon,name='Thrust'}, -{action=iCommandPlaneThrustCommon,name='Thrust'}, -{combos={{key='JOY_Z'}},action=iCommandPlaneThrustCommon,name='Thrust'}, - - -{combos={{key='JOY_SLIDER2'}},action=iCommandPlaneAirBrake,name='Wheel Brakes Lever'}, - -{action=iCommandViewHorizontalAbs,name='Horizontal View'}, -{action=iCommandViewVerticalAbs,name='Vertical View'}, -{action=iCommandViewZoomAbs,name='Zoom View'}, -{action=iCommandViewRollAbs,name='Cockpit camera roll'}, -{action=iCommandViewHorTransAbs,name='Cockpit camera move lateral'}, -{action=iCommandViewVertTransAbs,name='Cockpit camera move vertical'}, -{action=iCommandViewLongitudeTransAbs,name='Cockpit camera move forward/backward'}, - - ---/N/ 20. sept 2014 ********************************* Kuky's axes ***************************************************** --- ASP + weapons ************* -{cockpit_device_id=devices.ASP,action=device_commands.ASPtargetSize,name='Target Size'}, -{cockpit_device_id=devices.ASP,action=device_commands.ASPinterceptAngle,name='Intercept Angle'}, - -{cockpit_device_id=devices.ASP,action=device_commands.ASPscaleLight,name='Scale Backlights control'}, -{cockpit_device_id=devices.ASP,action=device_commands.ASPpipperLight,name='Pipper light control'}, -{cockpit_device_id=devices.ASP,action=device_commands.ASPnetLight,name='Fix Net light control'}, - -{cockpit_device_id=devices.ASP,action=device_commands.RUDoblog_axis,name='TDC Range / Pipper Span control'}, - -{cockpit_device_id=devices.SPO,action=device_commands.SPOvolume,name='SPO-10 Volume'}, -{cockpit_device_id=devices.WEAPON_CONTROL,action=device_commands.MissileSound,name='Missile Seeker Sound'}, - --- NAV related ************** -{cockpit_device_id=devices.KSI,action=device_commands.NPPsetCourse,name='NPP Course set'}, -{cockpit_device_id=devices.ARK,action=device_commands.ARKsound,name='ARK Sound'}, -{cockpit_device_id=devices.RSBN,action=device_commands.RSBNsound,name='RSBN Sound'}, -{cockpit_device_id=devices.RADIO,action=device_commands.RadioVolume,name='Radio Volume'}, -{cockpit_device_id=devices.ALTIMETER,action=device_commands.AltimeterPressure,name='Altimeter pressure'}, - - --- LIGHTS ***************** -{cockpit_device_id=devices.LIGHTS,action=device_commands.TextBacklight_axis,name='Cockpit Texts Back-light'}, -{cockpit_device_id=devices.LIGHTS,action=device_commands.InstrumentsBacklight_axis,name='Instruments Back-light'}, -{cockpit_device_id=devices.LIGHTS,action=device_commands.RedLightsMain_axis,name='Main Red Lights'}, -{cockpit_device_id=devices.LIGHTS,action=device_commands.WhiteLightsMain_axis,name='Main White Lights'}, - - - -}, - -} \ No newline at end of file diff --git a/Mods/aircraft/SA342/Input/joystick/default-old.lua b/Mods/aircraft/SA342/Input/joystick/default-old.lua deleted file mode 100644 index 4fbf799..0000000 --- a/Mods/aircraft/SA342/Input/joystick/default-old.lua +++ /dev/null @@ -1,692 +0,0 @@ -dofile("Mods/aircraft/SA342/Cockpit/devices.lua") -dofile("Mods/aircraft/SA342/Cockpit/command_defs.lua") - -return { - -forceFeedback = { - trimmer = 1.0, - shake = 0.5, - swapAxes = false, - invertX = false, - invertY = false, - }, - -keyCommands = { - ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ --- fvh: begin additional buttons -{down = device_commands.Button_24, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Pitot On/Off Toggle'), category = _('_My Buttons')}, -{down = device_commands.Button_41, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Auxiliary Fuel Tank On/Off Toggle'), category = _('_My Buttons')}, -{down = device_commands.Button_16, up = device_commands.Button_16, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0, name = _('Convoy Tank On/Off'), category = _('_My Buttons')}, -{down = device_commands.Button_17, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('Sand Filter On/Off (Toggle)'), category = _('_My Buttons')}, - -{down = device_commands.Button_23, up = device_commands.Button_23, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('Magnetic Brake On/Off'), category = _('_My Buttons')}, -{down = device_commands.Button_22, up = device_commands.Button_22, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('Trim On/Off'), category = _('_My Buttons')}, - -{down = device_commands.Button_49, cockpit_device_id = devices.ELECTRIC, value_down = 1,name = _('Starter On'), category = _('_My Buttons')}, -{down = device_commands.Button_50, cockpit_device_id = devices.ELECTRIC, value_down = 0,name = _('Starter Off'), category = _('_My Buttons')}, -{down = device_commands.Button_51, cockpit_device_id = devices.ELECTRIC, value_down =-1,name = _('Starter Vent.'), category = _('_My Buttons')}, - --- autopilot -{down = device_commands.Button_10, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Yaw On'), category = _('_My Buttons')}, -{down = device_commands.Button_10, cockpit_device_id = devices.AUTOPILOT, value_down = 0, name = _('SA342 Yaw Off'), category = _('_My Buttons')}, -{down = device_commands.Button_11, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Roll On'), category = _('_My Buttons')}, -{down = device_commands.Button_11, cockpit_device_id = devices.AUTOPILOT, value_down = 0, name = _('SA342 Roll Off'), category = _('_My Buttons')}, -{down = device_commands.Button_13, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Pitch On'), category = _('_My Buttons')}, -{down = device_commands.Button_13, cockpit_device_id = devices.AUTOPILOT, value_down = 0, name = _('SA342 Pitch Off'), category = _('_My Buttons')}, -{down = device_commands.Button_26, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Master On/Off (toggle)'), category = _('_My Buttons')}, - -{down = device_commands.Button_10, up = device_commands.Button_10, cockpit_device_id = devices.WEAPONS, value_down = 1, value_up = 0, name = _('SA342 Left Arm On/Off'), category = _('_My Buttons')}, -{down = device_commands.Button_12, up = device_commands.Button_12, cockpit_device_id = devices.WEAPONS, value_down = 1, value_up = 0, name = _('SA342 Right Arm On/Off'), category = _('_My Buttons')}, - -{down = device_commands.Button_8, up = device_commands.Button_8,cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Panels Lighting On/Off (alternative)'), category = _('_My Buttons')}, - --- flight controls -{action = device_commands.Button_10, cockpit_device_id = devices.FLIGHT_CONTROLS, name = _('Main Horizontal Attitude Set')}, - --- flare -{down = device_commands.Button_2, up = device_commands.Button_2,cockpit_device_id = devices.FD, value_down = 0, value_up = 1,name = _('Flare Dispense Mode CC/SEQ'), category = _('_My Buttons')}, -{down = device_commands.Button_3, up = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = 1, value_up = 0,name = _('Flare Power/Speed Le/Ve'), category = _('_My Buttons')}, -{down = device_commands.Button_3, up = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = -1, value_up = 0,name = _('Flare Power/Speed Arret/Ve'), category = _('_My Buttons')}, -{down = device_commands.Button_1, up = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = 1, value_up = 0,name = _('Flare Side Mode G/G+D'), category = _('_My Buttons')}, -{down = device_commands.Button_1, up = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = -1, value_up = 0,name = _('Flare Side Mode D/G+D'), category = _('_My Buttons')}, - --- ADF -{down = device_commands.Button_12, cockpit_device_id = devices.ADF, value_down = 1, name = _('ADF Select Right'), category = _('_My Buttons')}, -{down = device_commands.Button_12, cockpit_device_id = devices.ADF, value_down = 0, name = _('ADF Select Left'), category = _('_My Buttons')}, - --- WEAPONS PANEL -{down = device_commands.Button_1, cockpit_device_id = devices.PH, value_down = 0.25, name = _('Weapons Panel Key Jour'), category = _('_My Buttons')}, -{down = device_commands.Button_1, cockpit_device_id = devices.PH, value_down = 0.00, name = _('Weapons Panel Key Arret'), category = _('_My Buttons')}, - -{down = device_commands.Button_25, up = device_commands.Button_25, cockpit_device_id = devices.WEAPONS, value_down = 1, value_up = 1, name = _('RIPPLE/SINGLE (Toggle)'), category = _('_My Buttons')}, - -{down = device_commands.Button_1, up = device_commands.Button_2, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, value_up = 0.0, name = _('Pilot/Copilot Seat'), category = _('_My Buttons')}, - ---fvh: end additional buttons ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ --- fvh: missing buttons from keyboard lua --- INTERCOM1 -{down = device_commands.Button_7,up = device_commands.Button_8,cockpit_device_id = devices.INTERCOM, value_down = 1, value_up = 0,name = _('SA342 VHF AM Radio Volume+'), category = _('SA342 Intercom1')}, -{down = device_commands.Button_9,up = device_commands.Button_10,cockpit_device_id = devices.INTERCOM, value_down = 1, value_up = 0,name = _('SA342 VHF AM Radio Volume-'), category = _('SA342 Intercom1')}, -{down = device_commands.Button_11,up = device_commands.Button_12,cockpit_device_id = devices.INTERCOM, value_down = 1, value_up = 0,name = _('SA342 FM1 Radio Volume+'), category = _('SA342 Intercom1')}, -{down = device_commands.Button_13,up = device_commands.Button_14,cockpit_device_id = devices.INTERCOM, value_down = 1, value_up = 0,name = _('SA342 FM1 Radio Volume-'), category = _('SA342 Intercom1')}, -{down = device_commands.Button_15,up = device_commands.Button_16,cockpit_device_id = devices.INTERCOM, value_down = 1, value_up = 0,name = _('SA342 UHF Radio Volume+'), category = _('SA342 Intercom1')}, -{down = device_commands.Button_17,up = device_commands.Button_18,cockpit_device_id = devices.INTERCOM, value_down = 1, value_up = 0,name = _('SA342 UHF Radio Volume-'), category = _('SA342 Intercom1')}, ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ - --- [WP1] -{down = device_commands.Button_16, cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Weapons Arm Down'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_17, cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Weapons Arm Up'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_18, up = device_commands.Button_19, cockpit_device_id = devices.WEAPONS, value_down = -1, value_up = 0,name = _('SA342 Weapons A/M'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_20, up = device_commands.Button_19, cockpit_device_id = devices.WEAPONS, value_down = 1, value_up = 0,name = _('SA342 Weapons S/M'), category = _('SA342 Weapons Panel')}, - --- [WP2] -{down = device_commands.Button_21,cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Left Arm Toggle'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_22,cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Left Arm Cover Toggle'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_23,cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Right Arm Toggle'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_24,cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Right Arm Cover Toggle'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_25,cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 RIPPLE/SINGLE Toggle'), category = _('SA342 Weapons Panel')}, - --- [PILOTSIGHT] -{down = device_commands.Button_3, up = device_commands.Button_3,cockpit_device_id = devices.WEAPONS, value_down = 1, name = _('SA342 Pilot Sight Deploy/Retract'), category = _('SA342 Pilot Sight')}, - --- [TV] -{down = device_commands.Button_5, up = device_commands.Button_5,cockpit_device_id = devices.TV, value_down = 1, name = _('SA342 TV On/Off'), category = _('SA342 TV')}, -{down = device_commands.Button_6, up = device_commands.Button_7,cockpit_device_id = devices.TV, value_down = 1, value_up = 0, name = _('SA342 TV Contrast+'), category = _('SA342 TV')}, -{down = device_commands.Button_8, up = device_commands.Button_9,cockpit_device_id = devices.TV, value_down = 1, value_up = 0, name = _('SA342 TV Contrast-'), category = _('SA342 TV')}, -{down = device_commands.Button_10, up = device_commands.Button_11,cockpit_device_id = devices.TV, value_down = 1, value_up = 0, name = _('SA342 TV Brightness+'), category = _('SA342 TV')}, -{down = device_commands.Button_12, up = device_commands.Button_13,cockpit_device_id = devices.TV, value_down = 1, value_up = 0, name = _('SA342 TV Brightness-'), category = _('SA342 TV')}, -{down = device_commands.Button_14, up = device_commands.Button_15,cockpit_device_id = devices.TV, value_down = 1, value_up = 0, name = _('SA342 TV Cover+'), category = _('SA342 TV')}, -{down = device_commands.Button_16, up = device_commands.Button_17,cockpit_device_id = devices.TV, value_down = 1, value_up = 0, name = _('SA342 TV Cover-'), category = _('SA342 TV')}, - --- MAIN PANEL -{down = device_commands.Button_21, up = device_commands.Button_21, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Battery On/Off'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_22,up = device_commands.Button_22, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Alternator On/Off'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_23,up = device_commands.Button_23, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Generator On/Off'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_21,up = device_commands.Button_21, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Magnetic brake On/Off'), category = _('SA342 Main Panel')}, -{down = iCommandSwitchMasterArm, up = iCommandSwitchMasterArm, name = _('SA342 Master arm On/Off'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_24,up = device_commands.Button_24, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Pitot On/Off'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_27, up = device_commands.Button_28, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Pilot Wiper L/A'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_29, up = device_commands.Button_28, cockpit_device_id = devices.ELECTRIC, value_down = -1, value_up = 0,name = _('SA342 Pilot Wiper R/A'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_25, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('SA342 Pilot Wiper Up'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_26, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('SA342 Pilot Wiper Down'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_30, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('SA342 Copilot Wiper Up'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_31, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('SA342 Copilot Wiper Down'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_32, up = device_commands.Button_33, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Copilot Wiper L/A'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_34, up = device_commands.Button_33, cockpit_device_id = devices.ELECTRIC, value_down = -1, value_up = 0,name = _('SA342 Copilot Wiper R/A'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_35, up = device_commands.Button_36, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 TEST'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_37, up = device_commands.Button_38, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Test HYD'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_39, up = device_commands.Button_40, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Test warning panel'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_26, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Nav Lights Up'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_27, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Nav Lights Down'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_28, up = device_commands.Button_29, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Nav Lights Flashing'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_30, up = device_commands.Button_31, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Nav Lights Steady'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_34, up = device_commands.Button_35, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Strobe Lights Normal'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_36, up = device_commands.Button_37, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Strobe Lights Attenuated'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_43, up = device_commands.Button_43,cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Panels Lighting On/Off'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_19, up = device_commands.Button_20, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 PUP Intensity Increase'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_21, up = device_commands.Button_22, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 PUP Intensity Decrease'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_24, up = device_commands.Button_25, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 PBO Intensity Increase'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_26, up = device_commands.Button_27, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 PBO Intensity Decrease'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_14, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 1, name = _('SA342 Source +'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_15, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 1, name = _('SA342 Source -'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_38, up = device_commands.Button_39, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Strobe Intensity Increase'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_40, up = device_commands.Button_41, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Strobe Intensity Decrease'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_32, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Strobe Lights Up'), category = _('SA342 Main Panel')}, -{down = device_commands.Button_33, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Strobe Lights Down'), category = _('SA342 Main Panel')}, - --- START PANEL -{down = device_commands.Button_41, up = device_commands.Button_41, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 RSUPP On/Off'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_42, up = device_commands.Button_42, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 FILTAS On/Off'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_22, up = device_commands.Button_22, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Magnetic Brake On/Off'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_43, up = device_commands.Button_44, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Rearm Alter'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_45, up = device_commands.Button_46, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Rearm Gene'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_49, up = device_commands.Button_50, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Starter M/A'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_51, up = device_commands.Button_50, cockpit_device_id = devices.ELECTRIC, value_down = -1, value_up = 0,name = _('SA342 Starter V/A'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_53, up = device_commands.Button_53, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0,name = _('SA342 Fuel Pump On/Off'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_5, up = device_commands.Button_6, cockpit_device_id = devices.CLOCK, value_down = 1, value_up = 0,name = _('SA342 Clock Start/Stop'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_7, up = device_commands.Button_8, cockpit_device_id = devices.CLOCK, value_down = 1, value_up = 0,name = _('SA342 Clock reset'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_48, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('SA342 Starter Down'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_47, cockpit_device_id = devices.ELECTRIC, value_down = 1, name = _('SA342 Starter Up'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_13, up = device_commands.Button_14, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 UV Lighting Increase'), category = _('SA342 Start Panel')}, -{down = device_commands.Button_15, up = device_commands.Button_16, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 UV Lighting Decrease'), category = _('SA342 Start Panel')}, - --- NADIR -{down = device_commands.Button_25, up = device_commands.Button_25, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR ENT'), category = _('SA342 NADIR')}, -{down = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR DES'), category = _('SA342 NADIR')}, -{down = device_commands.Button_27, up = device_commands.Button_27, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR AUX'), category = _('SA342 NADIR')}, -{down = device_commands.Button_28, up = device_commands.Button_28, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR IC'), category = _('SA342 NADIR')}, -{down = device_commands.Button_29, up = device_commands.Button_29, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR DOWN'), category = _('SA342 NADIR')}, -{down = device_commands.Button_30, up = device_commands.Button_30, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 0'), category = _('SA342 NADIR')}, -{down = device_commands.Button_31, up = device_commands.Button_31, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 1'), category = _('SA342 NADIR')}, -{down = device_commands.Button_32, up = device_commands.Button_32, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 2'), category = _('SA342 NADIR')}, -{down = device_commands.Button_33, up = device_commands.Button_33, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 3'), category = _('SA342 NADIR')}, -{down = device_commands.Button_34, up = device_commands.Button_34, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 4'), category = _('SA342 NADIR')}, -{down = device_commands.Button_35, up = device_commands.Button_35, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 5'), category = _('SA342 NADIR')}, -{down = device_commands.Button_36, up = device_commands.Button_36, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 6'), category = _('SA342 NADIR')}, -{down = device_commands.Button_37, up = device_commands.Button_37, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 7'), category = _('SA342 NADIR')}, -{down = device_commands.Button_38, up = device_commands.Button_38, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 8'), category = _('SA342 NADIR')}, -{down = device_commands.Button_39, up = device_commands.Button_39, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR 9'), category = _('SA342 NADIR')}, -{down = device_commands.Button_40, up = device_commands.Button_40, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR POL'), category = _('SA342 NADIR')}, -{down = device_commands.Button_41, up = device_commands.Button_41, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR GEO'), category = _('SA342 NADIR')}, -{down = device_commands.Button_42, up = device_commands.Button_42, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR POS'), category = _('SA342 NADIR')}, -{down = device_commands.Button_43, up = device_commands.Button_43, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR GEL'), category = _('SA342 NADIR')}, -{down = device_commands.Button_44, up = device_commands.Button_44, cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0, name = _('SA342 NADIR EFF'), category = _('SA342 NADIR')}, -{down = device_commands.Button_45,up = device_commands.Button_45,cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR Mode+'), category = _('SA342 NADIR')}, -{down = device_commands.Button_46,up = device_commands.Button_46,cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR Mode-'), category = _('SA342 NADIR')}, -{down = device_commands.Button_47,up = device_commands.Button_47,cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR Param+'), category = _('SA342 NADIR')}, -{down = device_commands.Button_48,up = device_commands.Button_48,cockpit_device_id = devices.NADIR, value_down = 1, value_up = 0,name = _('SA342 NADIR Param-'), category = _('SA342 NADIR')}, - --- VHF RADIO -{down = device_commands.Button_5,up = device_commands.Button_5,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF increment'), category = _('SA342 VHF RADIO')}, -{down = device_commands.Button_6,up = device_commands.Button_6,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF RADIO Mode+'), category = _('SA342 VHF RADIO')}, -{down = device_commands.Button_7,up = device_commands.Button_7,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF RADIO Mode-'), category = _('SA342 VHF RADIO')}, -{down = device_commands.Button_8,up = device_commands.Button_8,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF RADIO Unit+'), category = _('SA342 VHF RADIO')}, -{down = device_commands.Button_9,up = device_commands.Button_9,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF RADIO Unit-'), category = _('SA342 VHF RADIO')}, -{down = device_commands.Button_10,up = device_commands.Button_10,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF RADIO Dec+'), category = _('SA342 VHF RADIO')}, -{down = device_commands.Button_11,up = device_commands.Button_11,cockpit_device_id = devices.AM_RADIO, value_down = 1, value_up = 0,name = _('SA342 VHF RADIO Dec-'), category = _('SA342 VHF RADIO')}, - --- PR4G -{down = device_commands.Button_18,up = device_commands.Button_18,cockpit_device_id = devices.FM_RADIO, value_down = 1, value_up = 0,name = _('SA342 FM RADIO Mode+'), category = _('SA342 FM RADIO')}, -{down = device_commands.Button_19,up = device_commands.Button_19,cockpit_device_id = devices.FM_RADIO, value_down = 1, value_up = 0,name = _('SA342 FM RADIO Mode-'), category = _('SA342 FM RADIO')}, -{down = device_commands.Button_20,up = device_commands.Button_20,cockpit_device_id = devices.FM_RADIO, value_down = 1, value_up = 0,name = _('SA342 FM RADIO Canal+'), category = _('SA342 FM RADIO')}, -{down = device_commands.Button_21,up = device_commands.Button_21,cockpit_device_id = devices.FM_RADIO, value_down = 1, value_up = 0,name = _('SA342 FM RADIO Canal-'), category = _('SA342 FM RADIO')}, - --- UHF RADIO -{down = device_commands.Button_16, up = device_commands.Button_16, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF VLD'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_17, up = device_commands.Button_17, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 1'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_18, up = device_commands.Button_18, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 2'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_19, up = device_commands.Button_19, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 3'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_20, up = device_commands.Button_20, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 4'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_21, up = device_commands.Button_21, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 5'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_22, up = device_commands.Button_22, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 6'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_23, up = device_commands.Button_23, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 7'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_24, up = device_commands.Button_24, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 8'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_25, up = device_commands.Button_25, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 9'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 0'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_27,up = device_commands.Button_27,cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF Mode+'), category = _('SA342 UHF RADIO')}, -{down = device_commands.Button_28,up = device_commands.Button_28,cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF Mode-'), category = _('SA342 UHF RADIO')}, - --- ADF RADIO -{down = device_commands.Button_12, up = device_commands.Button_12, cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 Select Toggle'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_13, up = device_commands.Button_13, cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 Tone Toggle'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_16,up = device_commands.Button_16,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 ADF Mode+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_17,up = device_commands.Button_17,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 ADF Mode-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_18,up = device_commands.Button_19,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 ADF Gain+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_20,up = device_commands.Button_21,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 ADF Gain-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_22,up = device_commands.Button_22,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV1 Cent+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_23,up = device_commands.Button_23,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV1 Cent-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_24,up = device_commands.Button_24,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV1 Dix+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_25,up = device_commands.Button_25,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV1 Dix-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_26,up = device_commands.Button_26,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV1 Unit+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_27,up = device_commands.Button_27,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV1 Unit-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_28,up = device_commands.Button_28,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV2 Cent+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_29,up = device_commands.Button_29,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV2 Cent-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_30,up = device_commands.Button_30,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV2 Dix+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_31,up = device_commands.Button_31,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV2 Dix-'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_32,up = device_commands.Button_32,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV2 Unit+'), category = _('SA342 ADF RADIO')}, -{down = device_commands.Button_33,up = device_commands.Button_33,cockpit_device_id = devices.ADF, value_down = 1, value_up = 0,name = _('SA342 NAV2 Unit-'), category = _('SA342 ADF RADIO')}, - --- PILOT COLLECTIVE -{down = device_commands.Button_6, up = device_commands.Button_7, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Landing Light Retract'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_4, up = device_commands.Button_5, cockpit_device_id = devices.NAVLIGHTS, value_down = -1, value_up = 0,name = _('SA342 Landing Light Extend'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_6, up = device_commands.Button_7, cockpit_device_id = devices.FD, value_down = 1, value_up = 0,name = _('SA342 Flare Dispenser Button Cover'), category = _('SA342 Pilot Collective')}, -{down = iCommandPlaneCMDDispence, up = iCommandPlaneCMDDispenceOff, name = _('SA342 Start dispensing'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_16, up = device_commands.Button_17, cockpit_device_id = devices.NAVLIGHTS, value_down = -1, value_up = 0,name = _('SA342 Landing Light OFF/VARIO'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_18, up = device_commands.Button_19, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Landing Light ON/VARIO'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_8, cockpit_device_id = devices.FD, value_down = 1, value_up = 0,name = _('SA342 Flare Dispenser Button Cover Toggle'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_13, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Landing Light OFF'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_14, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Landing Light VARIO'), category = _('SA342 Pilot Collective')}, -{down = device_commands.Button_15, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Landing Light ON'), category = _('SA342 Pilot Collective')}, -{down = iCommandPlaneHeadLightOnOff, name = _('SA342 Landing Light On/Off'), category = _('SA342 Pilot Collective')}, - --- PILOT STICK -{down = device_commands.Button_7, up = device_commands.Button_8,cockpit_device_id = devices.CONTROLS, value_down = 1, value_up = 0, name = _('SA342 Trimmer'), category = _('SA342 Pilot Stick')}, -{combos = {{key = 'JOY_BTN_POV1_U'}}, down = device_commands.Button_3, up = device_commands.Button_4,cockpit_device_id = devices.CONTROLS, value_down = 1, value_up = 0, name = _('Trim: Nose Down'), category = _('SA342 Pilot Stick')}, -{combos = {{key = 'JOY_BTN_POV1_D'}}, down = device_commands.Button_5, up = device_commands.Button_6,cockpit_device_id = devices.CONTROLS, value_down = 1, value_up = 0, name = _('Trim: Nose Up'), category = _('SA342 Pilot Stick')}, -{combos = {{key = 'JOY_BTN_POV1_L'}}, down = device_commands.Button_9, up = device_commands.Button_10,cockpit_device_id = devices.CONTROLS, value_down = 1, value_up = 0, name = _('Trim: Left Wing Down'), category = _('SA342 Pilot Stick')}, -{combos = {{key = 'JOY_BTN_POV1_R'}}, down = device_commands.Button_11, up = device_commands.Button_12,cockpit_device_id = devices.CONTROLS, value_down = 1, value_up = 0, name = _('Trim: Right Wing Down'), category = _('SA342 Pilot Stick')}, -{down = device_commands.Button_19, up = device_commands.Button_20,cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0, name = _('SA342 Wiper once'), category = _('SA342 Pilot Stick')}, -{down = device_commands.Button_29, up = device_commands.Button_30,cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0, name = _('SA342 Autopilot Master'), category = _('SA342 Pilot Stick')}, -{down = device_commands.Button_12, up = device_commands.Button_12, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0, name = _('SA342 Auto-Slaved Toggle'), category = _('SA342 Pilot Stick')}, -{down = device_commands.Button_8, up = device_commands.Button_8, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0, name = _('SA342 Auto-Hover Toggle'), category = _('SA342 Pilot Stick')}, -{combos = {{key = 'JOY_BTN1'}}, down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = _('SA342 Fire Gun or Rocket'), category = _('SA342 Pilot Stick')}, - --- WSO LEFT STICK -{down = device_commands.Button_35, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Lasing Button Cover'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_42, up = device_commands.Button_42, cockpit_device_id = devices.PE, value_down = 1, value_up = 0,name = _('SA342 Lasing Button'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_36, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Missile Launch Cover'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_41, up = device_commands.Button_41, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Missile Launch Button'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_25, up = device_commands.Button_25, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Inversed Symbology Toggle'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Inversed Image Toggle'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_29, up = device_commands.Button_29, cockpit_device_id = devices.PE, value_down = -1, value_up = 0, name = _('SA342 Gain decrease'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_30, up = device_commands.Button_30, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Gain increase'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_31, up = device_commands.Button_31, cockpit_device_id = devices.PE, value_down = -1, value_up = 0, name = _('SA342 Image Brightness decrease'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_32, up = device_commands.Button_32, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Image Brightness increase'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_33, up = device_commands.Button_33, cockpit_device_id = devices.PE, value_down = -1, value_up = 0, name = _('SA342 Symbology Brightness decrease'), category = _('SA342 WSO Left Stick')}, -{down = device_commands.Button_34, up = device_commands.Button_34, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Symbology Brightness increase'), category = _('SA342 WSO Left Stick')}, - --- WEAPONS PANEL -{down = device_commands.Button_4, cockpit_device_id = devices.PH, value_down = 1.0, name = _('SA342 Station 1 Select'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_5, cockpit_device_id = devices.PH, value_down = 1.0, name = _('SA342 Station 2 Select'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_6, cockpit_device_id = devices.PH, value_down = 1.0, name = _('SA342 Station 3 Select'), category = _('SA342 Weapons Panel')}, -{down = device_commands.Button_7, cockpit_device_id = devices.PH, value_down = 1.0, name = _('SA342 Station 4 Select'), category = _('SA342 Weapons Panel')}, -{down = iCommandPlaneChangeWeapon, name = _('SA342 Cycle Station'), category = _('SA342 Weapons Panel')}, - --- RWR -{down = device_commands.Button_8, up = device_commands.Button_9, cockpit_device_id = devices.RWR, value_down = -1, value_up = 0,name = _('SA342 RWR OFF/ON'), category = _('SA342 RWR')}, -{down = device_commands.Button_10, up = device_commands.Button_9, cockpit_device_id = devices.RWR, value_down = 1, value_up = 0,name = _('SA342 RWR CROC/ON'), category = _('SA342 RWR')}, -{down = device_commands.Button_6, cockpit_device_id = devices.RWR, value_down = 1, name = _('SA342 RWR Off/On/Croc Up'), category = _('SA342 RWR')}, -{down = device_commands.Button_7, cockpit_device_id = devices.RWR, value_down = 1, name = _('SA342 RWR Off/On/Croc Down'), category = _('SA342 RWR')}, -{down = device_commands.Button_11, up = device_commands.Button_12, cockpit_device_id = devices.RWR, value_down = 1, value_up = 0,name = _('SA342 RWR Audio Increase'), category = _('SA342 RWR')}, -{down = device_commands.Button_13, up = device_commands.Button_14, cockpit_device_id = devices.RWR, value_down = 1, value_up = 0,name = _('SA342 RWR Audio Decrease'), category = _('SA342 RWR')}, -{down = device_commands.Button_16, up = device_commands.Button_17, cockpit_device_id = devices.RWR, value_down = 1, value_up = 0,name = _('SA342 RWR Brightness Increase'), category = _('SA342 RWR')}, -{down = device_commands.Button_18, up = device_commands.Button_19, cockpit_device_id = devices.RWR, value_down = 1, value_up = 0,name = _('SA342 RWR Brightness Decrease'), category = _('SA342 RWR')}, - --- AUTOPILOT -{down = device_commands.Button_9, up = device_commands.Button_20, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Altitude Mode'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_19, up = device_commands.Button_20, cockpit_device_id = devices.AUTOPILOT, value_down = -1, value_up = 0,name = _('SA342 Speed Mode'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Master On/Off'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_10, up = device_commands.Button_10, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Yaw On/Off'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_11, up = device_commands.Button_11, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Roll On/Off'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_13, up = device_commands.Button_13, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('SA342 Pitch On/Off'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_31, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Gyro Test Switch Cover'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_32, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Gyro Test Switch'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_33, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Gyro Knob +'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_34, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Gyro Knob -'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_18, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Auto-Collective Toggle'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_21, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Mode Up'), category = _('SA342 Autopilot')}, -{down = device_commands.Button_24, cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('SA342 Mode Down'), category = _('SA342 Autopilot')}, - --- ROOF CONSOLE -{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 Roof Lamp Low/Normal Button'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 Roof Lamp White/red Button'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_11, up = device_commands.Button_11, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Formation Lights On/Off Button'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_2, up = device_commands.Button_3, cockpit_device_id = devices.FUEL, value_down = 1, value_up = 0,name = _('SA342 Fuel Flow lever Forward'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_4, up = device_commands.Button_5, cockpit_device_id = devices.FUEL, value_down = 1, value_up = 0,name = _('SA342 Fuel Flow lever Backward'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_2, up = device_commands.Button_3, cockpit_device_id = devices.ROTORS, value_down = 1, value_up = 0,name = _('SA342 Rotor Brake Release (lever Forward)'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_4, up = device_commands.Button_5, cockpit_device_id = devices.ROTORS, value_down = 1, value_up = 0,name = _('SA342 Rotor Brake On (lever Backward)'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_7, up = device_commands.Button_8, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 Roof Lamp Increase'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_9, up = device_commands.Button_10, cockpit_device_id = devices.LIGHTS, value_down = 1, value_up = 0,name = _('SA342 Roof Lamp Decrease'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_11, cockpit_device_id = devices.LIGHTS, value_down = 1, name = _('SA342 Roof Lamp Low/Normal'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_12, cockpit_device_id = devices.LIGHTS, value_down = 1, name = _('SA342 Roof Lamp Lens White/red'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_21, up = device_commands.Button_22, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Formation Lights Increase'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_23, up = device_commands.Button_24, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, value_up = 0,name = _('SA342 Formation Lights Decrease'), category = _('SA342 Roof Console')}, -{down = device_commands.Button_20, cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Formation Lights On/Off'), category = _('SA342 Roof Console')}, - --- VIDEO COMMAND BOX -{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Camera Centering'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Normal/IR View Toggle'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Zoom +'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.PE, value_down = -1, value_up = 0, name = _('SA342 Zoom -'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_37, cockpit_device_id = devices.PE, value_down = 1, name = _('SA342 CTH +'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_38, cockpit_device_id = devices.PE, value_down = 1, name = _('SA342 CTH -'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_39, up = device_commands.Button_39, cockpit_device_id = devices.PE, value_down = 1, value_up = 0, name = _('SA342 Power button'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_17, cockpit_device_id = devices.PE, value_down = 1, name = _('SA342 MODE +'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_18, cockpit_device_id = devices.PE, value_down = 1, name = _('SA342 MODE -'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_19, cockpit_device_id = devices.PE, value_down = 1.0, name = _('SA342 CTH Cycle'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_20, up = device_commands.Button_20, cockpit_device_id = devices.PE, value_down = 1.0, value_up = 0.0, name = _('SA342 Power 2 pos'), category = _('SA342 Video Command Box')}, - --- BCV China Hat second joystick -{down = device_commands.Button_8, up = device_commands.Button_9, cockpit_device_id = devices.PE, value_down = 1, value_up = 0,name = _('SA342 Slew up'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_10, up = device_commands.Button_11, cockpit_device_id = devices.PE, value_down = 1, value_up = 0,name = _('SA342 Slew down'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_12, up = device_commands.Button_13, cockpit_device_id = devices.PE, value_down = 1, value_up = 0,name = _('SA342 Slew left'), category = _('SA342 Video Command Box')}, -{down = device_commands.Button_14, up = device_commands.Button_15, cockpit_device_id = devices.PE, value_down = 1, value_up = 0,name = _('SA342 Slew right'), category = _('SA342 Video Command Box')}, - --- PH --- {down = device_commands.Button_4, cockpit_device_id = devices.PH, value_down = 1.0, name = _('Station 1 Select'), category = 'HOT Missile Console'}, --- {down = device_commands.Button_5, cockpit_device_id = devices.PH, value_down = 1.0, name = _('Station 2 Select'), category = 'HOT Missile Console'}, --- {down = device_commands.Button_6, cockpit_device_id = devices.PH, value_down = 1.0, name = _('Station 3 Select'), category = 'HOT Missile Console'}, --- {down = device_commands.Button_7, cockpit_device_id = devices.PH, value_down = 1.0, name = _('Station 4 Select'), category = 'HOT Missile Console'}, --- {down = iCommandPlaneChangeWeapon, name = _('Cycle Station'), category = 'HOT Missile Console'}, - --- Torque ---{down = device_commands.Button_5, up = device_commands.Button_6, cockpit_device_id = devices.TORQUE, value_down = 1, value_up = 0, name = _('Torque Gauge Test'), category = _('Torque Gauge')}, --- TA ---{down = device_commands.Button_18, up = device_commands.Button_19, cockpit_device_id = devices.ELECTRIC, value_down = 1, value_up = 0, name = _('Alarm Panel Test'), category = _('Alarm Panel')}, --- HA ---{down = device_commands.Button_8, up = device_commands.Button_9, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 1, value_up = 0, name = _('Main Horizon Unlock'), category = _('Main Horizon')}, - --- Main Stick ---{combos = {{key = 'JOY_BTN1'}}, down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = _('Gun fire'), category = _('Ins Cyclic Stick')}, --- {combos = {{key = 'JOY_BTN2'}}, down = device_commands.Button_10, up = device_commands.Button_11, cockpit_device_id = devices.AUTOPILOT, value_down = 1, value_up = 0,name = _('Auto-Flight On/Off'), category = 'PA'}, - --- Controls -{down = device_commands.Button_13, up = device_commands.Button_13, cockpit_device_id = devices.CONTROLS, value_down = 1.0, value_up = 0, name = _('SA342 Swap Controls multi'), category = _('Controls')}, -{down = iCommandPlane_ShowControls, name = _('Show controls indicator') , category = _('Controls')}, -{down = iCommandPlaneTrimCancel, name = _('Trimmer reset'), category = _('Controls')}, --- Ins Cyclick Stick -{pressed = iCommandPlaneUpStart , up = iCommandPlaneUpStop , name = _('SA342 Cyclic nose down'), category = _('Controls')}, -{pressed = iCommandPlaneDownStart , up = iCommandPlaneDownStop, name = _('SA342 Cyclic nose up'), category = _('Controls')}, -{pressed = iCommandPlaneLeftStart , up = iCommandPlaneLeftStop, name = _('Cyclic bank left'), category = _('Controls')}, -{pressed = iCommandPlaneRightStart , up = iCommandPlaneRightStop, name = _('Cyclic bank right'), category = _('Controls')}, --- Ins Collective Stick -{down = iCommandPlaneCollectiveIncrease, pressed = iCommandPlaneCollectiveIncrease, up = iCommandPlaneCollectiveStop, name = _('Collective up'), category = _('Controls')}, -{down = iCommandPlaneCollectiveDecrease, pressed = iCommandPlaneCollectiveDecrease, up = iCommandPlaneCollectiveStop, name = _('Collective down'), category = _('Controls')}, ---Ins Rudder -{down = iCommandPlaneLeftRudderStart, up = iCommandPlaneLeftRudderStop, name = _('Rudder left'), category = _('Controls')}, -{down = iCommandPlaneRightRudderStart, up = iCommandPlaneRightRudderStop, name = _('Rudder right'), category = _('Controls')}, - --- Ins Collective Stick --- {down = iCommandPlanePickleOn, up = iCommandPlanePickleOff, name = _('Release weapons'), category = 'Weapons'}, - --- HEAD_WRAPPER -{down = device_commands.Button_1, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, name = _('SA342 Set Pilot Seat'), category = _('View Cockpit')}, -{down = device_commands.Button_2, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, name = _('SA342 Set CoPilot Seat'), category = _('View Cockpit')}, -{down = device_commands.Button_3, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, name = _('SA342 Pilot Sun glass On/Off'), category = _('View Cockpit')}, -{down = device_commands.Button_4, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, name = _('SA342 Microphone Light On/Off'), category = _('View Cockpit')}, - --- View -{pressed = iCommandViewLeftSlow, up = iCommandViewStopSlow, name = _('View Left slow'), category = _('View')}, -{pressed = iCommandViewRightSlow, up = iCommandViewStopSlow, name = _('View Right slow'), category = _('View')}, -{pressed = iCommandViewUpSlow, up = iCommandViewStopSlow, name = _('View Up slow'), category = _('View')}, -{pressed = iCommandViewDownSlow, up = iCommandViewStopSlow, name = _('View Down slow'), category = _('View')}, -{pressed = iCommandViewUpRightSlow, up = iCommandViewStopSlow, name = _('View Up Right slow'), category = _('View')}, -{pressed = iCommandViewDownRightSlow, up = iCommandViewStopSlow, name = _('View Down Right slow'), category = _('View')}, -{pressed = iCommandViewDownLeftSlow, up = iCommandViewStopSlow, name = _('View Down Left slow'), category = _('View')}, -{pressed = iCommandViewUpLeftSlow, up = iCommandViewStopSlow, name = _('View Up Left slow'), category = _('View')}, -{pressed = iCommandViewCenter, name = _('Center View'), category = _('View')}, - -{pressed = iCommandViewForwardSlow, up = iCommandViewForwardSlowStop, name = _('Zoom in slow'), category = _('View')}, -{pressed = iCommandViewBackSlow, up = iCommandViewBackSlowStop, name = _('Zoom out slow'), category = _('View')}, -{down = iCommandViewAngleDefault, name = _('Zoom normal'), category = _('View')}, -{pressed = iCommandViewExternalZoomIn, up = iCommandViewExternalZoomInStop, name = _('Zoom external in'), category = _('View')}, -{pressed = iCommandViewExternalZoomOut, up = iCommandViewExternalZoomOutStop, name = _('Zoom external out'), category = _('View')}, -{down = iCommandViewExternalZoomDefault, name = _('Zoom external normal'), category = _('View')}, -{down = iCommandViewSpeedUp, name = _('F11 camera moving forward'), category = _('View')}, -{down = iCommandViewSlowDown, name = _('F11 camera moving backward'), category = _('View')}, -{down = iCommandViewSwitchForward, name = _('Objects switching direction forward '), category = _('View')}, -{down = iCommandViewSwitchReverse, name = _('Objects switching direction reverse '), category = _('View')}, -{down = iCommandViewObjectIgnore, name = _('Object exclude '), category = _('View')}, -{down = iCommandViewObjectsAll, name = _('Objects all excluded - include'), category = _('View')}, - -{down = iCommandViewCockpit, name = _('F1 Cockpit view'), category = _('View')}, -{down = iCommandNaturalViewCockpitIn, name = _('F1 Natural head movement view'), category = _('View')}, -{down = iCommandViewHUDOnlyOnOff, name = _('F1 HUD only view switch'), category = _('View')}, -{down = iCommandViewAir, name = _('F2 Aircraft view'), category = _('View')}, -{down = iCommandViewMe, name = _('F2 View own aircraft'), category = _('View')}, -{down = iCommandViewFromTo, name = _('F2 Toggle camera position'), category = _('View')}, -{down = iCommandViewLocal, name = _('F2 Toggle local camera control'), category = _('View')}, -{down = iCommandViewTower, name = _('F3 Fly-By view'), category = _('View')}, -{down = iCommandViewTowerJump, name = _('F3 Fly-By jump view'), category = _('View')}, -{down = iCommandViewRear, name = _('F4 Look back view'), category = _('View')}, -{down = iCommandViewChase, name = _('F4 Chase view'), category = _('View')}, -{down = iCommandViewChaseArcade, name = _('F4 Arcade Chase view'), category = _('View')}, -{down = iCommandViewFight, name = _('F5 Nearest AC view'), category = _('View')}, -{down = iCommandViewFightGround, name = _('F5 Ground hostile view'), category = _('View')}, -{down = iCommandViewWeapons, name = _('F6 Released weapon view'), category = _('View')}, -{down = iCommandViewWeaponAndTarget, name = _('F6 Weapon to target view'), category = _('View')}, -{down = iCommandViewGround, name = _('F7 Ground unit view'), category = _('View')}, -{down = iCommandViewTargets, name = _('F8 Target view'), category = _('View')}, -{down = iCommandViewTargetType, name = _('F8 Player targets/All targets filter'), category = _('View')}, -{down = iCommandViewNavy, name = _('F9 Ship view'), category = _('View')}, -{down = iCommandViewLndgOfficer, name = _('F9 Landing signal officer view'), category = _('View')}, -{down = iCommandViewAWACS, name = _('F10 Theater map view'), category = _('View')}, -{down = iCommandViewAWACSJump, name = _('F10 Jump to theater map view over current point'), category = _('View')}, -{down = iCommandViewFree, name = _('F11 Airport free camera'), category = _('View')}, -{down = iCommandViewFreeJump, name = _('F11 Jump to free camera'), category = _('View')}, -{down = iCommandViewStatic, name = _('F12 Static object view'), category = _('View')}, -{down = iCommandViewMirage, name = _('F12 Civil traffic view'), category = _('View')}, -{down = iCommandViewLocomotivesToggle, name = _('F12 Trains/cars toggle'), category = _('View')}, - -{down = iCommandViewFastKeyboard, name = _('Camera view keyboard rate fast'), category = _('View')}, -{down = iCommandViewSlowKeyboard, name = _('Camera view keyboard rate slow'), category = _('View')}, -{down = iCommandViewNormalKeyboard, name = _('Camera view keyboard rate normal'), category = _('View')}, -{down = iCommandViewFastMouse, name = _('Camera view mouse rate fast'), category = _('View')}, -{down = iCommandViewSlowMouse, name = _('Camera view mouse rate slow'), category = _('View')}, -{down = iCommandViewNormalMouse, name = _('Camera view mouse rate normal'), category = _('View')}, - --- View Cockpit -{down = iCommandViewTempCockpitOn, up = iCommandViewTempCockpitOff, name = _('Cockpit panel view in'), category = _('View Cockpit')}, -{down = iCommandViewTempCockpitToggle, name = _('Cockpit panel view toggle'), category = _('View Cockpit')}, ---// Save current cockpit camera angles for fast numpad jumps -{down = iCommandViewSaveAngles, name = _('Save Cockpit Angles'), category = _('View Cockpit')}, -{pressed = iCommandViewUp, up = iCommandViewStop, name = _('View up'), category = _('View Cockpit')}, -{pressed = iCommandViewDown, up = iCommandViewStop, name = _('View down'), category = _('View Cockpit')}, -{pressed = iCommandViewLeft, up = iCommandViewStop, name = _('View left'), category = _('View Cockpit')}, -{pressed = iCommandViewRight, up = iCommandViewStop, name = _('View right'), category = _('View Cockpit')}, -{pressed = iCommandViewUpRight, up = iCommandViewStop, name = _('View up right'), category = _('View Cockpit')}, -{pressed = iCommandViewDownRight, up = iCommandViewStop, name = _('View down right'), category = _('View Cockpit')}, -{pressed = iCommandViewDownLeft, up = iCommandViewStop, name = _('View down left'), category = _('View Cockpit')}, -{pressed = iCommandViewUpLeft, up = iCommandViewStop, name = _('View up left'), category = _('View Cockpit')}, ---{down = iCommandViewCockpitChangeSeat, name = _('Change Seat'), category = _('View Cockpit')}, - -{down = iCommandViewCameraUp, up = iCommandViewCameraCenter, name = _('Camera view up'), category = _('View Cockpit')}, -{down = iCommandViewCameraDown, up = iCommandViewCameraCenter, name = _('Camera view down'), category = _('View Cockpit')}, -{down = iCommandViewCameraLeft, up = iCommandViewCameraCenter, name = _('Camera view left'), category = _('View Cockpit')}, -{down = iCommandViewCameraRight, up = iCommandViewCameraCenter, name = _('Camera view right'), category = _('View Cockpit')}, -{down = iCommandViewCameraUpLeft, up = iCommandViewCameraCenter, name = _('Camera view up-left'), category = _('View Cockpit')}, -{down = iCommandViewCameraDownLeft, up = iCommandViewCameraCenter, name = _('Camera view down-left'), category = _('View Cockpit')}, -{down = iCommandViewCameraUpRight, up = iCommandViewCameraCenter, name = _('Camera view up-right'), category = _('View Cockpit')}, -{down = iCommandViewCameraDownRight, up = iCommandViewCameraCenter, name = _('Camera view down-right'), category = _('View Cockpit')}, ---{down = iCommandViewPanToggle, name = _('Camera pan mode toggle'), category = _('View Cockpit')}, - -{down = iCommandViewCameraUpSlow, name = _('Camera view up slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraDownSlow, name = _('Camera view down slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraLeftSlow, name = _('Camera view left slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraRightSlow, name = _('Camera view right slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraUpLeftSlow, name = _('Camera view up-left slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraDownLeftSlow, name = _('Camera view down-left slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraDownRight, name = _('Camera view up-right slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraUpRightSlow, name = _('Camera view down-right slow'), category = _('View Cockpit')}, -{down = iCommandViewCameraCenter, name = _('Center camera view'), category = _('View Cockpit')}, -{down = iCommandViewCameraReturn, name = _('Return camera'), category = _('View Cockpit')}, -{down = iCommandViewCameraBaseReturn, name = _('Return camera base'), category = _('View Cockpit')}, - -{down = iCommandViewSnapView0, up = iCommandViewSnapViewStop, name = _('Snap View 0'), category = _('View Cockpit')}, -{down = iCommandViewSnapView1, up = iCommandViewSnapViewStop, name = _('Snap View 1'), category = _('View Cockpit')}, -{down = iCommandViewSnapView2, up = iCommandViewSnapViewStop, name = _('Snap View 2'), category = _('View Cockpit')}, -{down = iCommandViewSnapView3, up = iCommandViewSnapViewStop, name = _('Snap View 3'), category = _('View Cockpit')}, -{down = iCommandViewSnapView4, up = iCommandViewSnapViewStop, name = _('Snap View 4'), category = _('View Cockpit')}, -{down = iCommandViewSnapView5, up = iCommandViewSnapViewStop, name = _('Snap View 5'), category = _('View Cockpit')}, -{down = iCommandViewSnapView6, up = iCommandViewSnapViewStop, name = _('Snap View 6'), category = _('View Cockpit')}, -{down = iCommandViewSnapView7, up = iCommandViewSnapViewStop, name = _('Snap View 7'), category = _('View Cockpit')}, -{down = iCommandViewSnapView8, up = iCommandViewSnapViewStop, name = _('Snap View 8'), category = _('View Cockpit')}, -{down = iCommandViewSnapView9, up = iCommandViewSnapViewStop, name = _('Snap View 9'), category = _('View Cockpit')}, - -{down = iCommandViewPitHeadOnOff, name = _('Head shift movement on / off'), category = _('View Cockpit')}, - -{pressed = iCommandViewForward, up = iCommandViewForwardStop, name = _('Zoom in'), category = _('View Cockpit')}, -{pressed = iCommandViewBack, up = iCommandViewBackStop, name = _('Zoom out'), category = _('View Cockpit')}, - --- Cockpit Camera Motion (Передвижение камеры в кабине) -{pressed = iCommandViewPitCameraMoveUp, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Up'), category = _('View Cockpit')}, -{pressed = iCommandViewPitCameraMoveDown, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Down'), category = _('View Cockpit')}, -{pressed = iCommandViewPitCameraMoveLeft, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Left'), category = _('View Cockpit')}, -{pressed = iCommandViewPitCameraMoveRight, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Right'), category = _('View Cockpit')}, -{pressed = iCommandViewPitCameraMoveForward, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Forward'), category = _('View Cockpit')}, -{pressed = iCommandViewPitCameraMoveBack, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Back'), category = _('View Cockpit')}, -{down = iCommandViewPitCameraMoveCenter, name = _('Cockpit Camera Move Center'), category = _('View Cockpit')}, - -{down = iCommandViewTransposeModeOn, up = iCommandViewTransposeModeOff, name = _('Camera transpose mode (press and hold)'), category = _('View Cockpit')}, -{down = iCommand_ExplorationStart, name = _('Enable exploration mode'), category = _('View Cockpit')}, -{down = iCommandViewTransposeModeOn, up = iCommandViewTransposeModeOff, name = _('Camera transpose mode on/off'), category = _('View Cockpit')}, - --- View Extended - -{down = iCommandViewCameraJiggle, name = _('Camera jiggle toggle'), category = _('View Extended')}, -{down = iCommandViewKeepTerrain, name = _('Keep terrain camera altitude'), category = _('View Extended')}, -{down = iCommandViewPlus, name = _('Toggle tracking launched weapon'), category = _('View Extended')}, -{down = iCommandViewFriends, name = _('View friends mode'), category = _('View Extended')}, -{down = iCommandViewEnemies, name = _('View enemies mode'), category = _('View Extended')}, -{down = iCommandViewAll, name = _('View all mode'), category = _('View Extended')}, - --- View Padlock -{down = iCommandViewLock, name = _('Lock view (cycle padlock)'), category = _('View Padlock')}, -{down = iCommandViewUnlock, name = _('Unlock view (stop padlock)'), category = _('View Padlock')}, -{down = iCommandAllMissilePadlock, name = _('All missiles padlock'), category = _('View Padlock')}, -{down = iCommandThreatMissilePadlock, name = _('Threat missile padlock'), category = _('View Padlock')}, -{down = iCommandViewTerrainLock, name = _('Lock terrain view'), category = _('View Padlock')}, - --- Labels -{down = iCommandMarkerState, name = _('All Labels'), category = _('Labels')}, -{down = iCommandMarkerStatePlane, name = _('Aircraft Labels'), category = _('Labels')}, -{down = iCommandMarkerStateRocket, name = _('Missile Labels'), category = _('Labels')}, -{down = iCommandMarkerStateShip, name = _('Vehicle & Ship Labels'), category = _('Labels')}, - --- Radio Communications -{down = iCommandToggleCommandMenu, name = _('SA342 VHF AM Communication menu'), category = _('Radio Communications')}, -{down = device_commands.Button_19, cockpit_device_id = devices.INTERCOM, value_down = 1, name = _('SA342 VHF FM Communication menu'), category = _('Radio Communications')}, -{down = device_commands.Button_20, cockpit_device_id = devices.INTERCOM, value_down = 1, name = _('SA342 UHF AM Communication menu'), category = _('Radio Communications')}, -{down = iCommandPlaneDoAndHome, name = _('Flight - Complete mission and RTB'), category = _('Radio Communications')}, ---{down = iCommandPlaneDoAndBack, name = _('Flight - Complete mission and rejoin'), category = _('Radio Communications')}, -{down = iCommandPlaneFormation, name = _('Toggle formation'), category = _('Radio Communications')}, -{down = iCommandPlaneJoinUp, name = _('Join up formation'), category = _('Radio Communications')}, ---{down = iCommandPlaneAttackMyTarget, name = _('Attack my target'), category = _('Radio Communications')}, -{down = iCommandPlaneCoverMySix, name = _('Cover me'), category = _('Radio Communications')}, -{down = iCommandPlane_EngageGroundTargets, name = _('Flight - Attack ground targets'), category = _('Radio Communications')}, -{down = iCommandPlane_EngageAirDefenses, name = _('Flight - Attack air defenses'), category = _('Radio Communications')}, -{down = ICommandSwitchDialog, name = _('Switch dialog'), category = _('Radio Communications')}, - ---- Kneeboard --- {down = device_commands.Button_1, cockpit_device_id = devices.KNEEBOARD, value_down = 1.0, name = _('Kneeboard Next Page') , category = _('Kneeboard')}, --- {down = device_commands.Button_2, cockpit_device_id = devices.KNEEBOARD, value_down = 1.0, name = _('Kneeboard Previous Page'), category = _('Kneeboard')}, --- {down = iCommandPlaneShowKneeboard, name = _('Kneeboard ON/OFF'), category = _('Kneeboard')}, --- {down = iCommandPlaneShowKneeboard, up = iCommandPlaneShowKneeboard ,value_down = 1.0,value_up = -1.0, name = _('Kneeboard glance view') , category = _('Kneeboard')}, --- {down = device_commands.Button_3 , cockpit_device_id = devices.KNEEBOARD,value_down = 1.0, name = _('Kneeboard current position mark point') , category = _('Kneeboard')}, ---Kneeboard -{down = iCommandPlaneShowKneeboard , name = _('Kneeboard ON/OFF'), category = _('Kneeboard')}, -{down = iCommandPlaneShowKneeboard , up = iCommandPlaneShowKneeboard ,value_down = 1.0,value_up = -1.0, name = _('Kneeboard glance view') , category = _('Kneeboard')}, -{down = 3001 , cockpit_device_id = 100, value_down = 1.0, name = _('Kneeboard Next Page') , category = _('Kneeboard')}, -{down = 3002 , cockpit_device_id = 100, value_down = 1.0, name = _('Kneeboard Previous Page'), category = _('Kneeboard')}, -{down = 3003 , cockpit_device_id = 100,value_down = 1.0, name = _('Kneeboard current position mark point') , category = _('Kneeboard')}, ---shortcuts navigation -{down = 3004 , cockpit_device_id = 100,value_down = 1.0, name = _('Kneeboard Make Shortcut'), category = _('Kneeboard')}, -{down = 3005 , cockpit_device_id = 100,value_down = 1.0, name = _('Kneeboard Next Shortcut'), category = _('Kneeboard')}, -{down = 3005 , cockpit_device_id = 100,value_down = -1.0, name = _('Kneeboard Previous Shortcut') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 0 , name = _('Kneeboard Jump To Shortcut 1') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 1 , name = _('Kneeboard Jump To Shortcut 2') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 2 , name = _('Kneeboard Jump To Shortcut 3') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 3 , name = _('Kneeboard Jump To Shortcut 4') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 4 , name = _('Kneeboard Jump To Shortcut 5') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 5 , name = _('Kneeboard Jump To Shortcut 6') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 6 , name = _('Kneeboard Jump To Shortcut 7') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 7 , name = _('Kneeboard Jump To Shortcut 8') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 8 , name = _('Kneeboard Jump To Shortcut 9') , category = _('Kneeboard')}, -{down = 3006 , cockpit_device_id = 100,value_down = 9 , name = _('Kneeboard Jump To Shortcut 10') , category = _('Kneeboard')}, - --- SYSTEMS ---{down = iCommandPlaneEject, name = _('Leave Helicopter (3 times)'), category = _('Systems')}, -{down = iCommandPlaneFonar, name = _('Cockpit door open/close'), category = _('Systems')}, ---{down = device_commands.Button_16, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 1.0,name = _('Cockpit door open/close'), category = _('Systems')}, - -{down = device_commands.Button_1, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, name = _('Set Pilot Seat'), category = _('View Cockpit')}, -{down = device_commands.Button_2, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 0.0, name = _('Set Operator Seat'), category = _('View Cockpit')}, - --- CHEAT -{down = iCommandEnginesStart, name = _('SA342 Auto execute full start procedure'), category = _('Cheat')}, -{down = iCommandEnginesStop, name = _('SA342 Auto execute full stop procedure') , category = _('Cheat')}, -{down = iCommandActivePauseOnOff, name = _('Active Pause'), category = _('Cheat')}, - --- General -{down = iCommandQuit, name = _('End mission'), category = _('General')}, -{down = iCommandBrakeGo, name = _('Pause'), category = _('General')}, -{down = iCommandAccelerate, name = _('Time accelerate'), category = _('General')}, -{down = iCommandDecelerate, name = _('Time decelerate'), category = _('General')}, -{down = iCommandNoAcceleration, name = _('Time normal'), category = _('General')}, -{down = iCommandChat, name = _('Multiplayer chat - mode All'), category = _('General')}, -{down = iCommandFriendlyChat, name = _('Multiplayer chat - mode Allies'), category = _('General')}, -{down = iCommandInfoOnOff, name = _('Info bar toggle'), category = _('General')}, -{down = iCommandRecoverHuman, name = _('Get New Plane - respawn'), category = _('General')}, -{down = iCommandCockpitClickModeOnOff, name = _('Clickable mouse cockpit mode On/Off'), category = _('General')}, -{down = iCommandScreenShot, name = _('Screenshot'), category = _('General')}, -{down = iCommandGraphicsFrameRate, name = _('Frame rate counter - Service info'), category = _('General')}, -{down = iCommandViewCoordinatesInLinearUnits, name = _('Info bar coordinate units toggle'), category = _('General')}, -{down = iCommandCockpitShowPilotOnOff, name = _('Show Pilot Body'), category = _('General')}, -{down = iCommandViewBriefing, name = _('View briefing on/off'), category = _('General')}, -{down = iCommandScoresWindowToggle, name = _('Score window'), category = _('General')}, -{down = iCommandDebriefing, name = _('Debriefing window'), category = _('General')}, -{down = iCommandMissionResourcesManagement, name = _('Rearming and Refueling Window'), category = _('General')}, - ---Night Vision Goggles -{down = device_commands.Button_5, up = device_commands.Button_5, cockpit_device_id = devices.HEAD_WRAPPER, value_down = 1, value_up = 0, name = _('SA342 Night Vision Goggles On/Off'), category = _('Night Vision Goggles')}, -{pressed = iCommandPlane_Helmet_Brightess_Up , name = _('Night Vision Goggles Gain Up') , category = _('Night Vision Goggles')}, -{pressed = iCommandPlane_Helmet_Brightess_Down, name = _('Night Vision Goggles Gain Down'), category = _('Night Vision Goggles')}, - -}, - -axisCommands = { - --- fvh: axes start -{action = device_commands.Button_1, cockpit_device_id = devices.FUEL, name = _('Fuel flow lever axis'), category = _('_My Buttons')}, --- fvh: axes end - --- joystick axes ---{combos = defaultDeviceAssignmentFor("roll") , action = iCommandPlaneRoll , name = _('Flight Control Cyclic Roll'), category = _('Controls')}, ---{combos = defaultDeviceAssignmentFor("pitch") , action = iCommandPlanePitch , name = _('Flight Control Cyclic Pitch'), category = _('Controls')}, -{combos = defaultDeviceAssignmentFor("roll") , action = iCommandPlaneRollDelta , name = _('Flight Control Cyclic Roll'), category = _('Controls')}, -{combos = defaultDeviceAssignmentFor("pitch") , action = iCommandPlanePitchDelta , name = _('Flight Control Cyclic Pitch'), category = _('Controls')}, ---{combos = defaultDeviceAssignmentFor("rudder") , action = iCommandPlaneRudder, name = _('Flight Control Rudder'), category = _('Controls')}, -{combos = defaultDeviceAssignmentFor("rudder") , action = iCommandPlaneRudderDelta, name = _('Flight Control Rudder'), category = _('Controls')}, -{combos = defaultDeviceAssignmentFor("thrust") , action = iCommandPlaneCollective, name = _('Flight Control Collective'), category = _('Controls')}, - --- Copilote Joystick axis --- {action = device_commands.Button_15, cockpit_device_id = devices.CONTROLS, name = _('Copilot Flight Control Cyclic Roll'), category = _('Controls')}, --- {action = device_commands.Button_14, cockpit_device_id = devices.CONTROLS, name = _('Copilot Flight Control Cyclic Pitch'), category = _('Controls')}, --- {action = device_commands.Button_17, cockpit_device_id = devices.CONTROLS, name = _('Copilot Flight Control Rudder'), category = _('Controls')}, --- {action = device_commands.Button_16, cockpit_device_id = devices.CONTROLS, name = _('Copilot Flight Control Collective'), category = _('Controls')}, - --- second joystick pour BCV -{action = iCommandPlaneSelecterVerticalAbs, name = _('SA342 BCV Slew Up/Down'), category = _('SA342 Video Command Box')}, -{action = iCommandPlaneSelecterHorizontalAbs, name = _('SA342 BCV Slew Left/Right'), category = _('SA342 Video Command Box')}, - --- Torque --- A brancher lorsqu'un bouton rotatif joystick sera dispo // pas manette des gaz ---{action = device_commands.Button_7, cockpit_device_id = devices.TORQUE, name = _('Torque Bug')}, --- HA --- A brancher lorsqu'un bouton rotatif joystick sera dispo // pas manette des gaz ---{action = device_commands.Button_10, cockpit_device_id = devices.FLIGHT_CONTROLS, name = _('Main Horizontal Attitude Set')}, - --- [TV] -{action = device_commands.Button_18, cockpit_device_id = devices.TV, name = _('SA342 TV Contrast'), category = _('SA342 TV')}, -{action = device_commands.Button_19, cockpit_device_id = devices.TV, name = _('SA342 TV Brightness'), category = _('SA342 TV')}, - --- UV LIGHT -{action = device_commands.Button_18, cockpit_device_id = devices.LIGHTS, name = _('SA342 UV Light'), category = _('SA342 Start Panel')}, - --- WP1 -{action = device_commands.Button_15, cockpit_device_id = devices.WEAPONS, name = _('SA342 Weapons Panel Brightness'), category = _('SA342 Weapons Panel')}, - --- RWR -{action = device_commands.Button_15, cockpit_device_id = devices.RWR, name = _('SA342 RWR Audio'), category = _('SA342 RWR')}, -{action = device_commands.Button_20, cockpit_device_id = devices.RWR, name = _('SA342 RWR Brightness'), category = _('SA342 RWR')}, - --- MAIN PANEL -{action = device_commands.Button_42, cockpit_device_id = devices.NAVLIGHTS, name = _('SA342 Strobe Intensity'), category = _('SA342 Main Panel')}, -{action = device_commands.Button_23, cockpit_device_id = devices.LIGHTS, name = _('SA342 PUP Intensity'), category = _('SA342 Main Panel')}, -{action = device_commands.Button_28, cockpit_device_id = devices.LIGHTS, name = _('SA342 PBO Intensity'), category = _('SA342 Main Panel')}, - --- INTERCOM 1 -{action = device_commands.Button_4, cockpit_device_id = devices.INTERCOM, name = _('SA342 VHF AM Radio Volume'), category = _('SA342 Intercom1')}, -{action = device_commands.Button_5, cockpit_device_id = devices.INTERCOM, name = _('SA342 FM1 Radio Volume'), category = _('SA342 Intercom1')}, -{action = device_commands.Button_6, cockpit_device_id = devices.INTERCOM, name = _('SA342 UHF Radio Volume'), category = _('SA342 Intercom1')}, - --- NADIR -{action = device_commands.Button_24, cockpit_device_id = devices.NADIR, name = _('SA342 NADIR Brightness'), category = _('SA342 NADIR')}, - --- ADF RADIO -{action = device_commands.Button_11, cockpit_device_id = devices.ADF, name = _('SA342 Gain'), category = _('SA342 ADF RADIO')}, - --- ROOF CONSOLE -{action = device_commands.Button_17, cockpit_device_id = devices.LIGHTS, name = _('SA342 Roof Lamp'), category = _('SA342 Roof Console')}, -{action = device_commands.Button_25, cockpit_device_id = devices.NAVLIGHTS, name = _('SA342 Formation Lights'), category = _('SA342 Roof Console')}, -{action = device_commands.Button_7, cockpit_device_id = devices.FUEL, name = _('SA342 Fuel Flow Lever'), category = _('SA342 Roof Console')}, -{action = device_commands.Button_6, cockpit_device_id = devices.ROTORS, name = _('SA342 Rotor Brake lever'), category = _('SA342 Roof Console')}, - --- mouse axes -{action = iCommandPlaneViewHorizontal, name = _('Camera Horizontal View')}, -{action = iCommandPlaneViewVertical, name = _('Camera Vertical View')}, -{action = iCommandPlaneZoomView, name = _('Camera Zoom View')}, - --- TrackIR axes -{action = iCommandViewVerticalAbs, name = _('Absolute Camera Vertical View')}, -{action = iCommandViewHorizontalAbs, name = _('Absolute Camera Horizontal View')}, -{action = iCommandViewHorTransAbs, name = _('Absolute Horizontal Shift Camera View')}, -{action = iCommandViewVertTransAbs, name = _('Absolute Vertical Shift Camera View')}, -{action = iCommandViewLongitudeTransAbs, name = _('Absolute Longitude Shift Camera View')}, -{action = iCommandViewRollAbs, name = _('Absolute Roll Shift Camera View')}, -{action = iCommandViewZoomAbs, name = _('Zoom View')}, - -}, -} diff --git a/Mods/aircraft/Uh-1H/Input/UH-1H/joystick/default.lua b/Mods/aircraft/Uh-1H/Input/UH-1H/joystick/default.lua index e3fa408..02ad074 100644 --- a/Mods/aircraft/Uh-1H/Input/UH-1H/joystick/default.lua +++ b/Mods/aircraft/Uh-1H/Input/UH-1H/joystick/default.lua @@ -304,7 +304,6 @@ keyCommands = { -- External Cargo -{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.CARGO_CAM, value_down = 1, value_up = 0, name = _('Toggle External Cargo Camera'), category = _("External Cargo")}, {down = iCommandExtCargoHook, name = _('External Cargo Hook'), category = _("External Cargo")}, {down = iCommandExternalCargoAutounhook, name = _('External Cargo Autounhook'), category = _("External Cargo")}, {down = iCommandExternalCargoIndicator, name = _("External Cargo Indicator"), category = _("External Cargo"), }, diff --git a/Mods/aircraft/Uh-1H/Input/UH-1H/keyboard/default.lua b/Mods/aircraft/Uh-1H/Input/UH-1H/keyboard/default.lua index a335311..a34d77b 100644 --- a/Mods/aircraft/Uh-1H/Input/UH-1H/keyboard/default.lua +++ b/Mods/aircraft/Uh-1H/Input/UH-1H/keyboard/default.lua @@ -219,7 +219,6 @@ keyCommands = { {combos = {{key = 'F1', reformers = {'LShift'}}}, down = iCommandViewTransposeModeOn, up = iCommandViewTransposeModeOff, name = _('Camera transpose mode (press and hold)'), category = _('View Cockpit')}, -- External Cargo -{combos = {{key = 'C', reformers = {'LCtrl','LShift'}}}, down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.CARGO_CAM, value_down = 1, value_up = 0, name = _('Toggle External Cargo Camera'), category = _("External Cargo")}, {combos = {{key = 'L', reformers = {'RCtrl','RShift'}}}, down = iCommandExtCargoHook, name = _('External Cargo Hook'), category = _("External Cargo")}, {combos = {{key = 'K', reformers = {'RCtrl','RShift'}}}, down = iCommandExternalCargoAutounhook, name = _('External Cargo Autounhook'), category = _("External Cargo")}, {combos = {{key = 'P', reformers = {'RCtrl','RShift'}}}, down = iCommandExternalCargoIndicator, name = _('External Cargo Indicator'), category = _("External Cargo")}, @@ -263,8 +262,8 @@ keyCommands = { {combos = {{key = 'F', reformers = {'LCtrl'}}}, down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.SYS_CONTROLLER, value_down = -1.0, value_up = 0.0, name = _('Caution Panel Dim Switch Dim'), category = _('Pedestal')}, -- Ins Cyclick Stick -{combos = {{key = 'Space'}}, down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = _('Pilot weapon release/Machinegun fire'), category = _('Ins Cyclic Stick')}, -{combos = {{key = 'Space', reformers = {'RAlt'}}}, down = iCommandPlanePickleOn, up = iCommandPlanePickleOff, name = _('Copilot weapon release'), category = _('Ins Cyclic Stick')}, +{combos = {{key = 'Space'}}, down = iCommandPlaneFire, up = iCommandPlaneFire, value_down = 1, value_up = 0, name = _('Pilot weapon release/Machinegun fire'), category = _('Ins Cyclic Stick')}, +{combos = {{key = 'Space', reformers = {'RAlt'}}}, down = iCommandPlanePickleOn, up = iCommandPlanePickleOn, value_down = 1, value_up = 0, name = _('Copilot weapon release'), category = _('Ins Cyclic Stick')}, {combos = {{key = 'Up'}}, pressed = iCommandPlaneUpStart , up = iCommandPlaneUpStop , name = _('Cyclic nose down'), category = _('Ins Cyclic Stick')}, {combos = {{key = 'Down'}}, pressed = iCommandPlaneDownStart , up = iCommandPlaneDownStop, name = _('Cyclic nose up'), category = _('Ins Cyclic Stick')},