function layout()
return {


forceFeedback = {
trimmer = 1.0,
shake = 0.5,
swapAxes = false,
},

keyCommands = {

-- 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 = iCommandScoresWindowToggle, name = 'Score window', category = 'General'},
{down = iCommandTrkEsc, name = 'Playback track cancel', 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 view toggle', category = 'General'},
{down = iCommandRecoverHuman, name = 'Get New Plane - respawn', category = 'General'},
{down = iCommandCockpitClickModeOnOff, name = 'Clickable mouse cockpit mode On/Off', category = 'General'},
--{down = iCommandPlaneJump, name = 'Jump into other aircraft', category = 'General'},
{down = iCommandScreenShot, name = 'Screenshot', category = 'General'},
{down = iCommandGraphicsFrameRate, name = 'Frame rate counter - Service info', category = 'General'},
{down = iCommandViewCoordinatesInLinearUnits, name = 'Coordinates units change', category = 'General'},
{down = iCommandCockpitShowPilotOnOff, name = 'Show Pilot Body', category = 'General'},
{down = iCommandPlane_ShowControls, name = 'Show Controls position' , category = 'General'},

-- View                                                    
{combos = {{key = 'JOY_BTN_POV1_L'}}, pressed = iCommandViewLeftSlow, up = iCommandViewStopSlow, name = 'View Left slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_R'}}, pressed = iCommandViewRightSlow, up = iCommandViewStopSlow, name = 'View Right slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_U'}}, pressed = iCommandViewUpSlow, up = iCommandViewStopSlow, name = 'View Up slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_D'}}, pressed = iCommandViewDownSlow, up = iCommandViewStopSlow, name = 'View Down slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_UR'}}, pressed = iCommandViewUpRightSlow, up = iCommandViewStopSlow, name = 'View Up Right slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_DR'}}, pressed = iCommandViewDownRightSlow, up = iCommandViewStopSlow, name = 'View Down Right slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_DL'}}, pressed = iCommandViewDownLeftSlow, up = iCommandViewStopSlow, name = 'View Down Left slow', category = 'View'},
{combos = {{key = 'JOY_BTN_POV1_UL'}}, pressed = iCommandViewUpLeftSlow, up = iCommandViewStopSlow, name = 'View Up Left slow', category = 'View'},
{combos = {{key = 'JOY_BTN3'}}, 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 Air hostile 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'},

-- 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 = iCommandViewFastKeyboard, name = 'Fast cockpit keyboard', category = 'View Cockpit'},
{down = iCommandViewSlowKeyboard, name = 'Slow cockpit keyboard', category = 'View Cockpit'},
{down = iCommandViewNormalKeyboard, name = 'Normal cockpit keyboard speed', category = 'View Cockpit'},
{down =  iCommandViewFastMouse, name = 'Fast cockpit mouse', category = 'View Cockpit'},
{down = iCommandViewSlowMouse, name = 'Slow cockpit mouse', category = 'View Cockpit'},
{down = iCommandViewNormalMouse, name = 'Normal cockpit mouse speed', 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'},

-- 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 fire 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'},

-- Ins Forward panel and gauges
{down = iCommandPlaneGear, name = 'Gear lever', category = 'Systems'},
-- Ins HUD controls
{down = iCommandPlaneHUDFilterOnOff, name = 'Raise/Lower Colour Filter On HUD', category = 'Systems'},

-- Ins Countermeasures dispensers (Ка-50 - щиток УВ-26)
{down = iCommandPlaneCMDDispence,  up = iCommandPlaneCMDDispenceOff, name = 'UV-26 Start Dispense', category = 'Systems'},
-- Ins Cyclick Stick
{pressed = iCommandPlaneDesignate_CageOn, up = iCommandPlaneDesignate_CageOff, name = 'Uncage SHKVAL, designate target', category = 'Targeting'},
-- pressed = iCommandPlaneRadarUp, up = iCommandPlaneRadarStop, name = 'KU-31 Shkval slew up', category = 'Targeting'},
--{pressed = iCommandPlaneRadarDown, up = iCommandPlaneRadarStop, name = 'KU-31 Shkval slew down', category = 'Targeting'},
--{pressed = iCommandPlaneRadarLeft, up = iCommandPlaneRadarStop, name = 'KU-31 Shkval slew left', category = 'Targeting'},
--{pressed = iCommandPlaneRadarRight, up = iCommandPlaneRadarStop, name = 'KU-31 Shkval slew right', category = 'Targeting'},
--{down = iCommandPlaneRadarCenter, name = 'KU-31 Shkval center', category = 'Targeting'},
{combos = {{key = 'JOY_BTN1'}}, down = iCommandPlaneFire, up = iCommandPlaneFireOff, name = 'Fire', category = 'Weapons'},
{down = iCommandPlaneModeCannon, name = 'Gun Select', category = 'Weapons'},

