function layout()
return {
forceFeedback = {
trimmer = 1,
shake = 0.5,
swapAxes = false,
invertX = false,
invertY = false,
},
keyCommands = {
{combos = {{key = "JOY_BTN31"}, }, down = iCommandPlaneModeNAV, name = "(1) Navigation Modes", category = "Modes"},
{down = iCommandPlaneModeFI0, name = "(6) Longitudinal Missile Aiming Mode", category = "Modes"},
{combos = {{key = "JOY_BTN32"}, }, down = iCommandPlaneModeGround, name = "(7) Air-To-Ground Mode", category = "Modes"},
{down = iCommandPlaneModeGrid, name = "(8) Gunsight Reticle Switch", category = "Modes"},
{down = iCommandPlaneAirBrake, name = "Airbrake", category = "Systems"},
{combos = {{key = "JOY_BTN7"}, }, down = iCommandPlaneAirBrakeOff, name = "Airbrake Off", category = "Systems"},
{combos = {{key = "JOY_BTN8"}, }, down = iCommandPlaneAirBrakeOn, name = "Airbrake On", category = "Systems"},
{down = iCommandPlaneLeftStart, up = iCommandPlaneLeftStop, name = "Aircraft Bank Left", category = "Flight Control"},
{down = iCommandPlaneRightStart, up = iCommandPlaneRightStop, name = "Aircraft Bank Right", category = "Flight Control"},
{down = iCommandPlaneUpStart, up = iCommandPlaneUpStop, name = "Aircraft Down", category = "Flight Control"},
{down = iCommandMarkerStatePlane, name = "Aircraft Labels", category = "Labels"},
{down = iCommandPlaneLeftRudderStart, up = iCommandPlaneLeftRudderStop, name = "Aircraft Rudder Left", category = "Flight Control"},
{down = iCommandPlaneRightRudderStart, up = iCommandPlaneRightRudderStop, name = "Aircraft Rudder Right", category = "Flight Control"},
{down = iCommandPlaneDownStart, up = iCommandPlaneDownStop, name = "Aircraft Up", category = "Flight Control"},
{combos = {{key = "JOY_BTN_POV1_U", reformers = {"Pinky", }}, }, down = iCommandMarkerState, name = "All Labels", category = "Labels"},
{down = iCommandAllMissilePadlock, name = "All missiles padlock", category = "View Padlock"},
{pressed = iCommandAltimeterPressureDecrease, up = iCommandAltimeterPressureStop, name = "Altimeter Pressure Decrease Su-25T", category = "Systems"},
{pressed = iCommandAltimeterPressureIncrease, up = iCommandAltimeterPressureStop, name = "Altimeter Pressure Increase Su-25T", category = "Systems"},
{down = iCommandPlaneAttackMyTarget, name = "Attack My Target", category = "Communications"},
{combos = {{key = "JOY_BTN21"}, {key = "JOY_BTN21", reformers = {"Pinky", }}, }, down = iCommandPlaneResetMasterWarning, name = "Audible Warning Reset", category = "Systems"},
{down = iCommandAutoLockOnCenterAircraft, name = "Auto lock on center aircraft", category = "Simplifications"},
{down = iCommandAutoLockOnCenterSurfaceTarget, name = "Auto lock on center surface target", category = "Simplifications"},
{down = iCommandAutoLockOnNearestAircraft, name = "Auto lock on nearest aircraft", category = "Simplifications"},
{down = iCommandAutoLockOnNearestSurfaceTarget, name = "Auto lock on nearest surface target", category = "Simplifications"},
{down = iCommandAutoLockOnNextAircraft, name = "Auto lock on next aircraft", category = "Simplifications"},
{down = iCommandAutoLockOnNextSurfaceTarget, name = "Auto lock on next surface target", category = "Simplifications"},
{down = iCommandAutoLockOnPreviousAircraft, name = "Auto lock on previous aircraft", category = "Simplifications"},
{down = iCommandAutoLockOnPreviousSurfaceTarget, name = "Auto lock on previous surface target", category = "Simplifications"},
{down = iCommandPlaneAutopilot, name = "Autopilot", category = "Autopilot"},
{combos = {{key = "JOY_BTN27"}, }, down = iCommandPlaneRouteAutopilot, up = iCommandPlaneStabHbarBank, name = "Autopilot - 'Route following'", category = "Autopilot"},
{down = iCommandPlaneStabHbarBank, name = "Autopilot - Altitude And Roll Hold", category = "Autopilot"},
{down = iCommandPlaneStabTangBank, name = "Autopilot - Attitude Hold", category = "Autopilot"},
{down = iCommandPlaneStabHbar, up = iCommandPlaneStabHbarBank, name = "Autopilot - Barometric Altitude Hold", category = "Autopilot"},
{down = iCommandPlaneSAUHBarometric, up = iCommandPlaneStabHbarBank, name = "Autopilot - Barometric Altitude Hold 'H'", category = "Autopilot"},
{down = iCommandPlaneSAUHBarometric, name = "Autopilot - Barometric Altitude Hold 'H'", category = "Autopilot"},
{combos = {{key = "JOY_BTN28"}, }, down = iCommandPlaneStabHrad, up = iCommandPlaneStabHbarBank, name = "Autopilot - Radar Altitude Hold", category = "Autopilot"},
{down = iCommandPlaneStabHorizon, name = "Autopilot - Transition To Level Flight Control", category = "Autopilot"},
{combos = {{key = "JOY_BTN26"}, {key = "JOY_BTN26", reformers = {"Pinky", }}, }, down = iCommandPlaneStabCancel, name = "Autopilot Disengage", category = "Autopilot"},
{combos = {{key = "JOY_BTN15"}, }, down = iCommandPlaneAutopilotOverrideOn, up = iCommandPlaneAutopilotOverrideOff, name = "Autopilot override (Su-25T)", category = "Autopilot"},
{down = iCommandViewCameraJiggle, name = "Camera jiggle toggle", category = "View Extended"},
{down = iCommandViewPanToggle, name = "Camera pan mode toggle", category = "View Cockpit"},
{down = iCommandViewCameraDownSlow, name = "Camera snap view down", category = "View Cockpit"},
{down = iCommandViewCameraDownLeftSlow, name = "Camera snap view down-left", category = "View Cockpit"},
{down = iCommandViewCameraDownRightSlow, name = "Camera snap view down-right", category = "View Cockpit"},
{down = iCommandViewCameraLeftSlow, name = "Camera snap view left", category = "View Cockpit"},
{down = iCommandViewCameraRightSlow, name = "Camera snap view right", category = "View Cockpit"},
{down = iCommandViewCameraUpSlow, name = "Camera snap view up", category = "View Cockpit"},
{down = iCommandViewCameraUpLeftSlow, name = "Camera snap view up-left", category = "View Cockpit"},
{down = iCommandViewCameraUpRightSlow, name = "Camera snap view up-right", category = "View Cockpit"},
{down = iCommandPlaneModeCannon, name = "Cannon", category = "Weapons"},
{down = iCommandPlaneFonar, name = "Canopy Open/Close", category = "Systems"},
{down = iCommandViewCameraCenter, name = "Center Camera View", 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"},
{pressed = iCommandViewPitCameraMoveDown, up = iCommandViewPitCameraMoveStop, name = "Cockpit Camera Move Down", category = "View Cockpit"},
{pressed = iCommandViewPitCameraMoveForward, up = iCommandViewPitCameraMoveStop, name = "Cockpit Camera Move Forward", 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 = iCommandViewPitCameraMoveUp, up = iCommandViewPitCameraMoveStop, name = "Cockpit Camera Move Up", category = "View Cockpit"},
{down = iCommandViewTempCockpitOn, up = iCommandViewTempCockpitOff, name = "Cockpit panel view in", category = "View Cockpit"},
{down = iCommandViewTempCockpitToggle, name = "Cockpit panel view toggle", category = "View Cockpit"},
{combos = {{key = "JOY_BTN3"}, }, down = iCommandToggleCommandMenu, name = "Communication menu", category = "Communications"},
{down = iCommandPlaneDropChaffOnce, name = "Countermeasures Chaff Dispense", category = "Countermeasures"},
{down = iCommandPlaneDropSnar, name = "Countermeasures Continuously Dispense", category = "Countermeasures"},
{down = iCommandPlaneDropFlareOnce, name = "Countermeasures Flares Dispense", category = "Countermeasures"},
{down = iCommandPlaneDropSnarOnce, up = iCommandPlaneDropSnarOnceOff, name = "Countermeasures Release", category = "Countermeasures"},
{down = iCommandPlaneCoverMySix, name = "Cover Me", category = "Communications"},
{down = iCommandViewSnapView0, up = iCommandViewSnapViewStop, name = "Custom Snap View  0", category = "View Cockpit"},
{down = iCommandViewSnapView1, up = iCommandViewSnapViewStop, name = "Custom Snap View  1", category = "View Cockpit"},
{down = iCommandViewSnapView2, up = iCommandViewSnapViewStop, name = "Custom Snap View  2", category = "View Cockpit"},
{down = iCommandViewSnapView3, up = iCommandViewSnapViewStop, name = "Custom Snap View  3", category = "View Cockpit"},
{down = iCommandViewSnapView4, up = iCommandViewSnapViewStop, name = "Custom Snap View  4", category = "View Cockpit"},
{down = iCommandViewSnapView5, up = iCommandViewSnapViewStop, name = "Custom Snap View  5", category = "View Cockpit"},
{down = iCommandViewSnapView6, up = iCommandViewSnapViewStop, name = "Custom Snap View  6", category = "View Cockpit"},
{down = iCommandViewSnapView7, up = iCommandViewSnapViewStop, name = "Custom Snap View  7", category = "View Cockpit"},
{down = iCommandViewSnapView8, up = iCommandViewSnapViewStop, name = "Custom Snap View  8", category = "View Cockpit"},
{down = iCommandViewSnapView9, up = iCommandViewSnapViewStop, name = "Custom Snap View  9", category = "View Cockpit"},
{down = iCommandChangeGunRateOfFire, name = "Cut Of Burst select", category = "Weapons"},
{down = iCommandPlaneZoomIn, name = "Display Zoom In", category = "Sensors"},
{down = iCommandPlaneZoomOut, name = "Display Zoom Out", category = "Sensors"},
{combos = {{key = "JOY_BTN12", reformers = {"Pinky", }}, }, down = iCommandPlaneParachute, name = "Dragging Chute", category = "Systems"},
{down = iCommandActiveJamming, name = "ECM", category = "Countermeasures"},
{down = iCommandPlaneRadarOnOff, name = "ELINT Pod On/Off", category = "Sensors"},
{down = iCommandPlaneEject, name = "Eject (3 times)", category = "Systems"},
{combos = {{key = "JOY_BTN20"}, }, down = iCommandPowerOnOff, up = iCommandPowerOnOff, name = "Electric Power Switch", category = "Systems"},
{down = iCommandPlaneEOSOnOff, name = "Electro-Optical System On/Off", category = "Sensors"},
{down = iCommandQuit, name = "End mission", category = "General"},
{down = iCommandLeftEngineStart, name = "Engine Left Start", category = "Systems"},
{down = iCommandLeftEngineStop, name = "Engine Left Stop", category = "Systems"},
{down = iCommandRightEngineStart, name = "Engine Right Start", category = "Systems"},
{down = iCommandRightEngineStop, name = "Engine Right Stop", category = "Systems"},
{down = iCommandEnginesStart, name = "Engines Start", category = "Systems"},
{down = iCommandEnginesStop, name = "Engines Stop", category = "Systems"},
{down = iCommandViewCockpit, name = "F1 Cockpit view", category = "View"},
{down = iCommandViewHUDOnlyOnOff, name = "F1 HUD only view switch", category = "View"},
{down = iCommandViewPitHeadOnOff, name = "F1 Head shift movement on / off", category = "View"},
{down = iCommandNaturalViewCockpitIn, name = "F1 Natural head movement view", category = "View"},
{down = iCommandViewAWACSJump, name = "F10 Jump to theater map view over current point", category = "View"},
{down = iCommandViewAWACS, name = "F10 Theater map view", category = "View"},
{down = iCommandViewFree, name = "F11 Airport free camera", category = "View"},
{down = iCommandViewSlowDown, name = "F11 Camera moving backward", category = "View"},
{down = iCommandViewSpeedUp, name = "F11 Camera moving forward", category = "View"},
{down = iCommandViewFreeJump, name = "F11 Jump to free camera", category = "View"},
{down = iCommandViewMirage, name = "F12 Civil traffic view", category = "View"},
{down = iCommandViewStatic, name = "F12 Static object view", category = "View"},
{down = iCommandViewLocomotivesToggle, name = "F12 Trains/cars toggle", category = "View"},
{down = iCommandViewAir, name = "F2 Aircraft view", category = "View"},
{down = iCommandViewFromTo, name = "F2 Toggle camera position", category = "View"},
{down = iCommandViewLocal, name = "F2 Toggle local camera control", category = "View"},
{down = iCommandViewMe, name = "F2 View own aircraft", category = "View"},
{down = iCommandViewTowerJump, name = "F3 Fly-By jump view", category = "View"},
{down = iCommandViewTower, name = "F3 Fly-By view", category = "View"},
{down = iCommandViewChase, name = "F4 Chase view", category = "View"},
{down = iCommandViewRear, name = "F4 Look back view", category = "View"},
{down = iCommandViewFightGround, name = "F5 Ground hostile view", category = "View"},
{down = iCommandViewFight, name = "F5 nearest AC view", category = "View"},
{down = iCommandViewWeapons, name = "F6 Released weapon view", category = "View"},
{combos = {{key = "JOY_BTN_POV1_D", reformers = {"Pinky", }}, }, down = iCommandViewWeaponAndTarget, name = "F6 Weapon to target view", category = "View"},
{down = iCommandViewGround, name = "F7 Ground unit view", category = "View"},
{down = iCommandViewTargetType, name = "F8 Player targets/All targets filter", category = "View"},
{down = iCommandViewTargets, name = "F8 Target view", category = "View"},
{down = iCommandViewLndgOfficer, name = "F9 Landing signal officer view", category = "View"},
{down = iCommandViewNavy, name = "F9 Ship view", category = "View"},
{combos = {{key = "JOY_BTN23"}, }, down = iCommandPlaneFlapsOn, up = iCommandPlaneFlaps, name = "Flaps Landing Position", category = "Systems"},
{combos = {{key = "JOY_BTN22"}, }, down = iCommandPlaneFlapsOff, up = iCommandPlaneFlaps, name = "Flaps Up", category = "Systems"},
{down = iCommandPlaneFlaps, name = "Flaps Up/Down", category = "Systems"},
{down = iCommandPlane_EngageAirDefenses, name = "Flight - Attack air defenses", category = "Communications"},
{down = iCommandPlane_EngageGroundTargets, name = "Flight - Attack ground targets", category = "Communications"},
{down = iCommandPlaneDoAndHome, name = "Flight - Complete mission and RTB", category = "Communications"},
{down = iCommandPlaneDoAndBack, name = "Flight - Complete mission and rejoin", category = "Communications"},
{down = iCommandFlightClockReset, name = "Flight Clock Start/Stop/Reset", category = "Systems"},
{down = iCommandGraphicsFrameRate, name = "Frame rate counter - Service info", category = "General"},
{down = iCommandPlaneFuelOn, up = iCommandPlaneFuelOff, name = "Fuel Dump", category = "Systems"},
{down = iCommandPlaneHeadLightOnOff, name = "Gear Light Near/Far/Off", category = "Systems"},
{down = iCommandRecoverHuman, name = "Get new plane - respown", category = "General"},
{down = iCommandViewCameraDown, up = iCommandViewCameraCenter, name = "Glance down", category = "View Cockpit"},
{down = iCommandViewCameraDownLeft, up = iCommandViewCameraCenter, name = "Glance down-left", category = "View Cockpit"},
{down = iCommandViewCameraDownRight, up = iCommandViewCameraCenter, name = "Glance down-right", category = "View Cockpit"},
{down = iCommandViewCameraLeft, up = iCommandViewCameraCenter, name = "Glance left", category = "View Cockpit"},
{down = iCommandViewCameraRight, up = iCommandViewCameraCenter, name = "Glance right", category = "View Cockpit"},
{down = iCommandViewCameraUp, up = iCommandViewCameraCenter, name = "Glance up", category = "View Cockpit"},
{down = iCommandViewCameraUpLeft, up = iCommandViewCameraCenter, name = "Glance up-left", category = "View Cockpit"},
{down = iCommandViewCameraUpRight, up = iCommandViewCameraCenter, name = "Glance up-right", category = "View Cockpit"},
{down = iCommandBrightnessILS, name = "HUD Color", category = "Systems"},
{down = iCommandActiveIRJamming, name = "IR Jamming", category = "Countermeasures"},
{down = iCommandPlaneCockpitIllumination, name = "Illumination Cockpit", category = "Systems"},
{down = iCommandViewCoordinatesInLinearUnits, name = "Info bar coordinate units toogle", category = "General"},
{down = iCommandInfoOnOff, name = "Info bar view toggle", category = "General"},
{down = iCommandPlaneJettisonFuelTanks, name = "Jettison Fuel Tanks", category = "Systems"},
{down = iCommandPlaneJoinUp, name = "Join Up Formation", category = "Communications"},
{down = iCommandPlaneJump, name = "Jump into other aircraft", category = "General"},
{down = iCommandViewKeepTerrain, name = "Keep terrain camera altitude", category = "View Extended"},
{down = iCommandViewFastKeyboard, name = "Keyboard Rate Fast", category = "View"},
{down = iCommandViewNormalKeyboard, name = "Keyboard Rate Normal", category = "View"},
{down = iCommandViewSlowKeyboard, name = "Keyboard Rate Slow", category = "View"},
{down = iCommandPlaneGearDown, name = "Landing Gear Down", category = "Systems"},
{down = iCommandPlaneGearUp, name = "Landing Gear Up", category = "Systems"},
{down = iCommandPlaneGear, name = "Landing Gear Up/Down", category = "Systems"},
{down = iCommandPlaneLaserRangerOnOff, up = iCommandPlaneLaserRangerOnOff, name = "Laser Ranger On/Off", category = "Sensors"},
{down = iCommandPlaneLaunchPermissionOverride, name = "Launch Permission Override", category = "Weapons"},
{down = iCommandViewLock, name = "Lock View (cycle padlock)", category = "View Padlock"},
{down = iCommandViewTerrainLock, name = "Lock terrain view", category = "View Padlock"},
{combos = {{key = "JOY_BTN_POV1_L", reformers = {"Pinky", }}, }, down = iCommandViewLeftMirrorOn, up = iCommandViewLeftMirrorOff, name = "Mirror Left On", category = "View Cockpit"},
{combos = {{key = "JOY_BTN_POV1_R", reformers = {"Pinky", }}, }, down = iCommandViewRightMirrorOn, up = iCommandViewRightMirrorOff, name = "Mirror Right On", category = "View Cockpit"},
{down = iCommandMarkerStateRocket, name = "Missile Labels", category = "Labels"},
{down = iCommandViewFastMouse, name = "Mouse Rate Fast", category = "View"},
{down = iCommandViewNormalMouse, name = "Mouse Rate Normal", category = "View"},
{down = iCommandViewSlowMouse, name = "Mouse Rate Slow", category = "View"},
{down = iCommandCockpitClickModeOnOff, name = "Mouse cursor cockpit mode", category = "General"},
{down = iCommandChat, name = "Multiplayer chat - mode All", category = "General"},
{down = iCommandFriendlyChat, name = "Multiplayer chat - mode Allies", category = "General"},
{combos = {{key = "JOY_BTN13"}, {key = "JOY_BTN14"}, }, down = iCommandPlaneLightsOnOff, name = "Navigation lights", category = "Systems"},
{down = iCommandPlaneChangeTarget, name = "Next Waypoint, Airfield Or Target", category = "Modes"},
{down = iCommandPlaneNightTVOnOff, name = "Night Vision (FLIR or LLTV) On/Off", category = "Sensors"},
{down = iCommandViewObjectIgnore, name = "Object exclude ", category = "View Extended"},
{down = iCommandViewObjectsAll, name = "Objects all excluded - include", category = "View Extended"},
{down = iCommandViewSwitchForward, name = "Objects switching direction forward ", category = "View Extended"},
{down = iCommandViewSwitchReverse, name = "Objects switching direction reverse ", category = "View Extended"},
{combos = {{key = "JOY_BTN15", reformers = {"Pinky", }}, }, down = iCommandBrakeGo, name = "Pause", category = "General"},
{pressed = iCommandPlaneAUTDecrease, name = "Power Down", category = "Flight Control"},
{pressed = iCommandPlaneAUTDecreaseLeft, name = "Power Down Left", category = "Flight Control"},
{pressed = iCommandPlaneAUTDecreaseRight, name = "Power Down Right", category = "Flight Control"},
{pressed = iCommandPlaneAUTIncrease, name = "Power Up", category = "Flight Control"},
{pressed = iCommandPlaneAUTIncreaseLeft, name = "Power Up Left", category = "Flight Control"},
{pressed = iCommandPlaneAUTIncreaseRight, name = "Power Up Right", category = "Flight Control"},
{down = iCommandChangeRWRMode, name = "RWR/SPO Mode Select", category = "Sensors"},
{down = iCommandPlaneThreatWarnSoundVolumeDown, name = "RWR/SPO Sound Signals Volume Down", category = "Sensors"},
{down = iCommandPlaneThreatWarnSoundVolumeUp, name = "RWR/SPO Sound Signals Volume Up", category = "Sensors"},
{down = iCommandMissionResourcesManagement, name = "Rearming and Refueling Window", category = "General"},
{down = iCommandAWACSTankerBearing, name = "Request AWACS Available Tanker", category = "Communications"},
{down = iCommandAWACSHomeBearing, name = "Request AWACS Home Airbase", category = "Communications"},
{down = iCommandViewCameraReturn, name = "Return Camera", category = "View Cockpit"},
{down = iCommandViewCameraBaseReturn, name = "Return Camera Base", category = "View Cockpit"},
{down = iCommandChangeRippleIntervalDown, name = "Ripple Interval Decrease", category = "Weapons"},
{down = iCommandChangeRippleInterval, name = "Ripple Interval Increase", category = "Weapons"},
{down = iCommandChangeRippleQuantity, name = "Ripple Quantity Select/SPPU select", category = "Weapons"},
{down = iCommandPlaneSalvoOnOff, name = "Salvo Mode", category = "Weapons"},
{down = iCommandViewSaveAngles, name = "Save Cockpit Angles", category = "View Cockpit"},
{down = iCommandScoresWindowToggle, name = "Score window", category = "General"},
{down = iCommandScreenShot, name = "Screenshot", category = "General"},
{down = iCommandPlaneShipTakeOff, name = "Ship Take Off Position", category = "General"},
{down = iCommandPlane_ShowControls, name = "Show controls indicator", category = "General"},
{down = iCommandPlaneWingtipSmokeOnOff, name = "Smoke", category = "Systems"},
{down = iCommandSoundOnOff, name = "Sound On/Off", category = "General"},
{down = ICommandSwitchDialog, name = "Switch dialog", category = "Communications"},
{down = ICommandSwitchToCommonDialog, name = "Switch to main menu", category = "Communications"},
{pressed = iCommandPlaneRadarDown, up = iCommandPlaneRadarStop, name = "Target Designator Down", category = "Sensors"},
{pressed = iCommandPlaneRadarLeft, up = iCommandPlaneRadarStop, name = "Target Designator Left", category = "Sensors"},
{pressed = iCommandPlaneRadarRight, up = iCommandPlaneRadarStop, name = "Target Designator Right", category = "Sensors"},
{down = iCommandPlaneRadarCenter, name = "Target Designator To Center", category = "Sensors"},
{pressed = iCommandPlaneRadarUp, up = iCommandPlaneRadarStop, name = "Target Designator Up", category = "Sensors"},
{down = iCommandPlaneChangeLock, name = "Target Lock", category = "Sensors"},
{pressed = iCommandPlaneDecreaseBase_Distance, up = iCommandPlaneStopBase_Distance, name = "Target Size / Gunpod Elevation Decrease", category = "Sensors"},
{down = iCommandDecreaseRadarScanArea, name = "Target Size / Gunpod Elevation Decrease Stepping", category = "Sensors"},
{pressed = iCommandPlaneIncreaseBase_Distance, up = iCommandPlaneStopBase_Distance, name = "Target Size / Gunpod Elevation Increase", category = "Sensors"},
{down = iCommandIncreaseRadarScanArea, name = "Target Size / Gunpod Elevation Increase Stepping", category = "Sensors"},
{down = iCommandRefusalTWS, name = "Target Unlock", category = "Sensors"},
{down = iCommandThreatMissilePadlock, name = "Threat missile padlock", category = "View Padlock"},
{down = iCommandPlaneAUTDecreaseRegime, name = "Thrust Down", category = "Flight Control"},
{down = iCommandPlaneAUTDecreaseRegimeLeft, name = "Thrust Down Left", category = "Flight Control"},
{down = iCommandPlaneAUTDecreaseRegimeRight, name = "Thrust Down Right", category = "Flight Control"},
{down = iCommandPlaneAUTIncreaseRegime, name = "Thrust Up", category = "Flight Control"},
{down = iCommandPlaneAUTIncreaseRegimeLeft, name = "Thrust Up Left", category = "Flight Control"},
{down = iCommandPlaneAUTIncreaseRegimeRight, name = "Thrust Up Right", category = "Flight Control"},
{down = iCommandAccelerate, name = "Time accelerate", category = "General"},
{down = iCommandDecelerate, name = "Time decelerate", category = "General"},
{down = iCommandNoAcceleration, name = "Time normal", category = "General"},
{down = iCommandPlaneFormation, name = "Toggle Formation", category = "Communications"},
{down = iCommandViewPlus, name = "Toggle tracking fire weapon", category = "View Extended"},
{pressed = iCommandPlaneTrimDown, up = iCommandPlaneTrimStop, name = "Trim Down", category = "Flight Control"},
{pressed = iCommandPlaneTrimLeft, up = iCommandPlaneTrimStop, name = "Trim Left", category = "Flight Control"},
{pressed = iCommandPlaneTrimLeftRudder, up = iCommandPlaneTrimStop, name = "Trim Left Rudder", category = "Flight Control"},
{down = iCommandPlaneTrimCancel, name = "Trim Reset", category = "Flight Control"},
{pressed = iCommandPlaneTrimRight, up = iCommandPlaneTrimStop, name = "Trim Right", category = "Flight Control"},
{pressed = iCommandPlaneTrimRightRudder, up = iCommandPlaneTrimStop, name = "Trim Right Rudder", category = "Flight Control"},
{pressed = iCommandPlaneTrimUp, up = iCommandPlaneTrimStop, name = "Trim Up", category = "Flight Control"},
{down = iCommandViewUnlock, name = "Unlock view (stop padlock)", category = "View Padlock"},
{down = iCommandMarkerStateShip, name = "Vehicle & Ship Labels", category = "Labels"},
{pressed = iCommandViewCenter, name = "View Center", category = "View"},
{pressed = iCommandViewDownLeftSlow, up = iCommandViewStopSlow, name = "View Down Left slow", category = "View"},
{pressed = iCommandViewDownRightSlow, up = iCommandViewStopSlow, name = "View Down Right slow", category = "View"},
{pressed = iCommandViewDownSlow, up = iCommandViewStopSlow, name = "View Down slow", category = "View"},
{pressed = iCommandViewLeftSlow, up = iCommandViewStopSlow, name = "View Left slow", category = "View"},
{pressed = iCommandViewRightSlow, up = iCommandViewStopSlow, name = "View Right slow", category = "View"},
{pressed = iCommandViewUpLeftSlow, up = iCommandViewStopSlow, name = "View Up Left slow", category = "View"},
{pressed = iCommandViewUpRightSlow, up = iCommandViewStopSlow, name = "View Up Right slow", category = "View"},
{pressed = iCommandViewUpSlow, up = iCommandViewStopSlow, name = "View Up slow", category = "View"},
{down = iCommandViewAll, name = "View all mode", category = "View Extended"},
{pressed = iCommandViewDown, up = iCommandViewStop, name = "View down", category = "View Cockpit"},
{pressed = iCommandViewDownLeft, up = iCommandViewStop, name = "View down left", category = "View Cockpit"},
{pressed = iCommandViewDownRight, up = iCommandViewStop, name = "View down right", category = "View Cockpit"},
{down = iCommandViewEnemies, name = "View enemies mode", category = "View Extended"},
{down = iCommandViewFriends, name = "View friends mode", category = "View Extended"},
{pressed = iCommandViewLeft, up = iCommandViewStop, name = "View left", category = "View Cockpit"},
{pressed = iCommandViewRight, up = iCommandViewStop, name = "View right", category = "View Cockpit"},
{pressed = iCommandViewUp, up = iCommandViewStop, name = "View up", category = "View Cockpit"},
{pressed = iCommandViewUpLeft, up = iCommandViewStop, name = "View up left", category = "View Cockpit"},
{pressed = iCommandViewUpRight, up = iCommandViewStop, name = "View up right", category = "View Cockpit"},
{down = iCommandPlaneChangeWeapon, name = "Weapon Change", category = "Weapons"},
{down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = "Weapon Fire", category = "Weapons"},
{down = iCommandPlaneJettisonWeapons, name = "Weapons Jettison", category = "Systems"},
{combos = {{key = "JOY_BTN10"}, }, down = iCommandPlaneWheelBrakeOn, up = iCommandPlaneWheelBrakeOff, name = "Wheel Brake On", category = "Systems"},
{pressed = iCommandViewExternalZoomIn, up = iCommandViewExternalZoomInStop, name = "Zoom external in", category = "View"},
{down = iCommandViewExternalZoomDefault, name = "Zoom external normal", category = "View"},
{pressed = iCommandViewExternalZoomOut, up = iCommandViewExternalZoomOutStop, name = "Zoom external out", category = "View"},
{pressed = iCommandViewForward, up = iCommandViewForwardStop, name = "Zoom in", category = "View Cockpit"},
{combos = {{key = "JOY_BTN4", reformers = {"Pinky", }}, }, pressed = iCommandViewForwardSlow, up = iCommandViewForwardSlowStop, name = "Zoom in slow", category = "View"},
{combos = {{key = "JOY_BTN3", reformers = {"Pinky", }}, }, down = iCommandViewAngleDefault, name = "Zoom normal", category = "View"},
{pressed = iCommandViewBack, up = iCommandViewBackStop, name = "Zoom out", category = "View Cockpit"},
{combos = {{key = "JOY_BTN6", reformers = {"Pinky", }}, }, pressed = iCommandViewBackSlow, up = iCommandViewBackSlowStop, name = "Zoom out slow", category = "View"},
},
axisCommands = {
{action = iCommandPlaneViewHorizontal, name = "Camera Horizontal View"},
{action = iCommandPlaneViewVertical, name = "Camera Vertical View"},
{action = iCommandViewHorTrans, name = "Camera View Horizontal Shift"},
{action = iCommandViewLongitudeTrans, name = "Camera View Longitude Shift"},
{action = iCommandViewVertTrans, name = "Camera View Vertical Shift"},
{action = iCommandPlaneZoomView, name = "Camera Zoom View"},
{action = iCommandViewLongitudeTransAbs, name = "Cockpit camera move forward/backward"},
{action = iCommandViewHorTransAbs, name = "Cockpit camera move lateral"},
{action = iCommandViewVertTransAbs, name = "Cockpit camera move vertical"},
{action = iCommandViewRollAbs, name = "Cockpit camera roll"},
{action = iCommandViewHorizontalAbs, name = "Horizontal View"},
{combos = {{key = "JOY_X", filter = {saturationX = 1, saturationY = 0.25, deadzone = 0.3, invert = false, slider = false, curvature = {0}}}, }, action = iCommandPlaneSelecterHorizontalAbs, name = "I-251 Slew Horizontal"},
{combos = {{key = "JOY_Y", filter = {saturationX = 1, saturationY = 0.25, deadzone = 0.3, invert = true, slider = false, curvature = {0}}}, }, action = iCommandPlaneSelecterVerticalAbs, name = "I-251 Slew Vertical"},
{action = iCommandPlaneMFDZoomAbs, name = "I-251 Zoom"},
{action = iCommandPlanePitch, name = "Pitch"},
{action = iCommandPlaneRoll, name = "Roll"},
{action = iCommandPlaneRudder, name = "Rudder"},
{combos = {{key = "JOY_SLIDER1", filter = {saturationX = 1, saturationY = 1, deadzone = 0, invert = true, slider = true, curvature = {0}}}, }, action = iCommandPlaneBase_DistanceAbs, name = "Target Box Size / Funnel target wing span / Gunpod Elevation"},
{action = iCommandPlaneThrustCommon, name = "Thrust"},
{combos = {{key = "JOY_RZ"}, }, action = iCommandPlaneThrustLeft, name = "Thrust Left"},
{combos = {{key = "JOY_Z"}, }, action = iCommandPlaneThrustRight, name = "Thrust Right"},
{action = iCommandPlaneTrimPitchAbs, name = "Trim Pitch"},
{action = iCommandPlaneTrimRollAbs, name = "Trim Roll"},
{action = iCommandPlaneTrimRudderAbs, name = "Trim Rudder"},
{action = iCommandViewVerticalAbs, name = "Vertical View"},
{action = iCommandViewZoomAbs, name = "Zoom View"},
},
}
end