I figured I'd share here what I have done. These binds should work for any joystick that has the appropriate type of switches.
It's involves editing a config file but it's pretty simple and you can just paste in what I have below.
The only down side is that you have to redo it after each update. But it's pretty simple, you just have to remember to do it.
The file to edit is:
C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystick\default.lua
You should be able to open it in any text editor, but I highly recommend Notepad++
You might want to make a backup copy first, just in case, but I've never had a problem before.
At the beginning of the file, just below the line "join(res.keyCommands,{". Paste the following code:
Code: Select all
-- Custom --
{ down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear Control Handle'), category = {_('Custom Special For Joystick')}},
{ down = gear_commands.HookHandle, up = gear_commands.HookHandle, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, value_up = 0.0, name = _('Arresting Hook Handle'), category = {_('Custom Special For Joystick')}},
{ down = hotas_commands.THROTTLE_EXTERIOR_LIGTHS, up = hotas_commands.THROTTLE_EXTERIOR_LIGTHS, cockpit_device_id = devices.HOTAS, value_down = 1.0, value_up = 0.0, name = _('Exterior Lights Switch'), category = {_('Custom Special For Joystick'), _('Throttle Grip'), _('HOTAS')}},
{ down = gear_commands.LaunchBarSw, up = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 0.0, value_up = 1.0, name = _('Launch Bar Control Switch'), category = {_('Custom Special For Joystick'), _('Left Vertical Panel')}},
{ down = extlights_commands.LdgTaxi, up = extlights_commands.LdgTaxi, cockpit_device_id = devices.EXT_LIGHTS, value_down = 0.0, value_up = 1.0, name = _('LDG/TAXI LIGHT Switch'), category = {_('Custom Special For Joystick'), _('Left Vertical Panel')}},
{ down = gear_commands.AntiSkidSw, up = gear_commands.AntiSkidSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 0.0, value_up = 1.0, name = _('Anti Skid Switch'), category = {_('Custom Special For Joystick'), _('Left Vertical Panel')}},
{ down = cptlights_commands.HookBypass, up = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGTHS, value_down = -1.0, value_up = 1.0, name = _('Hook Bypass 2-Pos Switch CARRIER/FIELD/CARRIER'), category = {_('Custom Special For Joystick'), _('Left Vertical Panel')}},
{ down = iCommandViewNightVisionGogglesOn, up = iCommandViewNightVisionGogglesOn, value_down = 1.0, value_up = 0.0, name = _('NightVision'), category = {_('Custom Special For Joystick'), _('Sensors')}},
-- End Custom --
Once this is done you will find a new category in the F/A-18 binds called "Custom Special for Joystick". Go ahead and setup the ones you want to use.
After an update, just paste the same code in again. if you do it before loading up the Hornet, all your bindings should still be there. If you forget and load the Hornet before pasting it back in, you may have to go back and rebind them again after pasting it in again.