{pressed = iCommandPlaneUpStart, up = iCommandPlaneUpStop, name = 'Cyclic nose down', category = 'Controls'},
{pressed = iCommandPlaneDownStart, up = iCommandPlaneDownStop,  name = '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'},

{down = iCommandPlaneTrimDown, up = iCommandPlaneTrimUp, name = 'Trimmer', category = 'Controls'},
{down = iCommandPlaneTrimCancel, name = 'Trimmer Reset', category = 'Controls'},
{down = iCommandHelicopterHover,up = iCommandHelicopterHover_up,  name = 'Hover On/Off', category = 'Autopilot'},
{down = iCommandPlaneWheelBrakeOn, pressed = iCommandPlaneWheelBrakeOn,up = iCommandPlaneWheelBrakeOff, name = 'Wheel brake on', category = 'Systems'},

-- Ins Collective Stick
{down = iCommandPlane_LockOn_start, up = iCommandPlane_LockOn_finish, name = 'Lock target', category = 'Targeting'},
{down = iCommandPlaneZoomIn, name = 'Shkval Narrow View 23x', category = 'Targeting'},
{down = iCommandPlaneZoomOut, name = 'Shkval Wide View 7x', category = 'Targeting'},
{pressed = iCommandPlaneIncreaseBase_Distance, up = iCommandPlaneStopBase_Distance, name = 'TV Target frame Increase size', category = 'Targeting'},
{pressed = iCommandPlaneDecreaseBase_Distance, up = iCommandPlaneStopBase_Distance, name = 'TV Target frame Decrease size', category = 'Targeting'},
{down = iCommandHelicopter_CollectiveStopper_Up, up = iCommandHelicopter_CollectiveStopper_Down, name = 'Collective brake - Assign altitude lever', category = 'Autopilot'},
{down = iCommandPlane_RouteMode, name = 'Engage/Disengage Route Mode', category = 'Autopilot'},
{down = iCommandPlane_DescentMode, up = iCommandPlane_DescentModeOff, name = 'Engage Descent Mode', category = 'Autopilot'},
{down = iCommandPlane_SpotLight_left,  up = iCommandPlane_SpotLight_hor_stop, name = 'Light landing search left', category = 'Illumination'},
{down = iCommandPlane_SpotLight_right, up = iCommandPlane_SpotLight_hor_stop, name = 'Light landing search right', category = 'Illumination'},
{down = iCommandPlane_SpotLight_up,    up = iCommandPlane_SpotLight_vert_stop, name = 'Light landing search up', category = 'Illumination'},
{down = iCommandPlane_SpotLight_down,  up = iCommandPlane_SpotLight_vert_stop, name = 'Light landing search down', category = 'Illumination'},
{down = iCommandPlaneCollectiveIncrease, pressed = iCommandPlaneCollectiveIncrease, up = iCommandPlaneCollectiveStop, name = 'Collective up', category = 'Controls'},
{down = iCommandPlaneCollectiveDecrease, pressed = iCommandPlaneCollectiveDecrease, up = iCommandPlaneCollectiveStop, name = 'Collective down', category = 'Controls'},

{down = iCommandHelicopter_SelectWeapon_Internal,up = iCommandHelicopter_SelectWeapon_hor_up, name = 'Weapon selection inward stations', category = 'Weapons'},
{down = iCommandHelicopter_SelectWeapon_External,up = iCommandHelicopter_SelectWeapon_hor_up, name = 'Weapon selection outward stations', category = 'Weapons'},
{down = iCommandHelicopter_SelectWeapon_ALL	    ,up = iCommandHelicopter_SelectWeapon_vert_up, name = 'Weapon selection all stations', category = 'Weapons'},

--Ins Rudder
{down = iCommandPlaneLeftRudderStart, pressed = iCommandPlaneLeftRudderStart, up = iCommandPlaneLeftRudderStop, name = 'Rudder left', category = 'Controls'},
{down = iCommandPlaneRightRudderStart, pressed = iCommandPlaneRightRudderStart, up = iCommandPlaneRightRudderStop, name = 'Rudder right', category = 'Controls'},

