Jump to content

Recommended Posts

Posted

Hey

 

I bought the WH Hotas preowned with no manual. I found the manual online, but it didn't answer my question..

 

How do I map f ex the 3 light modes in the Huey to the pinky switch on the thottle?

 

As it is now center pinky is not a working key, I therefor can not turn off the light. In essense, I only get to modes, steady and flash.

 

Do I have to use T.A.R.G.E.T software?

 

I kinda dont want to since I heard it mess up the A-10s default keybinds.. :s

Posted (edited)

 

Do I have to use T.A.R.G.E.T software?

 

 

I used Target to do that. A Target profile for the Huey has nothing to do with the A-10.

 

EDIT: You might be able to do it by modifying the Huey controller lua file but I have not looked at that possibility since I use Target for all of my DCS aircraft.

Edited by cichlidfan

ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:

Posted (edited)

The toggle switch is a 3 pole, single throw toggle switch meaning it has 3 positions and switches between two pins at a time (it connects the middle ground pin with either the top pin, the bottom pin, or nothing in the middle position). Sometimes they're called ON-OFF-ON toggle switches.

Pt3_Throw.jpg

 

Therefore there is no "button" that registers when that switch hits the middle position. By default the forward position is Joystick button 13 and the back position is Joystick button 14.

 

 

To get the middle position to register as "Nav Lights Off" in the sim, you have to make a minor edit to the C:\Users\Taproot\Saved Games\DCS\Config\Input\UH-1H\joystick\Throttle - HOTAS Warthog {xxx}.lua file. The change you have to make is to buttons 13 and 14. You're basically telling the sim that when the button for steady nav lights is released, issue the command to turn the lights off. Same with the button for flashing nav lights.

 

Open the lua file in notepad++ and edit the line

{combos = {{key = "JOY_BTN14"}, }, down = 3002, cockpit_device_id = 7, value_down = -1, name = "Nav Lights Flash", category = "Ins Overhead panel"},

to read:

{combos = {{key = "JOY_BTN14"}, }, down = 3002, up = 3002, cockpit_device_id = 7, value_down = -1, value_up = 0, name = "Nav Lights Flash", category = "Ins Overhead panel"},

 

You're basically programming that toggle to stay on all the time to keep the light on (value=-1), but when you release the button (move the toggle to middle) turn the light off (value=0). I actually have no button set to Nav Lights Off, but through this Lua change, the command to turn Nav Lights Off is triggered when I turn off that light.

 

Do the same with JOY_BTN13 and you're all set.

 

One thing to notice is that in your options screen you will have two entries for "Nav Lights Flash". One is coming in off your C:\Users\Taproot\Saved Games\DCS\Config\Input\UH-1H\joystick\Throttle - HOTAS Warthog {xxx}.lua file and the other is coming in off your C:\Program Files\Eagle Dynamics\DCS World\Config\Input\Aircrafts\Default\joystick\default.lua file. The reason for this is because they do slightly different things now so the sim thinks they're two different functions.

 

Personally I don't use the TARGET software because I can do everything in the options screen or the LUA file directly, but using a TARGET script will not hurt anything. When you run a TARGET script it ties together your throttle + joystick into one integrated device that the sim thinks is a new device with a new blank set of keybinds. So you can do both, no problem, but running it will make it harder to jump in and out of different aircraft in multiplayer that's for sure.

Edited by Namco51
added details
  • Like 1
Posted
So you can do both, no problem, but running it will make it harder to jump in and out of different aircraft in multiplayer that's for sure.

 

Biggest problem using Target with DCS/FC3 series right here. I love the easy setup of switches to do functions similar to that described here with Target. I need to learn this LUA scripting language.

  • 4 weeks later...
Posted (edited)

Hi guys I am also trying to map some of the switches in the HW for the Ka 50 but have now clue how to do it.

 

Here is the code of the switch I want to change:

 

 

 

 

{

["combos"] =

{

[1] =

{

["key"] = "JOY_BTN24",

["reformers"] =

{

}, -- end of ["reformers"]

}, -- end of [1]

}, -- end of ["combos"]

["name"] = "Master arm on/off",

["category"] = "Ins Weapons Status and Control Panel PUI-800",

["down"] = 283,

}, -- end of [261]

 

 

 

 

Were do I have to add the values to make the switch go off or back after I move it.

 

Cause right now I have to move the switch forward to activate it the back (nothing happens) and forward again to deactivate.

 

Thanks for the help I'm quite lost here

Edited by negrete
  • Recently Browsing   0 members

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