Jump to content

LUA Editing for additional Key Binds Tutorial. No discussion here please!


LeCuvier

Recommended Posts

We have countless threads with questions and discussion about how to edit the "default.lua" and equivalent files for additional key binds.

I can't even guess how many times I have responded to the same or similar questions. I had posted a tutorial on the subject in the forum "Input and Output", in the thread "How to set up toggle switches". My post is somewhere in the middle and I have trouble finding it because the new forum version no longer shows post numbers. I therefore thought it would help to re-post the tutorial in the first post of a new thread in the "Tutorials" part of the forum. Here is the document, and only the document version in this post will be updated going forward.

I intend to add collections of bindings I created for various aircraft.

I would like to keep this thread reserved for posting documents. Discussion and questions for specific aircraft modules should stay in the related subforums. This will avoid getting shared documents hidden in hundreds of posts. Also people can use PM's to ask questions or request help.

Update 23-AUG-2021: added dual-action commands combining "down" and "pressed" actions.
Update 04-NOV-2021: added creation of axis commands from info in "clickabledata.lua", and creation of key commands from axis commands.

 

How to Edit Control Binding Files.pdf


Edited by LeCuvier
Updated the attached document
  • Like 8
  • Thanks 7

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • 1 month later...

Bindings for the F/A-18C Hornet:
 

--------------------------------------------------------------------------------------------------
{down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear Control Handle 2-Pos UP/DOWN'),    category = {_('Left Vertical Panel')}},
--------------------------------------------------------
{down = cpt_commands.CanopySwitchOpen, up = cpt_commands.CanopySwitchClose, cockpit_device_id = devices.CPT_MECHANICS, value_down =  1.0, value_up = -1.0, name = _('Canopy Control Switch 2-Pos OPEN/CLOSE'), category = {_('Right Wall'), _('Systems')}},
{down = cpt_commands.CanopySwitchClose, up = cpt_commands.CanopySwitchClose, cockpit_device_id = devices.CPT_MECHANICS, value_down =  -1.0, value_up = 0.0, name = _('Canopy Control Switch CLOSE/HOLD'), category = {_('Right Wall'), _('Systems')}},-- for 3-pos switch
{down = cpt_commands.CanopySwitchOpen, up = cpt_commands.CanopySwitchClose, cockpit_device_id = devices.CPT_MECHANICS, value_down =  1.0, value_up = 0.0, name = _('Canopy Control Switch OPEN/HOLD'), category = {_('Right Wall'), _('Systems')}},-- for 3-pos switch
-----------------------------------------------------
{down = cptlights_commands.HookBypass, up = cptlights_commands.HookBypass,    cockpit_device_id = devices.CPT_LIGHTS,    value_down =  1.0,    value_up = -1.0,    name = _('Hook Bypass 2-Pos Switch FIELD/CARRIER'), category = {_('Left Vertical Panel')}},
{down = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGHTS, value_down =  1.0,    name = _('Hook Bypass Switch FIELD'), category = {_('Left Vertical Panel')}},
{down = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGHTS,    value_down =  -1.0,    name = _('Hook Bypass Switch CARRIER'), category = {_('Left Vertical Panel')}},
----------------------------------------------------
{down = gear_commands.LaunchBarSw, up = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down =  -1.0, value_up = 1.0,    name = _('Launch Bar Control 2-Pos Switch RETRACT/EXTEND'), category = {_('Left Vertical Panel')}},
{down = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = -1.0, name = _('Launch Bar Control Switch RETRACT'), category = {_('Left Vertical Panel')}},
{down = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, name = _('Launch Bar Control Switch EXTEND'), category = {_('Left Vertical Panel')}},
-- Wing fold special: 1st line provides PULL and FOLD with one key press ---------------------------------------------------
{down = ctrl_commands.WingFoldPull, pressed  = ctrl_commands.WingFoldSelect, cockpit_device_id = devices.CONTROL_INTERFACE, value_down = 1.0, value_pressed = -1.0, name = _('Wing Fold Control PULL-FOLD'), category = {_('Right Vertical Panel')}},
{down = ctrl_commands.WingFoldSelect, up  = ctrl_commands.WingFoldPull, cockpit_device_id = devices.CONTROL_INTERFACE, value_down = 1.0, value_up = 0.0, name = _('Wing Fold Control SPREAD-STOW'), category = {_('Right Vertical Panel')}},
----------------------------------------------------
{down = fuel_commands.DumpSw, up = fuel_commands.DumpSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down =  1.0, value_up = -1.0, name = _('Fuel Dump Switch 2-Pos ON/OFF'), category = {_('Left Console'), _('Fuel Control Panel')}},
{down = fuel_commands.DumpSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down =  1.0, name = _('Fuel Dump Switch ON'), category = {_('Left Console'), _('Fuel Control Panel')}},
{down = fuel_commands.DumpSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down =  -1.0, name = _('Fuel Dump Switch OFF'), category = {_('Left Console'), _('Fuel Control Panel')}},
---------------------------------------------------
{down = 3256, up = 3256, cockpit_device_id = 0,    value_down =  -1.0,    value_up =  0.0, name = _('Flashlight 2-Pos ON/OFF'), category = {_('View Cockpit'), _('Right Console')}},
{down = iCommandPlaneShowKneeboard,    up = iCommandPlaneShowKneeboard, value_down = 1.0, value_up = -1.0,    name = _('Kneeboard 2-Pos SHOW/HIDE'), category = _('Kneeboard')},
-- Emergency/Parking Brake single command Turn CCW and Pull to Parking Position
{down=gear_commands.EmergParkHandleSelectPark, up=gear_commands.EmergParkHandleOnOff,cockpit_device_id=devices.GEAR_INTERFACE,value_down=1.0,value_up=-1.0,name=_('Emergency/Parking Brake Handle - CCW+Pull'),category=_('[Front Left - Vertical Panel')},
-- simplified speed brake switch (no HOLD position)------------------------------------------
{down = hotas_commands.THROTTLE_SPEED_BRAKE, up = hotas_commands.THROTTLE_SPEED_BRAKE, cockpit_device_id = devices.HOTAS, value_down = -1.0, value_up = 1.0, name = _('Speed Brake Switch 2-Pos EXTEND/RETRACT'), category = {_('Throttle Grip'), _('HOTAS')}},

{down = elec_commands.PitotHeater, up = elec_commands.PitotHeater, cockpit_device_id = devices.ELEC_INTERFACE, value_down =  1.0, value_up = 1.0, name = _('Pitot Heater Switch - 2-Pos ON/AUTO'), category = {_('Right Console'), _('ECS Panel')}}, -- switch must be in the OFF position at mission start

 

  • Like 3
  • Thanks 2

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

Bindings for the A-10C II (will also work for the "old" version of the hog):
 

{down = iCommandPlaneAHCPGUNPACArm, up = iCommandPlaneAHCPGUNSafe, name = _('GUN/PAC switch 3-Pos ARM/SAFE'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPGUNArm, up = iCommandPlaneAHCPGUNSafe,	name = _('GUN/PAC switch 3-Pos GUNARM/SAFE'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPLaserArm, up = iCommandPlaneAHCPLaserSafe, name = _('LASER switch 2-Pos ARM/SAFE'), category = _('Armament HUD Control Panel')},
{down = 3004, up = 3004, cockpit_device_id = 7, value_down = 1.0, value_up = -1.0, name = _('TGP switch 2-Pos ON/OFF'), category = _('Armament HUD Control Panel')},
{down = 3004, cockpit_device_id = 7, value_down = 1.0, name = _('TGP Power switch ON'), category = _('Armament HUD Control Panel')},
{down = 3004, cockpit_device_id = 7, value_down = -1.0, name = _('TGP Power switch OFF'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPIFFCCOn, up = iCommandPlaneAHCPIFFCCTest, name = _('IFFCC switch 2-Pos ON/TEST'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPMasterArm, up = iCommandPlaneAHCPMasterSafe,name = _('Master switch 3-Pos ARM/SAFE'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPMasterTrain, up = iCommandPlaneAHCPMasterSafe, name = _('Master switch 3-Pos TRAIN/SAFE'), category = _('Armament HUD Control Panel')},
{down = 3006, up = 3006, cockpit_device_id = 7 , value_down = 1.0, value_up = 0.0, name = _('AHCP HUD Mode 2-Pos DAY/NIGHT'), category = _('Armament HUD Control Panel')},
{down = 3007, up = 3007, cockpit_device_id = 49 , value_down = 1.0, value_up = 0.0, name = _('Emergency Flood Light 2-Pos DAY/NIGHT'), category = _('Electrical power control panel')},
{down = 3007, cockpit_device_id = 49 , value_down = 1.0, name = _('Emergency Flood Light DAY'), category = _('Electrical power control panel')},
{down = 3007, cockpit_device_id = 49 , value_down = 0.0, name = _('Emergency Flood Light NIGHT'), category = _('Electrical power control panel')},
{down = 3001, up = 3001, cockpit_device_id = 1 , value_down = 1.0, value_up = 0.0, name = _('APU Gen Power 2-Pos ON/OFF'), category = _('Electrical power control panel')},
{down = 3004, up = 3004, cockpit_device_id = 1 , value_down = 1.0, value_up = 0.0, name = _('AC Gen Left Power 2-Pos ON/OFF'), category = _('Electrical power control panel')},
{down = 3005, up = 3005, cockpit_device_id = 1 , value_down = 1.0, value_up = 0.0, name = _('AC Gen Right Power 2-Pos ON/OFF'), category = _('Electrical power control panel')},
{down = 3004, cockpit_device_id = 1 , value_down = 1.0, name = _('AC Gen Left Power ON'), category = _('Electrical power control panel')},
{down = 3004, cockpit_device_id = 1 , value_down = 0.0, name = _('AC Gen Left Power OFF'), category = _('Electrical power control panel')},
{down = 3005, cockpit_device_id = 1 , value_down = 1.0, name = _('AC Gen Right Power ON'), category = _('Electrical power control panel')},
{down = 3005, cockpit_device_id = 1 , value_down = 0.0, name = _('AC Gen Right Power OFF'), category = _('Electrical power control panel')},
{down = 3006, up = 3006, cockpit_device_id = 1 , value_down = 1.0, value_up = 0.0, name = _('Battery Power 2-Pos ON/OFF'), category = _('Electrical power control panel')},
{down = iCommandPlaneLGPLandLight, up = iCommandPlaneLGPLightsOff, name = _('Landing Lights ON/OFF'), category = _('Landing gear panel')},
{down = iCommandPlaneLGPTaxiLight, up = iCommandPlaneLGPLightsOff, name = _('Taxi Lights ON/OFF'), category = _('Landing gear panel')},
{down = 3029, pressed = 3029, cockpit_device_id = 38, value_down = 1.0, value_pressed = 0.0, name = _('Anti-Skid Button ON'), category = _('Landing gear panel')},
{down = 3028, pressed = 3028, cockpit_device_id = 38, value_down = 1.0, value_pressed = 0.0, name = _('Anti-Skid Button OFF'), category = _('Landing gear panel')},
{down = 3029, pressed = 3029,up = 3028, up = 3028, cockpit_device_id = 38, value_down = 1.0, value_pressed = 0.0, value_up = 1.0, value_up = 0.0, name = _('Anti-Skid 2-Pos ON/OFF'), category = _('Landing gear panel')}, -- heureka, this works!
{down = 3012, up = 3012, cockpit_device_id = 49, value_down = 1.0,	value_up = -1.0, name = _('Nose Light 2-Pos switch ON/OFF'), category = _('Lighting Panel')},
{down = 3004, up = 3004, cockpit_device_id = 49, value_down = 1.0,	value_up = -1.0, name = _('Accel & Compass Light 2-Pos Bright/DIM'), category = _('Lighting Panel')},
{down = 3013, up = 3013, cockpit_device_id = 49, value_down = 1.0,	value_up = -1.0, name = _('Signal Lights 2-Pos BRIGHT/DIM'), category = _('Lighting Panel')},
{down = iCommandPlanePositionLightsFlash, up = iCommandPlanePositionLightsOff, name = _('Position Lights FLASH/OFF'), category = _('Lighting Panel')},
{down = iCommandPlanePositionLightsSteady, up = iCommandPlanePositionLightsOff, name = _('Position Lights STEADY/OFF'), category = _('Lighting Panel')},
{down = 3002, cockpit_device_id = 15, value_down = 1.0,	name = _('Elapsed Timer STRT/STP/RST'), category = _('Systems')},
{down = 3010, cockpit_device_id = 39, value_down = 1.0,	name = _('Seat Arm Handle SAFE'), category = _('Systems')},
{down = 3010, cockpit_device_id = 39, value_down = -1.0, name = _('Seat Arm Handle ARM'), category = _('Systems')},
{down = 3010, up = 3010, cockpit_device_id = 39, value_down = -1.0, value_up = 1.0, name = _('Seat Arm Handle 2-Pos ARM/SAFE'), category = _('Systems')},
-- Canopy switch now has two separate commands: 3007 for OPEN/HOLD and 3006 for CLOSE (with spring return to HOLD). Bindings updated 04-AUG-2022
-- For use with a 3-position switch, bind the commands "Canopy OPEN/HOLD" and "Canopy CLOSE/HOLD".
-- For use with 3 pushbuttons for OPEN, HOLD, CLOSE, use the 3 lines immediately below.
{down = 3006, up = 3007,cockpit_device_id = devices.CPT_MECH, value_down = 0.0,	value_up = 0.0, name = _('Canopy CLOSE/HOLD'), category = _('Systems')},
{down = 3007, cockpit_device_id = devices.CPT_MECH, value_down = 1.0,	name = _('Canopy OPEN'), category = _('Systems')},
{down = 3007, cockpit_device_id = devices.CPT_MECH, value_down = 0.0, name = _('Canopy HOLD'), category = _('Systems')},
{down = 3007, up = 3007, cockpit_device_id = 39, value_down = 1.0, value_up = 0.0, name = _('Canopy OPEN/HOLD'), category = _('Systems')},-- for maintained 3-position switch (ON-OFF-ON)
{down = 3007, up = 3006, cockpit_device_id = 39, value_down = 1.0, value_up = 0.0, name = _('Canopy 2-Pos OPEN/CLOSE'), category = _('Systems')},-- for maintained ON/OFF switch
----------------------------------------------------------------------------------------------------------------------------------------------------
{down = 3016, up = 3016, cockpit_device_id = 36, value_down = -1.0, value_up = 1.0, name = _('Air Refuel Control Lever 2-Pos OPEN/CLOSED'), category = _('Fuel system control panel')},
---------------------------------------------------------------------------------------------------------------------
{down = iCommandPlane_FLAPS_UP, up = iCommandPlane_FLAPS_MNR_from_UP,name = _('Toggle Flaps Up'), category = _('Systems')}, -- commands copied from the Warthog Throttle file, bind to 3-position switch!
{down = iCommandPlane_FLAPS_DN, up = iCommandPlane_FLAPS_MNR_from_DN,name = _('Toggle Flaps Dn'), category = _('Systems')},
----------------------------------------------------------------------------------------------------------------------
{down = iCommandPlane_FLAPS_UP, name = _('Set Flaps to UP'), category = _('Systems')},
{down = iCommandPlane_FLAPS_DN, name = _('Set Flaps to DOWN'), category = _('Systems')},
{down = iCommandPlane_FLAPS_MNR_from_DN, up = iCommandPlane_FLAPS_MNR_from_UP, name = _('Set Flaps to MNR'), category = _('Systems')},
--------------------------------------------------------------------------------------------------------------------------------------
{down = 3016, cockpit_device_id = 39, value_down = 1.0,	name = _('Stick HIDE'), category = _('Systems')},
{down = 3016, cockpit_device_id = 39, value_down = 0.0,	name = _('Stick SHOW'), category = _('Systems')},
{down = 3016, up = 3016, cockpit_device_id = 39, value_down = 0.0, value_up = 1.0, name = _('Stick 2-Pos SHOW/HIDE'), category = _('Systems')},

Binding to activate the Macro "All internal lights UP":

{down = 300, name = _('Macro all internal Lights UP'), category = _('Cheat')},

 


Edited by LeCuvier
  • Like 3
  • Thanks 2

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

Bindings for the Bf-109K:

{down = device_commands.Button_75, up = device_commands.Button_75, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Generator 2-Pos ON/OFF'), category = _('Right Switch Panel')},                
{down = device_commands.Button_12, up = device_commands.Button_12, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Pitot / Windscreen Heating 2-Pos. ON/OFF'), category = _('Right Switch Panel')},        
{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Nav. Lights 2-Pos ON/OFF'), category = _('Right Switch Panel')},        
{down = device_commands.Button_9, up = device_commands.Button_9, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0 , name = _('Dashboard UV Lights 2-Pos. ON/OFF'), category = _('Right Switch Panel')},        
{down = device_commands.Button_24, up = device_commands.Button_24, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Wing / Drop Ordnance 2-Pos ON/OFF'), category = _('Right Switch Panel')},        
{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Ignition 2-Pos ON/OFF'), category = _('Right Switch Panel')},                
{down = device_commands.Button_78, up = device_commands.Button_78, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Battery 2-Pos ON/OFF'), category = _('Right Switch Panel')},    
{down = device_commands.Button_15, up = device_commands.Button_15, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Fuel Pump(s) 2-Pos ON/OFF'), category = _('Right Switch Panel')},        
{down = device_commands.Button_36, up = device_commands.Button_36, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('MW 50 Boost System 2-Pos ON/OFF'), category = _('Front Dash')},        
{down = device_commands.Button_7, up = device_commands.Button_7, cockpit_device_id = devices.WEAPONS_CONTROLS, value_down = 0.0, value_up = 1.0, name = _('Gunsight Fold 2-Pos. UP/DOWN'), category = _('REVI 16 B Gunsight')},        
{down = device_commands.Button_10, up = device_commands.Button_10, cockpit_device_id = devices.WEAPONS_CONTROLS, value_down = 1.0, value_up = 0.0 , name = _('Gunsight Smoked Screen 2-Pos. UP/DOWN'), category = _('REVI 16 B Gunsight')},
{down = device_commands.Button_8, up = device_commands.Button_8, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Engine Cold Weather Start 2-Pos. ON/OFF'), category = _('Engine Controls')},
{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Engine Cut-Off 2-Pos. ON/OFF'), category = _('Fuel System Controls')},        

{down = device_commands.Button_8, cockpit_device_id = devices.VHF_RADIO, value_down = 0.1, name = _('FuG16ZY Tune Up'), category = _('VHF Radio')},
{down = device_commands.Button_8, cockpit_device_id = devices.VHF_RADIO, value_down = -0.1, name = _('FuG16ZY Tune Down'), category = _('VHF Radio')},
{down = device_commands.Button_3, cockpit_device_id = devices.VHF_RADIO, value_down = 0.1, name = _('FuG16ZY Volume Up'), category = _('VHF Radio')},
{down = device_commands.Button_3, cockpit_device_id = devices.VHF_RADIO, value_down = -0.1, name = _('FuG16ZY Volume Down'), category = _('VHF Radio')},

{down = device_commands.Button_1, up  = device_commands.Button_2, cockpit_device_id  = devices.CONTROLS, value_down = 1.0, value_up = 1.0, name = _('Undercarriage 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_39, up = device_commands.Button_39, cockpit_device_id  = devices.CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Undercarriage Cover 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_39, pressed = device_commands.Button_1, up = device_commands.Button_2, cockpit_device_id  = devices.CONTROLS, value_down = 1.0, value_pressed = 1, value_up = 1.0, name = _('Undercarr. Cover + Gear UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_39, pressed = device_commands.Button_1, value_down = 1.0, cockpit_device_id  = devices.CONTROLS, value_pressed = 1, name = _('Undercarriage Cover + Gear UP'), category = _('Systems')},

{down = device_commands.Button_58, up = device_commands.Button_58, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Engine Governor 2-Pos AUTO/MANUAL'), category = _('Engine Controls')},

{down = device_commands.Button_94, up = device_commands.Button_94, cockpit_device_id = devices.CONTROLS, value_down = 1.0, value_up = 0.5, name = _('Flaps Flight/25% Out'), category = _('Flight Control')},
{down = device_commands.Button_94, up = device_commands.Button_94, cockpit_device_id = devices.CONTROLS, value_down = -1.0, value_up = -0.0, name = _('Flaps Land/50% Out'), category = _('Flight Control')},    

{down = device_commands.Button_32, up = device_commands.Button_32, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('SZKK3 Weapons Control 2-Pos ON/OFF'), category = _('Front Dash')},
{down = device_commands.Button_34, up = device_commands.Button_34, cockpit_device_id = devices.FUSEBOX, value_down = 1.0, value_up = 0.0, name = _('Wing Cannons Switch 2-Pos ON/OFF'), category = _('Front Dash')},

 

 


Edited by LeCuvier
  • Like 1
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

Key Bindings for the FW-190A8:
 

{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.ENGINE_SYSTEM, value_down = 0.9, value_up = 0.0, name = _('Magneto Switch 2-Pos. 1+2/OFF'), category = _('Engine Control')},
{down = device_commands.Button_5, up = device_commands.Button_7, cockpit_device_id  = devices.CONTROL_SYSTEM, value_down = 1.0, value_up = 1.0, name = _('Landing Gear 2-Pos RETRACT/EXTD'), category = _('Systems')},
{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id = devices.CONTROL_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Landing Gear Retraction Cover 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_6, pressed = device_commands.Button_5, up = device_commands.Button_7, cockpit_device_id = devices.CONTROL_SYSTEM, value_down = 1.0, value_pressed = 1.0, value_up = 1.0, name = _('Landing Gear Cover + Gear 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_6, pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROL_SYSTEM, value_down = 1.0, value_pressed = 1.0, name = _('Landing Gear Retraction Cover + Gear UP'), category = _('Systems')},
{down = iCommandLeftEngineStop, up = iCommandLeftEngineStart, name = _('Throttle 2-Pos. OFF/IDLE'), category = _('Engine Control')},
{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.PILOT_SIGHT, value_down = 1.0, value_up = 0.0, name = _('Gun Sight Tint 2-Pos ON/OFF'), category = _('REVI 16 B Gunsight')},
{down = device_commands.Button_22, up = device_commands.Button_22, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Main Rocket Switch 2-Pos ON/OFF'), category = _('Weapon System')},

{down = device_commands.Button_7, up = device_commands.Button_42, cockpit_device_id  = devices.ELEC_INTERFACE, value_down = 1.0, value_up = 1.0, name = _('CB Instruments 2-Pos ON/OFF'), category = _('Electric System')},
{down = device_commands.Button_8, up = device_commands.Button_43, cockpit_device_id  = devices.ELEC_INTERFACE, value_down = 1.0, value_up = 1.0, name = _('CB Navigation Lights 2-Pos ON/OFF'), category = _('Electric System')},
{down = device_commands.Button_9, up = device_commands.Button_44, cockpit_device_id  = devices.ELEC_INTERFACE, value_down = 1.0, value_up = 1.0, name = _('CB Cabin Illumination 2-Pos ON/OFF'), category = _('Electric System')},

{down = device_commands.Button_13, up = device_commands.Button_13, cockpit_device_id  = devices.ENGINE_SYSTEM, value_down = 0.0, value_up = 1.0, name = _('Governor Automation 2-Pos AUTO/MAN'), category = _('Engine Control')},

 

Axis binding for the FW-190A8:

{action = device_commands.Button_13, cockpit_device_id = devices.CONTROL_SYSTEM, name = _('Radiator Flaps'), category = _('Engine Control')},

  • Like 1
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

FW-190D9 key binds:
 

{down = device_commands.Button_8, up = device_commands.Button_8, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Main Rocket Switch 2-Pos ON/OFF'), category = _('Weapon System')},
{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id  = devices.WEAPON_SYSTEM, value_down = 1.0, value_up = 0.0,   name = _('Master Arm 2-Pos. ON/OFF'), category = _('Weapon System')},
{down = device_commands.Button_10, up = device_commands.Button_10, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Rocket Jettison 2-Pos JETT/SAFE'), category = _('Weapon System')},

{down = device_commands.Button_9, pressed = device_commands.Button_10, up = device_commands.Button_10, cockpit_device_id = devices.WEAPON_SYSTEM, value_down = 1.0, value_pressed = 1.0, value_up = 0.0, name = _('Rocket Jettison 2-Pos JETT/SAFE & Cover'), category = _('Weapon System')},

{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id = devices.CONTROL_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Landing Gear Retraction Cover 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_5, up = device_commands.Button_7, cockpit_device_id  = devices.CONTROL_SYSTEM, value_down = 1.0, value_up = 1.0, name = _('Landing Gear 2-Pos RETRACT/EXTD'), category = _('Systems')},
{down = device_commands.Button_6, pressed = device_commands.Button_5, up = device_commands.Button_7, cockpit_device_id = devices.CONTROL_SYSTEM, value_down = 1.0, value_pressed = 1.0, value_up = 1.0, name = _('Landing Gear Retraction Cover + Gear 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_6, pressed = device_commands.Button_5, cockpit_device_id = devices.CONTROL_SYSTEM, value_down = 1.0, value_pressed = 1.0, name = _('Landing Gear Retraction Cover + Gear UP'), category = _('Systems')},


{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.ENGINE_SYSTEM, value_down = 0.9, value_up = 0.0, name = _('Magneto Switch 2-Pos. 1+2/OFF'), category = _('Engine Control')},
{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.FUEL_SYSTEM, value_down = 0.3, value_up = 0.0, name = _('Fuel Selector Valve 2-Pos. BOTH/OFF'), category = _('Fuel Control')},
{down = device_commands.Button_17, up = device_commands.Button_17, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_down = -0.033, value_up = -0.1, name = _('EZ42 Gunsight Altitude > 2km/<2km'), category = _('EZ42 Gunsight')},

{down = device_commands.Button_13, up = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id  = devices.ELEC_INTERFACE, value_down = 1.0, value_up = 1.0, value_up = 0.0, name = _('CB Navigation Lights 2-Pos ON/OFF'), category = _('Electric System')},
{down = device_commands.Button_7, up = device_commands.Button_20, cockpit_device_id  = devices.ELEC_INTERFACE, value_down = 1.0, value_up = 1.0, name = _('CB Pitot and Heating Cover 2-Pos. ON/OFF'), category = _('Electric System')},


 

 


Edited by LeCuvier
  • Like 1
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  I-16 key binds:
 

{down = 3026, up = 3026, cockpit_device_id  = devices.ELECTRIC_SYSTEM, value_down = 1, value_up = 0, name = _('Accum switch 2-Poa ON/OFF'), category = _('Systems')},
{down = 3022, up = 3022, cockpit_device_id  = devices.MOTOR_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Ignition switch 2-Pos BOTH/OFF'), category = _('Engine Control')},
{down = 3062, up = 3062, cockpit_device_id  = devices.MOTOR_SYSTEM, value_down = 1, value_up = 0, name = _('Fuel valve 2-Pos OPEN/CLOSE'), category = _('Fuel System Controls')},
{down = 3027, up = 3027, cockpit_device_id  = devices.ELECTRIC_SYSTEM, value_down = 1, value_up = 0, name = _('Shunt switch 2-Pos ON/OFF'), category = _('Systems')},
{down = 3028, up = 3028, cockpit_device_id  = devices.ELECTRIC_SYSTEM, value_down = 1, value_up = 0, name = _('Radio switch 2-Pos ON/OFF'), category = _('Systems')},
{down = 3024, up = 3024, cockpit_device_id  = devices.ELECTRIC_SYSTEM, value_down = 1, value_up = 0, name = _('Pitot heating switch 2-Pos ON/OFF'), category = _('Systems')},
{down = 3025, up = 3025, cockpit_device_id  = devices.ELECTRIC_SYSTEM, value_down = 1, value_up = 0, name = _('Nav light switch 2-Pos ON/OFF'), category = _('Systems')},
{down = 3046, up = 3046, cockpit_device_id  = devices.MOTOR_SYSTEM, value_up = 1, value_down = 0, name = _('Supercharger switch 2-Pos HIGH/LOW'), category = _('Engine Control')},
{down = 3069, up = 3069, cockpit_device_id  = devices.COMMON_SYSTEM, value_down = 1, value_up = 0, name = _('Mech sight 2-Pos ON/OFF'), category = _('Weapons')},
{down = 3700, up = 3700, cockpit_device_id  = devices.COMMON_SYSTEM, value_down = 1, value_up = 0, name = _('Sight filter 2-Pos ON/OFF'), category = _('Weapons')},
{down = 3003, up = 3003, cockpit_device_id  = devices.OXYGEN_SYSTEM, value_down = -1, value_up = 1, name = _('Oxygen shutoff valve 2-Pos OPEN/CLOSE'), category = _('Systems')},

{down = 3050, up = 3050, cockpit_device_id  = devices.GEAR_SYSTEM, value_down = 1, value_up = -1, name = _('Gear Lock 2-Pos ON/OFF'), category = _('Systems')},
{down = 3051, cockpit_device_id  = devices.GEAR_SYSTEM,    value_down = 1, name = _('Gear Jaw Direction UP'),    category = _('Systems')},
{down = 3051, cockpit_device_id  = devices.GEAR_SYSTEM,    value_down = 0, name = _('Gear Jaw Direction DOWN'),    category = _('Systems')},

{down = 3055, up = 3055, cockpit_device_id  = devices.GEAR_SYSTEM, value_down = 1, value_up = 1, name = _('Gear Brake 2-Pos ON/RELEASE'), category = _('Systems')},
{down = 3065, up = 3065, cockpit_device_id  = devices.COMMON_SYSTEM, value_down = 1, value_up = 0.75, name = _('Seat Height MAX/75%'), category = _('Systems')},
{down = 3065, up = 3065, cockpit_device_id  = devices.COMMON_SYSTEM, value_down = 1, value_up = 0.5, name = _('Seat Height MAX/50%'), category = _('Systems')},
{down = 3065, up = 3065, cockpit_device_id  = devices.COMMON_SYSTEM, value_down = 0, value_up = 0.5, name = _('Seat Height MIN/50%'), category = _('Systems')},
{down = 3065, up = 3065, cockpit_device_id  = devices.COMMON_SYSTEM, value_down = 0, value_up = 0.25, name = _('Seat Height MIN/25%'), category = _('Systems')},
{down = 3088, up = 3088, cockpit_device_id  = devices.WEAPON_SYSTEM, value_down = 1, value_up = 0, name = _('Main Bomb Switch 2-Pos ON/OFF'), category = _('Weapons')},

{down = 3003, up = 3003, cockpit_device_id  = devices.MOTOR_SYSTEM, value_down = 1, value_up = 0, name = _('War Emergency Power 2-Pos ON/OFF'), category = _('Flight Control')},

 

I-16 axis binds:

{action = 3044, cockpit_device_id  = devices.MOTOR_SYSTEM, name = _('Mixture Setting Axis')},
{action = 3048, cockpit_device_id  = devices.MOTOR_SYSTEM, name = _('Oil Radiator Flaps Axis')},

 

 


Edited by LeCuvier
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

Key binds for the P-51D:

{down = device_commands.Button_11, up = device_commands.Button_11, cockpit_device_id  = devices.ENGINE_SYSTEM, value_down = 0.0, value_up = 0.1, name = _('Mixture 2-Pos RUN/CUT-OFF'), category = _('Flight Control')},
{down = device_commands.Button_12, up = device_commands.Button_12, cockpit_device_id  = devices.RIGHT_SWITCH_PANEL, value_down = 1.0, value_up = 0.0, name = _('Battery 2-Pos ON/OFF'), category = _('Right Switch Panel')},
{down = device_commands.Button_13, up = device_commands.Button_13, cockpit_device_id  = devices.RIGHT_SWITCH_PANEL, value_down = 1.0, value_up = 0.0, name = _('Generator 2-Pos ON/OFF'), category = _('Right Switch Panel')},
{down = device_commands.Button_14, up = device_commands.Button_14, cockpit_device_id  = devices.RIGHT_SWITCH_PANEL, value_down = 1.0, value_up = 0.0, name = _('Pitot heat 2-Pos ON/OFF'), category = _('Right Switch Panel')},
{down = device_commands.Button_12, up = device_commands.Button_12, cockpit_device_id = devices.ENGINE_CONTROL_PANEL, value_down = 1.0, value_up = 0.0, name = _('Fuel Booster 2-Pos ON/OFF'), category = _('Engine Control Panel')},
{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id  = devices.FRONT_SWITCH_BOX, value_down = 0.3, value_up = 0.0, name = _('Ignition switch 2-Pos. BOTH/OFF'), category = _('Front Switch Box')},
{down = device_commands.Button_5, up = device_commands.Button_5, cockpit_device_id  = devices.FUEL_SYSTEM, value_down = 1.0, value_up = 0.0, name = _('Fuel shut-off valve 2-Pos ON/OFF'), category = _('Fuel Control')},
{down = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id  = devices.RIGHT_SWITCH_PANEL, value_down = 1.0, value_up = 0.0, name = _('Gun heat 2-Pos ON/OFF'), category = _('Right Switch Panel')},
{down = device_commands.Button_15, up = device_commands.Button_15, cockpit_device_id  = devices.K14_GUNSIGHT, value_down = 1.0,value_up = 0.0, name = _('Gunsight gyromotor power 2-Pos ON/OFF'), category = _('K-14 gunsight')},
{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id  = devices.K14_GUNSIGHT, value_down = 1.0,value_up = 0.0, name = _('Gunsight Reticle Mask 2-Pos ON/OFF'), category = _('K-14 gunsight')},
{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id  = devices.CONTROL_SYSTEM, value_down = 1.0,value_up = 0.0, name = _('Landing Gear 2-Pos UP/DOWN'), category = _('Systems')},
{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id  = devices.CONTROL_SYSTEM, value_down = 1.0, value_up = 0.8, name = _('Flaps FLIGHT/10° OUT'), category = _('Flight Control')},
{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id  = devices.CONTROL_SYSTEM, value_down = 0.0, value_up = 0.6, name = _('Flaps LAND/20° OUT'), category = _('Flight Control')},

 

 


Edited by LeCuvier
  • Like 1
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

 Ka-50 key binds:

{down = 3002, up = 3002, value_down = 1, value_up = 0, cockpit_device_id = 23, name = _('Helmet-mounted System 2-Pos. On/Off'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3002, value_down = 1, cockpit_device_id = 23, name = _('Helmet-mounted System ON'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3002, value_down = 0, cockpit_device_id = 23, name = _('Helmet-mounted System OFF'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3001, up = 3001, value_down = 1, value_up = 0, cockpit_device_id = 11, name = _('Laser standby 2-Pos ON/OFF Switch'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3017, up = 3017, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Automatic tracking/gun sight 2-Pos AT/GS'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3001, up = 3001, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Master arm 2-Pos ON/OFF'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3006, up = 3006, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Cannon round selector 2-Pos HE/API'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3004, up = 3004, value_down = 0.2, value_up = 0.1, cockpit_device_id = 12, name = _('Weapon mode Burst Length 3-Pos HIGH/MEDIUM'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3004, up = 3004, value_down = 0.0, value_up = 0.1, cockpit_device_id = 12, name = _('Weapon mode Burst Length 3-Pos LOW/MEDIUM'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3020, up = 3020, value_down = 1.0, value_up = 0.0, cockpit_device_id = 12, name = _('Cannon rate of fire 2-Pos LOW/HIGH'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3005, up = 3005, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Weapon Control 2-Pos MAN/AUTO'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3007, up = 3007, value_down = 1.0, value_up = -1.0, cockpit_device_id = 51, name = _('Lighting Night Vision Cockpit Switch 2-Pos ON/OFF'), category = _('Ins Wall panel')},
{down = 3006, value_down = 1.0,cockpit_device_id = 2, name = _('Battery 1 Cover Open'), category = _('MODDED')},
{down = 3006, value_down = -1.0,cockpit_device_id = 2, name = _('Battery 1 Cover Close'), category = _('MODDED')},
{down = 3001, value_down = 1.0,cockpit_device_id = 34, name = _('Gear Lever DOWN'), category = _('Ins Forward panel and gauges')},
{down = 3001, value_down = -1.0,cockpit_device_id = 34, name = _('Gear Lever UP'), category = _('Ins Forward panel and gauges')},
{down = 3001, up = 3001, value_down = -1.0, value_up = 1.0, cockpit_device_id = 34, name = _('Gear Lever 2-Pos UP/DOWN'), category = _('Ins Forward panel and gauges')},
{down = 3022, up = 3022, value_down = 1.0, value_up = -1.0, cockpit_device_id = 12, name = _('Jettison Fuse 2-Pos ARM/DISARM'), category = _('Ins Weapons Status and Control Panel PUI-800')},
{down = 3002, up = 3002, value_down = 1.0, value_up = -1.0, cockpit_device_id = 59, name = _('K-041 Targeting Power 2-Pos Switch ON/OFF'), category = _('Ins Targeting Mode Controls Panel PVR')},
{down = 3006, up = 3006, value_down = -1.0, value_up = 1.0, cockpit_device_id = 33, name = _('Autopilot Altitude Hold Mode 2-Pos BARO/RALT'), category = _('Autopilot Panel')},
{down = 3003, up = 3003, value_down = -1.0, value_up = 1.0, cockpit_device_id = 28, name = _('Autopilot Desired Heading/Desired Track 2-Pos DH/DT'), category = _('Autopilot Panel')},

 

Ka-50 axis binds:

-- the 2 following commands need to be used with Saturation Y = 50%, Slider = TRUE, Invert = TRUE
{action = 3002, cockpit_device_id = 8, name = _('IT-23 TV Brightness Axis')},
{action = 3003, cockpit_device_id = 8, name = _('IT-23 TV Contrast Axis')},

 

  • Like 1
  • Thanks 2

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

Spitfire LF MKIX key binds:

{down = device_commands.Button_9, up = device_commands.Button_9, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 0.0, value_up = 1.0, name = _('Mixture Control 2-Pos. IDLE CUTOFF/RUN'), category = _('Engine Controls')},
{down = device_commands.Button_33, up = device_commands.Button_33, cockpit_device_id = devices.CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Radiator Flap 2-Pos. ON/OFF'), category = _('Systems')},
{down = device_commands.Button_35, up = device_commands.Button_35, cockpit_device_id = devices.CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Pitot Heating 2-Pos. ON/OFF'), category = _('Systems')},
{down = device_commands.Button_43, up = device_commands.Button_43, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Fuel Pump 2-Pos. ON/OFF'), category = _('Engine Controls')},
{down = device_commands.Button_45, up = device_commands.Button_45, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Carburator Air Control 2-Pos. ON/OFF'), category = _('Engine Controls')},
{down = device_commands.Button_37, up = device_commands.Button_37, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Main Fuel Cock 2-Pos. ON/OFF'), category = _('Engine Controls')},
{down = device_commands.Button_7, up = device_commands.Button_7, cockpit_device_id = devices.CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Nav. Lights 2-Pos. ON/OFF'), category = _('Front Dash')},
{down = device_commands.Button_15, up = device_commands.Button_15, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Magneto 1 2-Pos. ON/OFF'), category = _('Engine Controls')},
{down = device_commands.Button_17, up = device_commands.Button_17, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Magneto 2 2-Pos. ON/OFF'), category = _('Engine Controls')},
{down = device_commands.Button_33, up = device_commands.Button_33, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Tank Pressurizer 2-Pos. ON/OFF'), category = _('Systems')},
{down = device_commands.Button_16, up = device_commands.Button_16, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_up = 0.0, name = _('Gun Sight Tint Screen 2-Pos. ON/OFF'), category = _('Gunsight')},
{down = device_commands.Button_18, up = device_commands.Button_18, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_up = 0.0, name = _('Gun Sight Master 2-Pos. ON/OFF'), category = _('Gunsight')},
{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_up = 0.0, name = _('Guns Safety Lever 2-Pos FIRE/SAFE'), category = _('Stick')},

 

  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • 3 weeks later...

P-47D key binds:
 

{down = device_commands.Button_35, up = device_commands.Button_35, cockpit_device_id = devices.CONTROLS, value_down = -1.0, value_up = 1.0, name = _('Undercarriage 2-Pos UP/DOWN'), category = {_('Systems'), _('Hydraulic system')}},
{down = device_commands.Button_39, up = device_commands.Button_39, cockpit_device_id = devices.CONTROLS, value_down = 1.0,  value_up = 0.0,  name = _('Compressibilty Recovery Flaps 2-Pos EXTD/RETR'),   category = {_('Flight Control'), _('Systems')}},
{down = device_commands.Button_26, up = device_commands.Button_26, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 1.0, value_up = 0.0, name = _('Pitot Heat 2-Pos ON/OFF'), category = {_('Main Switch Box'), _('Systems')}},
{down = device_commands.Button_32, up = device_commands.Button_32, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 1.0, value_up = 0.0, name = _('Battery Switch 2-Pos ON/OFF'), category = {_('Front Dash'), _('Systems')}},
{down = device_commands.Button_24, up = device_commands.Button_24, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 1.0, value_up = 0.0, name = _('Generator Switch 2-Pos ON/OFF'), category = {_('Main Switch Box')}},
{down = device_commands.Button_19, up = device_commands.Button_19, cockpit_device_id = devices.K14_GUNSIGHT, value_down = 0.0, value_up = 1.0, name = _('Gunsight fixed ring 2-Pos ON/OFF'), category = _('K-14 gunsight')},
{down = device_commands.Button_28, up = device_commands.Button_28, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 0.3,  value_up = 0.0,  name = _('Magnetos 2-Pos BOTH/OFF'),     category = {_('Front Dash'), _('Engine Controls')}},
{down = device_commands.Button_28, up = device_commands.Button_28, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 1.0, value_up = 0.0, name = _('Oil Dilution Switch 2-Pos ON/OFF'), category = {_('Main Switch Box'), _('Engine Controls')}},
{down = device_commands.Button_7, up = device_commands.Button_7, cockpit_device_id = devices.WEAPONS, value_down = -1.0, value_up = 0.0, name = _('Gun Safety 2-Pos FIRE/SAFE'), category = _('Weapons')},

-- 2-position commands combined with cover Open/Closed
{down = device_commands.Button_3, up = device_commands.Button_3, pressed = device_commands.Button_7, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_pressed = -1.0 , value_up = 0.0, name = _('Gun Safety 2-Pos and Cover'), category = _('Weapons')},
{down = device_commands.Button_36, up = device_commands.Button_36, pressed = device_commands.Button_39, cockpit_device_id = devices.CONTROLS, value_down = 1.0, value_pressed = 1.0, value_up = 0.0 , name = _('Compressibilty Recovery Flaps 2-Pos and Cover'), category = {_('Flight Control'), _('Systems')}},
{down = device_commands.Button_11, up  = device_commands.Button_11, pressed  = device_commands.Button_13, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_up = 0.0, value_pressed = 1.0, name = _('Left Wing Bomb Arm & Cover'), category = {_('Weapons'), _('Input.Generic.drop_ordnance_arming_panel')}},
{down = device_commands.Button_15, up = device_commands.Button_15, pressed = device_commands.Button_17, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_up = 0.0, value_pressed = 1.0, name = _('Right Wing Bomb Arm & Cover'), category = {_('Weapons'), _('Input.Generic.drop_ordnance_arming_panel')}},
{down = device_commands.Button_19, up = device_commands.Button_19, pressed = device_commands.Button_21, cockpit_device_id = devices.WEAPONS, value_down = 1.0, value_up = 0.0, value_pressed = 1.0,  name = _('Belly Bomb Arm & Cover'),  category = {_('Weapons'), _('Input.Generic.drop_ordnance_arming_panel')}},
-- Gun circuit breakers
{down = device_commands.Button_51, up = device_commands.Button_51, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 1.0, value_up = 0.0, name = _('CB LH Inboard Guns 2-Pos ON/OFF'), category = {_('Main Switch Box')}},
{down = device_commands.Button_55, up = device_commands.Button_55, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 1.0, value_up = 0.0, name = _('CB RH Inboard Guns 2-Pos ON/OFF'), category = {_('Main Switch Box')}},
{down = device_commands.Button_51, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 0.0, name = _('CB LH Inboard Guns OFF'), category = {_('Main Switch Box')}},
{down = device_commands.Button_55, cockpit_device_id = devices.MAIN_SWITCH_BOX, value_down = 0.0, name = _('CB RH Inboard Guns OFF'), category = {_('Main Switch Box')}},

 

  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • 3 weeks later...

Just a few additions for the F-16C:

 

{down = mmc_commands.Alt, up = mmc_commands.Alt, cockpit_device_id = devices.MMC, value_down =  1.0, value_up =  0.0, name = _('HUD Altitude Switch 2-POS RADAR/BARO'), category = {_('Right Console'), _('HUD Control Panel')}},
{pressed = hotas_commands.THROTTLE_ANT_ELEV_UP, cockpit_device_id = devices.HOTAS,    value_pressed =  0.2, name = _('ANT ELEV Knob - CW Fine'), category = {_('Throttle Grip'), _('HOTAS')}},
{pressed = hotas_commands.THROTTLE_ANT_ELEV_DOWN, cockpit_device_id = devices.HOTAS,    value_pressed = -0.2, name = _('ANT ELEV Knob - CCW Fine'), category = {_('Throttle Grip'), _('HOTAS')}},
{down = iCommandPlaneGearUp, up  = iCommandPlaneGearDown, name = _('LG Handle 2-Pos UP/DOWN'), category = {_('Left Auxiliary Console')}},
{down = control_commands.ApPitchAlt_EXT, up = control_commands.ApPitchAlt_EXT, cockpit_device_id = devices.CONTROL_INTERFACE, value_down =  1.0, value_up = -1.0,    name = _('Autopilot PITCH Switch ALT HOLD/OFF'), category = {_('Instrument Panel'), _('FLCS')}},
{down = control_commands.ApPitchAtt_EXT, up = control_commands.ApPitchAlt_EXT, cockpit_device_id = devices.CONTROL_INTERFACE, value_down = -1.0,    value_up = -1.0, name = _('Autopilot PITCH Switch ATT HOLD/OFF'), category = {_('Instrument Panel'), _('FLCS')}},
{down = fcr_commands.PwrSw, up = fcr_commands.PwrSw, cockpit_device_id = devices.FCR, value_down =  1.0, value_up =  0.0,    name = _('FCR Switch 2-Pos FCR/OFF OFF'), category = {_('Right Console'), _('SNSR PWR Control Panel')}},
{down = ufc_commands.FLIR_GAIN_Sw, up = ufc_commands.FLIR_GAIN_Sw, cockpit_device_id = devices.UFC,    value_down =  1.0, value_up =  0.0, name = _('ICP FLIR GAIN/LEVEL 3-Pos Switch GAIN/LVL'), category = {_('Instrument Panel'), _('ICP')}},
{down = ufc_commands.FLIR_GAIN_Sw, up = ufc_commands.FLIR_GAIN_Sw, cockpit_device_id = devices.UFC,    value_down =  -1.0, value_up =  0.0, name = _('ICP FLIR GAIN/LEVEL 3-Pos Switch AUTO/LVL'), category = {_('Instrument Panel'), _('ICP')}},
{down = rwr_commands.Power, up = rwr_commands.Power, cockpit_device_id = devices.RWR, value_down =  1.0, value_up =  0.0, name = _('RWR Indicator Control POWER Button 2-Pos DEPR/REL'), category = {_('Left Auxiliary Console'), _('THREAT WARNING AUX Panel')}},
{down = cpt_commands.EjectionSafetyLever, up = cpt_commands.EjectionSafetyLever, value_down = 1.0, value_up = 0.0, cockpit_device_id = devices.CPT_MECH, name = _('Ejection Safety Lever 2-Pos ARMED/LOCKED'), category = {_('Systems')}},
{down = cpt_commands.EjectionSafetyLever, value_down = 1.0, cockpit_device_id = devices.CPT_MECH, name = _('Ejection Safety Lever ARMED'), category = {_('Systems')}},
{down = cpt_commands.EjectionSafetyLever, value_down = 0.0, cockpit_device_id = devices.CPT_MECH, name = _('Ejection Safety Lever LOCKED'), category = {_('Systems')}},

 

  • Like 1
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...