--Ins Engines Start-Up Control Panel and levers
{down = iCommandPlaneAUTIncrease, name = 'Throttle up (Idle-Medium-Auto-Full)', category = 'Controls'},
{down = iCommandPlaneAUTDecrease, name = 'Throttle down (Idle-Medium-Auto-Full)', category = 'Controls'},

-- Ins Weapons Delivery Modes Panel PVR (Ка-50 - ПВР)
{down = iCommandPlaneCancelWeaponsDelivery, up = iCommandPlaneCancelWeaponsDelivery_up, name = 'Button Targeting mode reset', category = 'Targeting'},
{down = iCommandPlaneModeHelmet, name = 'Helmet-mounted system On/Off', category = 'Systems'},

--Ins Weapons Status and Control Panel PUI-800 (Ка-50 - ПУИ-800)
{down = iCommandPlane_WeaponMode_switch		, name = 'Weapon mode switch - burst amount', category = 'Weapons'},
-- Ins Datalink panel PRTs (Пульт Режимов Целеуказания ПРЦ)
-- Ins  NAV panel controls PVI (Ка-50 - щиток ПВИ)
--Ins datalink panel PVTs (Блок ПВЦ-800 из комплекта К-041)

-- Ins ABRIS AMMS
{down = iCommandPlane_ABRIS_Power, name = 'ABRIS Power', category = 'Ins ABRIS AMMS'},
{down = iCommandPlane_ABRIS_BT_1, up = iCommandPlane_ABRIS_BT_1_up, name = 'ABRIS Button 1', category = 'Ins ABRIS AMMS'},
{down = iCommandPlane_ABRIS_BT_2, up = iCommandPlane_ABRIS_BT_2_up, name = 'ABRIS Button 2', category = 'Ins ABRIS AMMS'},
{down = iCommandPlane_ABRIS_BT_3, up = iCommandPlane_ABRIS_BT_3_up, name = 'ABRIS Button 3', category = 'Ins ABRIS AMMS'},
{down = iCommandPlane_ABRIS_BT_4, up = iCommandPlane_ABRIS_BT_4_up, name = 'ABRIS Button 4', category = 'Ins ABRIS AMMS'},
{down = iCommandPlane_ABRIS_BT_5, up = iCommandPlane_ABRIS_BT_5_up, name = 'ABRIS Button 5', category = 'Ins ABRIS AMMS'},
{down = iCommandPlane_ABRIS_Axis_Push, up = iCommandPlane_ABRIS_Axis_Push_up, name = 'ABRIS Axis Push', category = 'Ins ABRIS AMMS'},
{pressed = iCommandPlane_ABRIS_Axis_Decrease, name = 'ABRIS Axis Decrease', category = 'Ins ABRIS AMMS'},
{pressed = iCommandPlane_ABRIS_Axis_Increase, name = 'ABRIS Axis Increase', category = 'Ins ABRIS AMMS'},
{pressed = iCommandPlane_ABRIS_Brightness_Decrease, name = 'ABRIS Brightness Decrease', category = 'Ins ABRIS AMMS'},
{pressed = iCommandPlane_ABRIS_Brightness_Increase, name = 'ABRIS Brightness Increase', category = 'Ins ABRIS AMMS'},

-- Ins Wall panel (Боковая панель)
{down = iCommandPlaneCockpitIlluminationGauges, name = 'Cockpit gauges illumination', category = 'Illumination'},
{down = iCommandPlaneCockpitIlluminationPanels, name = 'Cockpit blue NVG illumination', category = 'Illumination'},
{down = iCommandPlaneCockpitIllumination, name = 'Cockpit illumination', category = 'Illumination'},
{down = iCommandPlaneADIAHRIllumination, name = 'Cockpit illumination ADI & AHR', category = 'Illumination'},
{down = iCommandControlPanelIllumination, name = 'Cockpit illumination control panel', category = 'Illumination'},
{down = iCommandPlaneRotorTipLights, name = 'Lights rotor tip', category = 'Illumination'},
{down =  iCommandPlaneAntiCollisionLights , name  = 'Light anti-collision', category = 'Illumination'},
{down =  iCommandPlaneFormationLights , name  =  'Lights formation 10\%/30\%/100\%/Off', category = 'Illumination'},

-- Ins Overhead panel (Верхняя панель)
{down = iCommandPlaneLightsOnOff, name = 'Lights navigation 10\%/30\%/100\%/Off', category = 'Illumination'},

