Results 1 to 6 of 6
  1. #1
    Squadron Leader
    Join Date
    Mar 2015
    Location
    New Zealand
    Posts
    130

    M-2000c: 3-way switch bindings for Warthog HOTAS

    I got curious around the 2/3-way switch bindings for my new Warthog HOTAS... and I ended up adding the following to my M-2000C bindings.

    Code:
    -- Additional 3-Pos Switch Abstractions
    {down = iCommandSwitchMasterArm, up = iCommandSwitchMasterArm, name = _('Master Arm ON else OFF'), category = _('3-Pos. Switch Abstractions')},
    {down = 3463, up = 3463, cockpit_device_id = 6, value_up= 0, value_down = 1, name = _('Gun Arm ON else OFF'), category = _('3-Pos. Switch Abstractions')},
    {down = 3486, up = 3486, cockpit_device_id = 11, value_down = .33, value_up = .67, name = _('Radar WARM UP, else STANDBY'), category = _('3-Pos. Switch Abstractions')},
    {down = 3486, up = 3486, cockpit_device_id = 11, value_down = 1,  value_up = .67, name = _('Radar ON, else STANDBY'), category = _('3-Pos. Switch Abstractions')},    
    {down = 3422, up = 3422, cockpit_device_id = 3, value_up= 1, value_down = 0, name = _('FBW G-Limiter Mode ON else OFF'), category = _('3-Pos. Switch Abstractions')},
    {down = 3605, up = 3605, cockpit_device_id = 13, value_down = 0, value_up = -1, name = _('Jammer ON else STANDBY'), category = _('3-Pos. Switch Abstractions')}, 
    {down = 3194, up = 3194, cockpit_device_id = 13, value_down = 0, value_up = .5, name = _('CM Box OFF else ON'), category = _('3-Pos. Switch Abstractions')},
    {down = 3194, up = 3194, cockpit_device_id = 13, value_down = 1, value_up = .5, name = _('CM Box AUTO else ON'), category = _('3-Pos. Switch Abstractions')},
    {down = iCommandPlaneModeCannon, up = iCommandPlaneModeGrid, name = _('AA Gun SELECT ELSE PCA SELECT'),   category = _('3-Pos. Switch Abstractions')},
    {down = iCommandPlaneModeFI0, up = iCommandPlaneModeGrid, name = _('MAGIC SELECT ELSE PCA SELECT'), category = _('3-Pos. Switch Abstractions')},
    To use, you can add these to the default.lua located in <install location>\DCS World OpenBeta\Mods\aircraft\M-2000C\Input\M-2000C\joystick (e.g. C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\M-2000C\Input\M-2000C\joystick)

    I've yet to figure out a way to make the Master Arm bind to maintain switch state but I think it's hard-coded as a toggle bind.

    Z.
    --
    You don't need to be a better shot. You just need to shoot more bullets...

  2. #2
    nice I will apply this to the F-5

    "161 SQN flys the AEF flag the highest"

  3. #3
    Squadron Leader
    Join Date
    Mar 2015
    Location
    New Zealand
    Posts
    130
    These are specific to the mirage. I'll have to hop into the f5 and see what controls need 2/3 way binds.

    Z.
    --
    You don't need to be a better shot. You just need to shoot more bullets...

  4. #4
    the principal is the same as what I used for some panels I made but they changed the way the .LUA worked and I needed to see this to get the new system.
    I am not sure I have it, but I will try.

    "161 SQN flys the AEF flag the highest"

  5. #5
    Squadron Leader
    Join Date
    Mar 2015
    Location
    New Zealand
    Posts
    130

    F-15 3-way Switch Bindings

    default.lua in \Mods\aircraft\Flaming Cliffs\Input\f-15c\joystick

    Code:
    -- 3-Pos Switch Abstractions
    {down = iCommandPowerOnOff, up = iCommandPowerOnOff, name = _('Electric Power On, ELSE Off'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandLeftEngineStop, up = iCommandLeftEngineStart, name = _('Engine Left Stop, ELSE Start'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandRightEngineStop, up = iCommandRightEngineStart, name = _('Engine Right Stop, ELSE Start'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneAirBrakeOn, up = iCommandPlaneAirBrakeOn,  name = _('Airbrake Out'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneAirBrakeOff, up = iCommandPlaneAirBrakeOff, name = _('Airbrake In'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear Up, else Down'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneFlapsOff, up = iCommandPlaneFlaps, name = _('Flaps Up, ELSE Down'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneFlapsOn, up = iCommandPlaneFlaps, name = _('Flaps Landing Position, ELSE Up'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneModeVS, up = iCommandPlaneModeBore, name = _('Vertical Scan, else Bore Mode'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneModeFI0, up = iCommandPlaneModeBore, name = _('FLOOD, else Bore Mode'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneRadarChangeMode, up = iCommandPlaneRadarChangeMode, name = _('Radar TWS, ELSE RWS'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandDecreaseRadarScanArea, up = iCommandIncreaseRadarScanArea, name = _('Radar Scan Zone Toggle'), category = _('3-Pos Switch Abstractions')},
    Might as well add some for the Su-27/Su-33 too

    Code:
    -- 3-Pos Switch Abstractions
    {down = iCommandPowerOnOff, up = iCommandPowerOnOff, name = _('Electric Power On, ELSE Off'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandLeftEngineStop, up = iCommandLeftEngineStart, name = _('Engine Left Stop, ELSE Start'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandRightEngineStop, up = iCommandRightEngineStart, name = _('Engine Right Stop, ELSE Start'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneAirBrakeOn, up = iCommandPlaneAirBrakeOn,  name = _('Airbrake Out'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneAirBrakeOff, up = iCommandPlaneAirBrakeOff, name = _('Airbrake In'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, name = _('Landing Gear Up, else Down'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneFlapsOff, up = iCommandPlaneFlaps, name = _('Flaps Up, ELSE Down'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneFlapsOn, up = iCommandPlaneFlaps, name = _('Flaps Landing Position, ELSE Up'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneModeVS, up = iCommandPlaneModeBore, name = _('Vertical Scan, else Bore Mode'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneModeFI0, up = iCommandPlaneModeBore, name = _('FLOOD, else Bore Mode'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneRadarChangeMode, up = iCommandPlaneRadarChangeMode, name = _('Radar TWS, ELSE RWS'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandDecreaseRadarScanArea, up = iCommandIncreaseRadarScanArea, name = _('Radar Scan Zone Toggle'), category = _('3-Pos Switch Abstractions')},
    
    
    {down = iCommandPlaneHUDFilterOnOff, up = iCommandPlaneHUDFilterOnOff, name = _('HUD Filter Toggle'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneRightMFD_OSB1 , up = iCommandPlaneRightMFD_OSB1, name = _('MFD HUD Repeater Mode Toggle'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneCobra, up = iCommandPlaneCobra, name = _('ASC Direct Control Toggle'), category = _('3-Pos Switch Abstractions')},
    {down = iCommandPlaneEOSOnOff, up = iCommandPlaneEOSOnOff, name = _('Electro-Optical System Toggle'), category = _('3-Pos Switch Abstractions')},
    --
    You don't need to be a better shot. You just need to shoot more bullets...

  6. #6
    Squadron Leader
    Join Date
    Mar 2015
    Location
    New Zealand
    Posts
    130
    Going through and refreshing my bindings from he latest updates from 2.0

    Here are some for the UH-1H

    Joystick - HOTAS Warthog.lua & Throttle - HOTAS Warthog.lua in \Mods\aircraft\Uh-1H\Input\UH-1H\joystick\

    Code:
    ---2/3 Position Switch Abstractions
    {down = 3006, up = 3006, cockpit_device_id = 7, value_down = 1, value_up = 0, name = _("Search light On, else Off"),  category = _("2/3 Pos Abstractions"), },
    {down = 3006, up = 3006, cockpit_device_id = 7, value_down = -1, value_up = 0, name = _("Search light Stow, else Off"),  category = _("2/3 Pos Abstractions"), },
    
    
    {down = 3007, up = 3007, cockpit_device_id = 7, value_down = 1, value_up = 0, name = _("Landing light Extend/Stop"),  category = _("2/3 Pos Abstractions"), },
    {down = 3007, up = 3007, cockpit_device_id = 7, value_down = -1, value_up = 0, name = _("Landing light Retract/Stop"),  category = _("2/3 Pos Abstractions"), },
    
    
    {down = 3020, up = 3020, cockpit_device_id = 9, value_down = -1, value_up = 1, name = _("Armament Off, else Safe"),  category = _("2/3 Pos Abstractions"), },
    {down = 3020, up = 3020, cockpit_device_id = 9, value_down = 1, value_up = -1, name = _("Armament Armed, else Safe"),  category = _("2/3 Pos Abstractions"), },
    
    
    {down = 3021, up = 3021, cockpit_device_id = 9, value_down = 1, value_up = -1, name = _("Armament Selector Up, else down"),  category = _("2/3 Pos Abstractions"), },
    
    
    {down = 3024, up = 3024, cockpit_device_id = 9, value_down = 1, value_up = -1, name = _("Gun Selector Switch Up, else Middle"),  category = _("2/3 Pos Abstractions"), },
    {down = 3024, up = 3024, cockpit_device_id = 9, value_down = -1, value_up = 1, name = _("Gun Selector Switch Down, else Middle"),  category = _("2/3 Pos Abstractions"), },
    
    
    {down = 3003, up = 3003, cockpit_device_id = 32, value_down = -1, value_up = 0, name = _("Flexible Sight Backup Lamp, else Off"),  category = _("2/3 Pos Abstractions"), },
    {down = 3003, up = 3003, cockpit_device_id = 32, value_down = 1, value_up = 0, name = _("Flexible Sight Main Lamp, else Off"),  category = _("2/3 Pos Abstractions"), },
    
    
    {down = 3013, up = 3013, cockpit_device_id = 50, value_down = 0, value_up = 0, name = _("SAFE/ARMED Switcher"),  category = _("2/3 Pos Abstractions"), },
    {down = 3003, up = 3003, cockpit_device_id = 2, value_down = 0, value_up = 0, name = _("Main Fuel Switch"),  category = _("2/3 Pos Abstractions"), },
    {down = 3022, up = 3022, cockpit_device_id = 3, value_down = 0, value_up = 0, name = _("Low RPM Warning Switch"),  category = _("2/3 Pos Abstractions"), },
    
    
    ---2/3 Position Switch Abstractions
    Z.
    --
    You don't need to be a better shot. You just need to shoot more bullets...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •