local cockpit = folder.."../../Cockpit/Scripts/"
dofile(cockpit.."devices.lua")
dofile(cockpit.."command_defs.lua")
-- down = single instance,  pressed = continuous input

local kneeboard_id = 100
if devices and devices.KNEEBOARD then
   kneeboard_id = devices.KNEEBOARD
end

return {
keyCommands = {

-- Systems

    {combos = {{key = 'C', reformers = {'LCtrl'}}}, down = Keys.ToggleDoors, name = _('Open/close Door'), category = _('Systems')}, 

	--{combos = {{key = 'L'}}, down = Keys.LogDataPoint, name = _('Log Single Data Point'), category = _('Systems')},
    --{combos = {{key = 'K'}}, down = Keys.StartLateralFT, name = _('Lateral dynamic'), category = _('Flighttests')},
	--{combos = {{key = 'I'}}, down = Keys.StartLongFT, name = _('Longitudinal dynamic'), category = _('Flighttests')}, 
	{combos = {{key = 'G'}}, down = Keys.DropGrenade, name = _('Drop Grenade'), category = _('Weapons')}, 
	{combos = {{key = 'T'}}, down = Keys.SwitchGrenadeColor, name = _('Switch Color'), category = _('Weapons')}, 
	
	{combos = {{key = 'B'}}, down = Keys.BattSwitchBatt, name = _('Battery Switch BAT'), category = _('Systems')},
	{combos = {{key = 'B', reformers = {'LShift'}}}, down = Keys.BattSwitchExt, name = _('Battery Switch EXT'), category = _('Systems')}, 
	{combos = {{key = 'B', reformers = {'LCtrl'}}}, down = Keys.BattSwitchOff, name = _('Battery Switch OFF'), category = _('Systems')}, 
	
    {down = Keys.gen_on, name = _('Generator On'), category = _('Systems')},
    {down = Keys.gen_off, name = _('Generator Off'), category = _('Systems')},
    {down = Keys.gen_toggle, name = _('Generator Toggle'), category = _('Systems')},

    {down = Keys.inverter_on, name = _('Inverter On'), category = _('Systems')},
    {down = Keys.inverter_off, name = _('Inverter Off'), category = _('Systems')},
    {down = Keys.inverter_toggle, name = _('Inverter Toggle'), category = _('Systems')},

    {down = Keys.fuel_valve_on, name = _('Fuel Valve Open'), category = _('Systems')},
    {down = Keys.fuel_valve_off, name = _('Fuel Valve Close'), category = _('Systems')},
    {down = Keys.fuel_valve_toggle, name = _('Fuel Valve Toggle'), category = _('Systems')},

    {down = Keys.gyro_mag, name = _('Gyro On'), category = _('Systems')},
    {down = Keys.gyro_dir, name = _('Gyro Off'), category = _('Systems')},
    {down = Keys.gyro_toggle, name = _('Gyro Toggle'), category = _('Systems')},

    {down = Keys.inc_intercom_select, name = _('Intercom Channel Increase'), category = _('Communications')},
    {down = Keys.dec_intercom_select, name = _('Intercom Channel Decrease'), category = _('Communications')},

    {down = Keys.anarc_51_inc_channel, name = _('An/Arc-51 Channel Increase'), category = _('Communications')},
    {down = Keys.anarc_51_dec_channel, name = _('An/Arc-51 Channel Decrease'), category = _('Communications')},
    {down = Keys.anarc_51_inc_tune1, name = _('An/Arc-51 Ten Mega Cycles Increase'), category = _('Communications')},
    {down = Keys.anarc_51_dec_tune1, name = _('An/Arc-51 Ten Mega Cycles Decrease'), category = _('Communications')},
    {down = Keys.anarc_51_inc_tune2, name = _('An/Arc-51 Mega Cycles Increase'), category = _('Communications')},
    {down = Keys.anarc_51_dec_tune2, name = _('An/Arc-51 Mega Cycles Decrease'), category = _('Communications')},
    {down = Keys.anarc_51_inc_tune3, name = _('An/Arc-51 Deci Mega Cycles Increase'), category = _('Communications')},
    {down = Keys.anarc_51_dec_tune3, name = _('An/Arc-51 Deci Mega Cycles Decrease'), category = _('Communications')},
    {pressed = Keys.anarc_51_inc_vol, name = _('An/Arc-51 Volume Increase'), category = _('Communications')},
    {pressed = Keys.anarc_51_dec_vol, name = _('An/Arc-51 Volume Decrease'), category = _('Communications')},
    {down = Keys.anarc_51_preset, name = _('An/Arc-51 Preset Frequency'), category = _('Communications')},
    {down = Keys.anarc_51_manual, name = _('An/Arc-51 Tuned Frequency'), category = _('Communications')},
    {down = Keys.anarc_51_mode_up, name = _('An/Arc-51 Mode Up'), category = _('Communications')},
    {down = Keys.anarc_51_mode_down, name = _('An/Arc-51 Mode Down'), category = _('Communications')},

    {down = Keys.anarc_54_inc_tune1, name = _('An/Arc-54 Mega Cycles Increase'), category = _('Communications')},
    {down = Keys.anarc_54_dec_tune1, name = _('An/Arc-54 Mega Cycles Decrease'), category = _('Communications')},
    {down = Keys.anarc_54_inc_tune2, name = _('An/Arc-54 Deci Mega Cycles Increase'), category = _('Communications')},
    {down = Keys.anarc_54_dec_tune2, name = _('An/Arc-54 Deci Mega Cycles Decrease'), category = _('Communications')},
    {down = Keys.anarc_54_mode_up, name = _('An/Arc-54 Mode Up'), category = _('Communications')},
    {down = Keys.anarc_54_mode_down, name = _('An/Arc-54 Mode Down'), category = _('Communications')},
    {pressed = Keys.anarc_54_inc_vol, name = _('An/Arc-54 Volume Increase'), category = _('Communications')},
    {pressed = Keys.anarc_54_dec_vol, name = _('An/Arc-54 Volume Decrease'), category = _('Communications')},

	{combos = {{key = 'PageUp'}}, pressed = Keys.ThrottleIncrease, up = Keys.ThrottleStop,  name = _('Throttle Up'), category = _('Systems')},
    {combos = {{key = 'PageDown'}}, pressed = Keys.ThrottleDecrease, up = Keys.ThrottleStop,  name = _('Throttle Down'), category = _('Systems')},
	
	{combos = {{key = 'Insert'}}, down = Keys.ThrottleIdle, name = _('Throttle Idle'), category = _('Systems')},
	{combos = {{key = 'Delete'}}, down = Keys.ThrottleCutoff, name = _('Throttle Cutoff'), category = _('Systems')},
	
	{combos = {{key = 'Home'}}, pressed =  Keys.StarterButton, up = Keys.StarterButtonRelease,  name = _('Starter Button'), category = _('Systems')},
	
	{combos = {{key = 'R'}}, pressed =  Keys.GovTrimUp, up = Keys.GovTrimUp,  name = _('Govenor Trim up'), category = _('Systems')},
	{combos = {{key = 'F'}}, pressed =  Keys.GovTrimDown, up = Keys.GovTrimDown,  name = _('Govenor Trim down'), category = _('Systems')},
	
	{down = EFM_commands.collectiveUp,     up = EFM_commands.collectiveUp,   value_up =0.0,value_down = 1.0,name = _('Collective up'), category = _('Systems')},
    {down = EFM_commands.collectiveDown,   up = EFM_commands.collectiveDown, value_up =0.0,value_down = 1.0,name = _('Collective down'), category = _('Systems')},
    {down = EFM_commands.joystickUp,       up = EFM_commands.joystickUp,     value_up =0.0,value_down = 1.0,name = _('Cyclic up'), category = _('Systems')},
    {down = EFM_commands.joystickDown,     up = EFM_commands.joystickDown,   value_up =0.0,value_down = 1.0,name = _('Cyclic down'), category = _('Systems')},
    {down = EFM_commands.joystickLeft,     up = EFM_commands.joystickLeft,   value_up =0.0,value_down = 1.0,name = _('Cyclic left'), category = _('Systems')},
    {down = EFM_commands.joystickRight,    up = EFM_commands.joystickRight,  value_up =0.0,value_down = 1.0,name = _('Cyclic right'), category = _('Systems')},
    {down = EFM_commands.pedalLeft,        up = EFM_commands.pedalLeft,      value_up =0.0,value_down = 1.0,name = _('Pedals left'), category = _('Systems')},
    {down = EFM_commands.pedalRight,       up = EFM_commands.pedalRight,     value_up =0.0,value_down = 1.0,name = _('Pedals right'), category = _('Systems')},


    {combos = {{key = 'B', reformers = {'LAlt'}}}, down = iCommandViewBriefing, name = _('Briefing window'), category = _('General')},
	
	{combos = {{key = 'W' }}, pressed = EFM_commands.trimUp, name = _('Cyclic Trim Up'), category = _('Systems')},
	{combos = {{key = 'S'}}, pressed = EFM_commands.trimDown, name = _('Cyclic Trim Down'), category = _('Systems')},
	{combos = {{key = 'A'}}, pressed = EFM_commands.trimLeft, name = _('Cyclic Trim Left'), category = _('Systems')},
	{combos = {{key = 'D'}}, pressed = EFM_commands.trimRight, name = _('Cyclic Trim Right'), category = _('Systems')},
    {down = EFM_commands.trimRelease, up = EFM_commands.trimReleaseRelease, name = _('Cyclic Trim Release'), category = _('Systems')},
    {down = EFM_commands.trimReset, name = _('Cyclic Trim Reset'), category = _('Systems')},
	
    -- Lights
    {combos = {{key = 'L', reformers = {'RCtrl'}}}, down = Keys.LandingLight, name = _('Landing/Hover Light'), category = _('Systems')}, 
    {combos = {{key = 'L', reformers = {'RShift'}}}, down = Keys.SearchLight, name = _('Search Light'), category = _('Systems')}, 
    {combos = {{key = 'E' , reformers = {'LShift'}}}, down = Keys.SearchLightMode, name = _('Toggle Searchlight Mode'), category = _('Systems')},
    {combos = {{key = 'W' , reformers = {'LShift'}}}, down = Keys.SearchLightUp,up = Keys.SearchLightUpDownRelease, name = _('Searchlight Up'), category = _('Systems')},
    {combos = {{key = 'S' , reformers = {'LShift'}}}, down = Keys.SearchLightDown,up = Keys.SearchLightUpDownRelease, name = _('Searchlight Down'), category = _('Systems')},
    {combos = {{key = 'A' , reformers = {'LShift'}}}, down = Keys.SearchLightLeft, up = Keys.SearchLightLeftRightRelease, name = _('Searchlight Left'), category = _('Systems')},
    {combos = {{key = 'D' , reformers = {'LShift'}}}, down = Keys.SearchLightRight, up = Keys.SearchLightLeftRightRelease, name = _('Searchlight Right'), category = _('Systems')},
    {combos = {{key = 'Q' , reformers = {'LShift'}}}, down = Keys.SearchLightLock, name = _('Searchlight Lock'), category = _('Systems')},
	
    -- Night Vision Goggles
	{combos = {{key = 'N'}}	, down = iCommandViewNightVisionGogglesOn,	 name = _('Toggle Night Vision Goggles'), 	category = _('NVG')},
	{combos = {{key = 'N', reformers = {'RCtrl'}}}, pressed = iCommandPlane_Helmet_Brightess_Up  , name = _('Gain NVG up')  , category = _('NVG')},
	{combos = {{key = 'N', reformers = {'RAlt'}}} , pressed = iCommandPlane_Helmet_Brightess_Down, name = _('Gain NVG down'), category = _('NVG')},
    
    -- Multicrew
	{combos = {{key = '1'}},	down = iCommandViewCockpitChangeSeat, value_down = 1, name = _('Occupy Pilot Seat'),	category = _('Crew Control')},
	{combos = {{key = '2'}},	down = iCommandViewCockpitChangeSeat, value_down = 2, name = _('Occupy Copilot Seat'),	category = _('Crew Control')},	
	{combos = {{key = 'C'}},	down = iCommandNetCrewRequestControl,				name = _('Request Aircraft Control'),category = _('Crew Control')},
	
	--{combos = {{key = 'P', reformers = {'RShift'}}}, down = iCommandCockpitShowPilotOnOff, name = _('Show Pilot Body'), category = _('General')},
    
    {combos = {{key = 'Enter', reformers = {'RCtrl'}}}, down = Keys.showControlInd, name = _('Show controls indicator'), category = _('General')},
    
	{combos = {{key = 'C', reformers = {'LAlt'}}}, down = iCommandCockpitClickModeOnOff, name = _('Clickable mouse cockpit mode On/Off'), category = _('General')},
	
	{combos = {{key = 'Space'}}, down = Keys.FireOn, up = Keys.FireOff, name = _('Gun Fire'), category = _('Weapons')},
    
	{combos = {{key = 'U'}}, pressed = Keys.GunUp, name = _('Gun Up'), category = _('Weapons')},
	{combos = {{key = 'J'}}, pressed = Keys.GunDown, name = _('Gun Down'), category = _('Weapons')},

	{combos = {{key = 'Y'}}, pressed = Keys.gunsight_up, name = _('Gunsight Up'), category = _('Weapons')},
    {combos = {{key = 'H'}}, pressed = Keys.gunsight_down, name = _('Gunsight Down'), category = _('Weapons')},
 
    {combos = {{key = 'O'}}, down = Keys.toggle_gunsight, name = _('Toggle Gunsight'), category = _('Weapons')},
    {pressed = Keys.sight_brightness_inc, name = _('Gunsight Brightness Increase'), category = _('Weapons')},
    {pressed = Keys.sight_brightness_dec, name = _('Gunsight Brightness Decrease'), category = _('Weapons')},

    {combos = {{key = 'G',reformers = {'LShift'}}}, down = Keys.weapon_select_gun, name = _('Select Gun'), category = _('Weapons')},
    {combos = {{key = 'G',reformers = {'LCtrl'}}}, down = Keys.weapon_select_rockets, name = _('Select Rockets'), category = _('Weapons')},

    {combos = {{key = 'A',reformers = {'LCtrl'}}}, down = Keys.Master_arm_on, name = _('Master Arm On'), category = _('Weapons')},
    {combos = {{key = 'A',reformers = {'LAlt'}}}, down = Keys.Master_arm_off, name = _('Master Arm Off'), category = _('Weapons')},
    {combos = {{key = 'A',reformers = {'LWin'}}}, down = Keys.Master_arm_toggle, name = _('Master Arm Toggle'), category = _('Weapons')},

    {combos = {{key = 'X', reformers = {'LShift'}}}, down = Keys.weapon_mode_off, name = _('Weapon Mode Off'), category = _('Weapons')},
    {combos = {{key = 'X', reformers = {'LCtrl'}}}, down = Keys.weapon_mode_toclear, name = _('Weapon Mode Fire to clear'), category = _('Weapons')},
    {combos = {{key = 'X', reformers = {'LAlt'}}}, down = Keys.weapon_mode_normal, name = _('Weapon Mode Normal'), category = _('Weapons')},
    {combos = {{key = 'X', reformers = {'LCtrl','LShift'}}}, down = Keys.weapon_mode_toggle, name = _('Weapon Mode Toggle'), category = _('Weapons')},

    {combos = {{key = 'S', reformers = {'LCtrl','LShift'}}}, down = Keys.increase_salvo_length, name = _('Increase Rocket Salvo Length'), category = _('Weapons')},
    {combos = {{key = 'S', reformers = {'LAlt','LShift'}}}, down = Keys.decrease_salvo_length, name = _('Decrease Rocket Salvo Length'), category = _('Weapons')},

    {down = Keys.jettison_cover, name = _('Toggle Jettison Cover'), category = _('Weapons')},
    {down = Keys.jettison, name = _('Jettison'), category = _('Weapons')},

    {combos = {{key = 'M'}}, down = Keys.roe,  name = _('Toggle Door Gunner ROE'), category = _('Weapons')},
    {combos = {{key = 'M',reformers = {'RAlt'}}}, down = Keys.toggle_burst_length,  name = _('Toggle Door Gunner Burst Lenght'), category = _('Weapons')},
    {combos = {{key = 'M',reformers = {'LWin'}}}, down = Keys.toggle_crew_gui,  name = _('Toggle Crew Status'), category = _('Weapons')},

    {pressed = Keys.inc_light_engine, name = _('Light Engine Increase'), category = _('Lights')},
    {pressed = Keys.dec_light_engine, name = _('Light Engine Decrease'), category = _('Lights')},
    {pressed = Keys.inc_light_panel, name = _('Light Panel Increase'), category = _('Lights')},
    {pressed = Keys.dec_light_panel, name = _('Light Panel Decrease'), category = _('Lights')},
    {pressed = Keys.inc_light_radio, name = _('Light Radio Increase'), category = _('Lights')},
    {pressed = Keys.dec_light_radio, name = _('Light Radio Decrease'), category = _('Lights')},
    {pressed = Keys.inc_light_flight, name = _('Light Flight Increase'), category = _('Lights')},
    {pressed = Keys.dec_light_flight, name = _('Light Flight Decrease'), category = _('Lights')},

    {down = Keys.pos_light_off, name = _('Positions Lights Off'), category = _('Lights')},
    {down = Keys.pos_light_dim, name = _('Positions Lights Dim'), category = _('Lights')},
    {down = Keys.pos_light_bright, name = _('Positions Lights Bright'), category = _('Lights')},
    {down = Keys.acol_light_off, name = _('Anticollision Lights Off'), category = _('Lights')},
    {down = Keys.acol_light_on, name = _('Anticollision Lights On'), category = _('Lights')},
    
----------------------------------- from common_keyboard_binding.lua   ------------------------------------------------------------

    -- AnArc51
    

    -- Debug
    --{combos = {{key = '`', reformers = {'LAlt'}}},	 down = ICommandToggleConsole,	name = _('Toggle Console'),	 category = _('Debug')},
    --{combos = {{key = 'R', reformers = {'LShift'}}}, down = iCommandMissionRestart,	name = _('Restart Mission'), category = _('Debug')},

	--{combos = {{key = 'Tab'}}, down = iCommandChat, name = _('Multiplayer chat - mode All'), category = _('General')},
    --{combos = {{key = 'Tab', reformers = {'LCtrl'}}}, down = iCommandFriendlyChat, name = _('Multiplayer chat - mode Allies'), category = _('General')},
    --{combos = {{key = 'Tab', reformers = {'LShift'}}}, down = iCommandAllChat, name = _('Chat read/write All'), category = _('General')},
    
    -- General (Gameplay)
    {combos = {{key = 'Y', reformers = {'LCtrl', 'LAlt'}}}, down = iCommandChatShowHide, name = _('Chat show/hide'), category = _('General')},
    {combos = {{key = 'Y', reformers = {'LCtrl'}}}, down = iCommandInfoOnOff, name = _('Info bar view toggle'), category = _('General')},
    --{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 = {'LAlt'}}},	 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 = '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 selected 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 = 'S',	 reformers = {'LCtrl'}}},			 down = iCommandSoundOnOff,						name = _('Sound On/Off'),						 category = _('General')},
    {combos = {{key = '\'',	 reformers = {'LAlt'}}}, 			 down = iCommandMissionResourcesManagement,		name = _('Rearming and Refueling Window'),		 category = _('General')},
    --{combos = {{key = 'Pause', reformers = {'LShift', 'LWin'}}}, down = iCommandActivePauseOnOff,				name = _('Active Pause'),						 category = _('Cheat')},
    {combos = {{key = 'E', reformers = {'LCtrl'}}},		down = iCommandPlaneEject,					name = _('Eject (3 times)'),						category = _('Systems')},

    -- Communications
    {combos = {{key = '\\', reformers = {'RShift'}}}, down = Keys.ptt,up = Keys.ptt, value_up =0.0,value_down = 1.0, name = _('PTT'), category = _('Communications')},
    {combos = {{key = '\\', reformers = {'RCtrl'}}}, down = Keys.ptt_voice,up = Keys.ptt_voice, value_up =0.0,value_down = 1.0, name = _('PTT VOICE'), category = _('Communications')},
    {combos = {{key = '\\'}},						  down = iCommandToggleCommandMenu,			name = _('Communication menu'),					  category = _('Communications')},
    {combos = {{key = '\\', reformers = {'LShift'}}}, down = ICommandSwitchDialog,				name = _('Switch dialog'),						  category = _('Communications')},
    {combos = {{key = '\\', reformers = {'LCtrl'}}},  down = ICommandSwitchToCommonDialog,		name = _('Switch to main menu'),				  category = _('Communications')},
	--{combos = {{key = '\\', reformers = {'RShift'}}, {key = 'M', reformers = {'RShift'}}}, down = iCommandToggleReceiveMode, name = _('Receive Mode'), category = _('Communications')},

    -- View
    {combos = {{key = 'Num4'}}, pressed = iCommandViewLeftSlow,		 up = iCommandViewStopSlow, name = _('View Left slow'),		  category = _('View')},
    {combos = {{key = 'Num6'}}, pressed = iCommandViewRightSlow,	 up = iCommandViewStopSlow, name = _('View Right slow'),	  category = _('View')},
    {combos = {{key = 'Num8'}}, pressed = iCommandViewUpSlow,		 up = iCommandViewStopSlow, name = _('View Up slow'),		  category = _('View')},
    {combos = {{key = 'Num2'}}, pressed = iCommandViewDownSlow,		 up = iCommandViewStopSlow, name = _('View Down slow'),		  category = _('View')},
    {combos = {{key = 'Num9'}}, pressed = iCommandViewUpRightSlow,	 up = iCommandViewStopSlow, name = _('View Up Right slow'),	  category = _('View')},
    {combos = {{key = 'Num3'}}, pressed = iCommandViewDownRightSlow, up = iCommandViewStopSlow, name = _('View Down Right slow'), category = _('View')},
    {combos = {{key = 'Num1'}}, pressed = iCommandViewDownLeftSlow,	 up = iCommandViewStopSlow, name = _('View Down Left slow'),  category = _('View')},
    {combos = {{key = 'Num7'}}, pressed = iCommandViewUpLeftSlow,	 up = iCommandViewStopSlow, name = _('View Up Left slow'),	  category = _('View')},
    {combos = {{key = 'Num5'}}, pressed = iCommandViewCenter,		 							name = _('View Center'),		  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')},

    {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 = 'F4', reformers = {'LShift'}}},down = iCommandViewChaseArcade, name = _('F4 Arcade 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 = {'LWin'}}} , down = iCommandViewPitHeadOnOff, name = _('F1 Head shift movement on / off'), category = _('View')},

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

    -- Cockpit view
    {combos = {{key = 'Num0'}}, down = iCommandViewTempCockpitOn, up = iCommandViewTempCockpitOff, name = _('Cockpit panel view in'), category = _('View Cockpit')},
    {combos = {{key = 'Num0', reformers = {'RCtrl'}}}, down = iCommandViewTempCockpitToggle, name = _('Cockpit panel view toggle'), category = _('View Cockpit')},
    --// Save current cockpit camera angles for fast numpad jumps  
    {combos = {{key = 'Num0', reformers = {'RAlt'}}}, down = iCommandViewSaveAngles, name = _('Save Cockpit Angles'), category = _('View Cockpit')},
    {combos = {{key = 'Num8', reformers = {'RShift'}}}, pressed = iCommandViewUp, up = iCommandViewStop, name = _('View up'), category = _('View Cockpit')},
    {combos = {{key = 'Num2', reformers = {'RShift'}}}, pressed = iCommandViewDown, up = iCommandViewStop, name = _('View down'), category = _('View Cockpit')},
    {combos = {{key = 'Num4', reformers = {'RShift'}}}, pressed = iCommandViewLeft, up = iCommandViewStop, name = _('View left'), category = _('View Cockpit')},
    {combos = {{key = 'Num6', reformers = {'RShift'}}}, pressed = iCommandViewRight, up = iCommandViewStop, name = _('View right'), category = _('View Cockpit')},
    {combos = {{key = 'Num9', reformers = {'RShift'}}}, pressed = iCommandViewUpRight, up = iCommandViewStop, name = _('View up right'), category = _('View Cockpit')},
    {combos = {{key = 'Num3', reformers = {'RShift'}}}, pressed = iCommandViewDownRight, up = iCommandViewStop, name = _('View down right'), category = _('View Cockpit')},
    {combos = {{key = 'Num1', reformers = {'RShift'}}}, pressed = iCommandViewDownLeft, up = iCommandViewStop, name = _('View down left'), category = _('View Cockpit')},
    {combos = {{key = 'Num7', reformers = {'RShift'}}}, pressed = iCommandViewUpLeft, up = iCommandViewStop, name = _('View up left'), category = _('View Cockpit')},

    -- Cockpit Camera Motion
    {combos = {{key = 'Num8', reformers = {'RCtrl','RShift'}}}, pressed = iCommandViewPitCameraMoveUp, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Up'), category = _('View Cockpit')},
    {combos = {{key = 'Num2', reformers = {'RCtrl','RShift'}}}, pressed = iCommandViewPitCameraMoveDown, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Down'), category = _('View Cockpit')},
    {combos = {{key = 'Num4', reformers = {'RCtrl','RShift'}}}, pressed = iCommandViewPitCameraMoveLeft, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Left'), category = _('View Cockpit')},
    {combos = {{key = 'Num6', reformers = {'RCtrl','RShift'}}}, pressed = iCommandViewPitCameraMoveRight, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Right'), category = _('View Cockpit')},
    {combos = {{key = 'Num*', reformers = {'RCtrl','RShift'}}}, pressed = iCommandViewPitCameraMoveForward, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Forward'), category = _('View Cockpit')},
    {combos = {{key = 'Num/', reformers = {'RCtrl','RShift'}}, {key = 'Num-', reformers = {'RCtrl','RShift'}}}, pressed = iCommandViewPitCameraMoveBack, up = iCommandViewPitCameraMoveStop, name = _('Cockpit Camera Move Back'), category = _('View Cockpit')},
    {combos = {{key = 'Num5', reformers = {'RCtrl','RShift'}}}, down = iCommandViewPitCameraMoveCenter, name = _('Cockpit Camera Move Center'), category = _('View Cockpit')},

    {combos = {{key = 'Num8', reformers = {'RCtrl'}}}, down = iCommandViewCameraUp, up = iCommandViewCameraCenter, name = _('Glance up'), category = _('View Cockpit')},
    {combos = {{key = 'Num2', reformers = {'RCtrl'}}}, down = iCommandViewCameraDown, up = iCommandViewCameraCenter, name = _('Glance down'), category = _('View Cockpit')},
    {combos = {{key = 'Num4', reformers = {'RCtrl'}}}, down = iCommandViewCameraLeft, up = iCommandViewCameraCenter, name = _('Glance left'), category = _('View Cockpit')},
    {combos = {{key = 'Num6', reformers = {'RCtrl'}}}, down = iCommandViewCameraRight, up = iCommandViewCameraCenter, name = _('Glance right'), category = _('View Cockpit')},
    {combos = {{key = 'Num7', reformers = {'RCtrl'}}}, down = iCommandViewCameraUpLeft, up = iCommandViewCameraCenter, name = _('Glance up-left'), category = _('View Cockpit')},
    {combos = {{key = 'Num1', reformers = {'RCtrl'}}}, down = iCommandViewCameraDownLeft, up = iCommandViewCameraCenter, name = _('Glance down-left'), category = _('View Cockpit')},
    {combos = {{key = 'Num9', reformers = {'RCtrl'}}}, down = iCommandViewCameraUpRight, up = iCommandViewCameraCenter, name = _('Glance up-right'), category = _('View Cockpit')},
    {combos = {{key = 'Num3', reformers = {'RCtrl'}}}, down = iCommandViewCameraDownRight, up = iCommandViewCameraCenter, name = _('Glance down-right'), category = _('View Cockpit')},
    {combos = {{key = 'Z', reformers = {'LAlt','LShift'}}}, down = iCommandViewPanToggle, name = _('Camera pan mode toggle'), category = _('View Cockpit')},

    {combos = {{key = 'Num8', reformers = {'RAlt'}}}, down = iCommandViewCameraUpSlow, name = _('Camera snap view up'), category = _('View Cockpit')},
    {combos = {{key = 'Num2', reformers = {'RAlt'}}}, down = iCommandViewCameraDownSlow, name = _('Camera snap view down'), category = _('View Cockpit')},
    {combos = {{key = 'Num4', reformers = {'RAlt'}}}, down = iCommandViewCameraLeftSlow, name = _('Camera snap view left'), category = _('View Cockpit')},
    {combos = {{key = 'Num6', reformers = {'RAlt'}}}, down = iCommandViewCameraRightSlow, name = _('Camera snap view right'), category = _('View Cockpit')},
    {combos = {{key = 'Num7', reformers = {'RAlt'}}}, down = iCommandViewCameraUpLeftSlow, name = _('Camera snap view up-left'), category = _('View Cockpit')},
    {combos = {{key = 'Num1', reformers = {'RAlt'}}}, down = iCommandViewCameraDownLeftSlow, name = _('Camera snap view down-left'), category = _('View Cockpit')},
    {combos = {{key = 'Num9', reformers = {'RAlt'}}}, down = iCommandViewCameraUpRightSlow, name = _('Camera snap view up-right'), category = _('View Cockpit')},
    {combos = {{key = 'Num3', reformers = {'RAlt'}}}, down = iCommandViewCameraDownRightSlow, name = _('Camera snap view down-right'), category = _('View Cockpit')},
    {combos = {{key = 'Num5', reformers = {'RShift'}}}, down = iCommandViewCameraCenter, name = _('Center Camera View'), category = _('View Cockpit')},
    {combos = {{key = 'Num5', reformers = {'RCtrl'}}}, down = iCommandViewCameraReturn, name = _('Return Camera'), category = _('View Cockpit')},
    {combos = {{key = 'Num5', reformers = {'RAlt'}}}, down = iCommandViewCameraBaseReturn, name = _('Return Camera Base'), category = _('View Cockpit')},

    {combos = {{key = 'Num0', reformers = {'LWin'}}}, down = iCommandViewSnapView0,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  0'), category = _('View Cockpit')},
    {combos = {{key = 'Num1', reformers = {'LWin'}}}, down = iCommandViewSnapView1,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  1'), category = _('View Cockpit')},
    {combos = {{key = 'Num2', reformers = {'LWin'}}}, down = iCommandViewSnapView2,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  2'), category = _('View Cockpit')},
    {combos = {{key = 'Num3', reformers = {'LWin'}}}, down = iCommandViewSnapView3,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  3'), category = _('View Cockpit')},
    {combos = {{key = 'Num4', reformers = {'LWin'}}}, down = iCommandViewSnapView4,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  4'), category = _('View Cockpit')},
    {combos = {{key = 'Num5', reformers = {'LWin'}}}, down = iCommandViewSnapView5,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  5'), category = _('View Cockpit')},
    {combos = {{key = 'Num6', reformers = {'LWin'}}}, down = iCommandViewSnapView6,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  6'), category = _('View Cockpit')},
    {combos = {{key = 'Num7', reformers = {'LWin'}}}, down = iCommandViewSnapView7,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  7'), category = _('View Cockpit')},
    {combos = {{key = 'Num8', reformers = {'LWin'}}}, down = iCommandViewSnapView8,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  8'), category = _('View Cockpit')},
    {combos = {{key = 'Num9', reformers = {'LWin'}}}, down = iCommandViewSnapView9,	up = iCommandViewSnapViewStop, name = _('Custom Snap View  9'), category = _('View Cockpit')},

    {combos = {{key = 'Num*', reformers = {'RShift'}}}, pressed = iCommandViewForward, up = iCommandViewForwardStop, name = _('Zoom in'), category = _('View Cockpit')},
    {combos = {{key = 'Num/', reformers = {'RShift'}}}, pressed = iCommandViewBack, up = iCommandViewBackStop, name = _('Zoom out'), category = _('View Cockpit')},

    -- Extended view
    {combos = {{key = 'J', reformers = {'LShift'}}}, down = iCommandViewCameraJiggle, name = _('Camera jiggle toggle'), category = _('View Extended')},
    {combos = {{key = 'K', reformers = {'LAlt'}}}, down = iCommandViewKeepTerrain, name = _('Keep terrain camera altitude'), category = _('View Extended')},
    {combos = {{key = 'Home', reformers = {'RCtrl','RShift'}}}, down = iCommandViewFriends, name = _('View friends mode'), category = _('View Extended')},
    {combos = {{key = 'End', reformers = {'RCtrl' ,'RShift'}}}, down = iCommandViewEnemies, name = _('View enemies mode'), category = _('View Extended')},
    {combos = {{key = 'Delete', reformers = {'RCtrl'}}}, down = iCommandViewAll, name = _('View all mode'), category = _('View Extended')},
    {combos = {{key = 'Num+', reformers = {'RCtrl'}}}, down = iCommandViewPlus, name = _('Toggle tracking launched weapon'), category = _('View Extended')},
    {combos = {{key = 'PageDown', reformers = {'LCtrl'}}}, down = iCommandViewSwitchForward, name = _('Objects switching direction forward '), category = _('View Extended')},
    {combos = {{key = 'PageUp', reformers = {'LCtrl'}}}, down = iCommandViewSwitchReverse, name = _('Objects switching direction reverse '), category = _('View Extended')},
    {combos = {{key = 'Delete', reformers = {'LAlt'}}}, down = iCommandViewObjectIgnore, name = _('Object exclude '), category = _('View Extended')},
    {combos = {{key = 'Insert', reformers = {'LAlt'}}}, down = iCommandViewObjectsAll, name = _('Objects all excluded - include'), category = _('View Extended')},

    -- Padlock
    {combos = {{key = 'Num.'}}, down = iCommandViewLock, name = _('Lock View (cycle padlock)'), category = _('View Padlock')},
    {combos = {{key = 'NumLock'}}, down = iCommandViewUnlock, name = _('Unlock view (stop padlock)'), category = _('View Padlock')},
    {combos = {{key = 'Num.', reformers = {'RShift'}}}, down = iCommandAllMissilePadlock, name = _('All missiles padlock'), category = _('View Padlock')},
    {combos = {{key = 'Num.', reformers = {'RAlt'}}}, down = iCommandThreatMissilePadlock, name = _('Threat missile padlock'), category = _('View Padlock')},
    {combos = {{key = 'Num.', reformers = {'RCtrl'}}}, down = iCommandViewTerrainLock, name = _('Lock terrain view'), category = _('View Padlock')},

    -- Labels
    {combos = {{key = 'F10', reformers = {'LShift'}}}, down = iCommandMarkerState, name = _('All Labels'), category = _('Labels')},
    {combos = {{key = 'F2', reformers = {'LShift'}}}, down = iCommandMarkerStatePlane, name = _('Aircraft Labels'), category = _('Labels')},
    {combos = {{key = 'F6', reformers = {'LShift'}}}, down = iCommandMarkerStateRocket, name = _('Missile Labels'), category = _('Labels')},
    {combos = {{key = 'F9', reformers = {'LShift'}}}, down = iCommandMarkerStateShip, name = _('Vehicle & Ship Labels'), category = _('Labels')},

    --Kneeboard
    {combos = {{key = 'K', reformers = {'RShift'}}}, 			down = iCommandPlaneShowKneeboard	, name = _('Kneeboard ON/OFF'), category = _('Kneeboard')},
    {combos = {{key = 'K'}}						   , 			down = iCommandPlaneShowKneeboard	, up = iCommandPlaneShowKneeboard ,value_down = 1.0,value_up = -1.0, name = _('Kneeboard glance view')  , category = _('Kneeboard')},
    {combos = {{key = ']'}}						   , 			down = 3001		, cockpit_device_id  = kneeboard_id, value_down = 1.0, name = _('Kneeboard Next Page')  , category = _('Kneeboard')},
    {combos = {{key = '['}}						   , 			down = 3002		, cockpit_device_id  = kneeboard_id, value_down = 1.0, name = _('Kneeboard Previous Page'), category = _('Kneeboard')},
    {combos = {{key = 'K', reformers = {'RCtrl'}}} , 			down = 3003		, cockpit_device_id  = kneeboard_id,value_down = 1.0, name = _('Kneeboard current position mark point')  , category = _('Kneeboard')},
    --shortcuts navigation
    {down = 3004		, cockpit_device_id  = kneeboard_id,value_down =  1.0, name = _('Kneeboard Make Shortcut'), category = _('Kneeboard')},
    {down = 3005		, cockpit_device_id  = kneeboard_id,value_down =  1.0, name = _('Kneeboard Next Shortcut'), category = _('Kneeboard')},
    {down = 3005		, cockpit_device_id  = kneeboard_id,value_down = -1.0, name = _('Kneeboard Previous Shortcut')  , category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 0   , name = _('Kneeboard Jump To Shortcut  1'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 1   , name = _('Kneeboard Jump To Shortcut  2'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 2   , name = _('Kneeboard Jump To Shortcut  3'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 3   , name = _('Kneeboard Jump To Shortcut  4'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 4   , name = _('Kneeboard Jump To Shortcut  5'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 5   , name = _('Kneeboard Jump To Shortcut  6'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 6   , name = _('Kneeboard Jump To Shortcut  7'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 7   , name = _('Kneeboard Jump To Shortcut  8'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 8   , name = _('Kneeboard Jump To Shortcut  9'), category = _('Kneeboard')},
    {down = 3006		, cockpit_device_id  = kneeboard_id,value_down = 9   , name = _('Kneeboard Jump To Shortcut 10'), category = _('Kneeboard')},

    {combos = {{key = 'L', reformers = {'LAlt'}}},                down = 3256,    cockpit_device_id = 0,    value_down = 1.0, name = _('Flashlight'), category = _('View Cockpit')},
    -- SunVisor Tanuki44
    {combos = {{key = 'S', reformers = {'LAlt','LShift'}}},	down = Keys.sunVisorToggle, name = _('SunVisor UP/DOWN'), category = _('General')},
	-- Sprayer Tanuki44
    {combos = {{key = 'S', reformers = {'RCtrl','RShift'}}}, down = Keys.sprayerToggleOn, up = Keys.sprayerToggleOff, name = _('Sprayer ON/OFF'), category = _('Systems')},
    {combos = {{key = 'S', reformers = {'RCtrl','RShift', 'RAlt'}}}, down = Keys.sprayFilling, name = _('Spray Filling'), category = _('Systems')},

    {down = EFM_commands.activateRotorBrake, name = _('Rotorbrake on'), category = _('Systems')},
    {down = EFM_commands.deactivateRotorBrake, name = _('Rotorbrake off'), category = _('Systems')},

    {down = Keys.anarc_83_mode_up, name = _('An/Arc-83 Mode Up'), category = _('Communications')},
    {down = Keys.anarc_83_mode_down, name = _('An/Arc-54 Mode Down'), category = _('Communications')},
    {down = Keys.anarc_83_band_up, name = _('An/Arc-83 Band Up'), category = _('Communications')},
    {down = Keys.anarc_83_band_down, name = _('An/Arc-83 Band Down'), category = _('Communications')},

    {pressed = Keys.anarc_83_tune_up, name = _('An/Arc-83 Tune Increase'), category = _('Communications')},
    {pressed = Keys.anarc_83_tune_down, name = _('An/Arc-83 Tune Decrease'), category = _('Communications')},
    {pressed = Keys.anarc_83_gain_up, name = _('An/Arc-83 Gain Increase'), category = _('Communications')},
    {pressed = Keys.anarc_83_gain_down, name = _('An/Arc-83 Gain Decrease'), category = _('Communications')},

    {down = Keys.RWROnOffSwitch, name = _('RWR Power toggle'), category = _('Systems')},
    {down = Keys.RWROn, name = _('RWR Power On'), category = _('Systems')},
    {down = Keys.RWROff, name = _('RWR Power Off'), category = _('Systems')},
    {pressed = Keys.RWRLoudnessIncrease, name = _('RWR Loudness Increase'), category = _('Systems')},
    {pressed = Keys.RWRLoudnessDecrease, name = _('RWR Loudness Decrease'), category = _('Systems')},
    {pressed = Keys.RWRBrightnessIncrease, name = _('RWR Brightness Increase'), category = _('Systems')},
    {pressed = Keys.RWRBrightnessDecrease, name = _('RWR Brightness Decrease'), category = _('Systems')},
    
    {down = Keys.DropFlare,up = Keys.DropFlare,value_up = 0.0,value_down = 1.0, name = _('Flares/Chaffs Dispense'), category = _('Weapons')},
    {down = Keys.FlareArmSafe, name = _('Flares/Chaffs Arm/Safe'), category = _('Weapons')},
    {down = Keys.FlareArm, name = _('Flares/Chaffs Arm'), category = _('Weapons')},
    {down = Keys.FlareSafe, name = _('Flares/Chaffs Safe'), category = _('Weapons')},

},
}