-- Targeting Display Control Panel PUR (Панель управления режимами ПУР)
-- {down = iCommandPlane_I251_Background_WhiteBlack, name = 'IT-23 Black-White indication switch', category = 'Targeting'},


-- Landing Lights & Voice Warning Panel (Панель управления освещением, переключением каналов АРК и речевым информатором)
{down = iCommandPlaneHeadLightOnOff, name = 'Light landing search On/Retraction/Off', category = 'Illumination'},
-- Systems
{down = iCommandPlaneFonar, name = 'Cockpit door open/close', category = 'Systems'},
{down = iCommandPlaneEject, name = 'Eject', category = 'Systems'},

-- Radio Communications
{down = iCommandPlaneWingmenCommand, name = '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'},

-- Auto Lock On
{down = iCommandAutoLockOnNearestAircraft, name = 'Auto lock on nearest aircraft', category = 'Targeting'},
{down = iCommandAutoLockOnCenterAircraft, name = 'Auto lock on center aircraft', category = 'Targeting'},
{combos = {{key = 'JOY_BTN6'}}, down = iCommandAutoLockOnNextAircraft, name = 'Auto lock on next aircraft', category = 'Targeting'},
{down = iCommandAutoLockOnPreviousAircraft, name = 'Auto lock on previous aircraft', category = 'Targeting'},
{down = iCommandAutoLockOnNearestSurfaceTarget, name = 'Auto lock on nearest surface target', category = 'Targeting'},
{down = iCommandAutoLockOnCenterSurfaceTarget, name = 'Auto lock on center surface target', category = 'Targeting'},
{combos = {{key = 'JOY_BTN5'}}, down = iCommandAutoLockOnNextSurfaceTarget, name = 'Auto lock on next surface target', category = 'Targeting'},
{down = iCommandAutoLockOnPreviousSurfaceTarget, name = 'Auto lock on previous surface target', category = 'Targeting'},
{combos = {{key = 'JOY_BTN4'}}, down = iCommandAutoLockOnClear, name = 'Clear Selected Target', category = 'Targeting'},
{down = iCommandEasyRadarOnOff, name = 'Easy Radar toggle', category = 'Targeting'},

{down = iCommandEasyRadarScaleUp , name = 'Easy Radar scale in' , category = 'Targeting'},
{down = iCommandEasyRadarScaleOut, name = 'Easy Radar scale out', category = 'Targeting'},
{combos = {{key = 'JOY_BTN2'}}, down = iCommandPlaneChangeWeapon, name = 'Cycle Weapon', category = 'Weapons'},
{down = iCommandEnginesStart, name = 'Start Engines', category = 'Systems'},
{down = iCommandEnginesStop, name = 'Stop Engines' , category = 'Systems'},

{pressed = iCommandSelecterUp   , up = iCommandSelecterStop, name = 'Selector up'   , category = 'Targeting'},
{pressed = iCommandSelecterDown , up = iCommandSelecterStop, name = 'Selector down' , category = 'Targeting'},
{pressed = iCommandSelecterLeft , up = iCommandSelecterStop, name = 'Selector left' , category = 'Targeting'},
{pressed = iCommandSelecterRight, up = iCommandSelecterStop, name = 'Selector right', category = 'Targeting'},


},

axisCommands = {

-- joystick axes 
{combos = {{key = 'JOY_X'}}, action = iCommandPlaneRoll, name = 'Flight Control Cyclic Roll'},
{combos = {{key = 'JOY_Y'}}, action = iCommandPlanePitch, name = 'Flight Control Cyclic Pitch'},
{combos = {{key = 'JOY_RZ'}}, action = iCommandPlaneRudder, name = 'Flight Control Rudder'},
{combos = {{key = 'JOY_Z'}}, action = iCommandPlaneCollective, name = 'Flight Control Collective'},
--{action = iCommandPlaneThrustCommon, name = 'Throttle'},
--{action = iCommandPlaneThrustLeft, name = 'Left Throttle'},
--{action = iCommandPlaneThrustRight, name = 'Right Throttle'},
--{action = iCommandWheelBrake, name = 'Wheel Brake'},


--{action = iCommandPlaneSelecterHorizontalAbs, name = 'Absolute SHKVAL Horizontal Slew'},
--{action = iCommandPlaneSelecterVerticalAbs   , name = 'Absolute SHKVAL Vertical Slew'},



-- 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'},



},
}

end

