Jump to content

Recommended Posts

Posted (edited)

Found it in the default.lua for joysticks... looks WIP:

 

-- HMD

--{ action = _AXIS, cockpit_device_id = , name = _('HMD OFF/BRT Knob'), category = {_('Instrument Panel')}},

Investiagting further... clickabledata.lua in Cockpit\scripts:

 

-- Helmet

elements["pnt_136"] = default_axis_limited(_("HMD OFF/BRT Knob"), devices.HMD_INTERFACE, hmd_commands.BrtKnob, 136, 0.0, 0.1, false, false, {0,0.75})

So try editing the top one and change it to this:

 

-- HMD

{ action = hmd_commands.BrtKnob, cockpit_device_id = devices.HMD_INTERFACE, name = _('HMD OFF/BRT Knob'), category = {_('Instrument Panel')}},

Edited by Eldur

dcsdashie-hb-ed.jpg

 

Posted (edited)

HMD Brightness Knob Solution

 

Open file in the Your Install\Mods\aircraft\FA-18C\Input\FA-18C\keyboard\default.lua in Notepad++. Find this line:-- HMD Knob. Replace the 2 lines below it with these:

 

 

{    pressed = hmd_commands.BrtKnob,                                    cockpit_device_id = devices.HMD_INTERFACE,                            value_pressed = -0.5,    name = _('HMD OFF/BRT Knob - CCW/Decrease'),            category = {_('Instrument Panel')}},
{  pressed = hmd_commands.BrtKnob,                                    cockpit_device_id = devices.HMD_INTERFACE,                            value_pressed =  0.5,    name = _('HMD OFF/BRT Knob - CW/Increase'),                category = {_('Instrument Panel')}},

Edited by Habu_69
Posted

I cannot seem to find the keyboard items for these 2 commands in my revised keyboard default lua after making the above changes. What am I doing wrong?

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

Posted

Eldur

I tried the above but perhaps I did not understand your instructions as it did not work for me. I tried to bind the axis to the INCR/DECR lever on the WH Throttle.

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

Posted

Sobe, put a comma at the end of the second line (in red below):

 

{ pressed = hmd_commands.BrtKnob, cockpit_device_id = devices.HMD_INTERFACE, value_pressed = -0.5, name = _('HMD OFF/BRT Knob - CCW/Decrease'), category = {_('Instrument Panel')}},

{ pressed = hmd_commands.BrtKnob, cockpit_device_id = devices.HMD_INTERFACE, value_pressed = 0.5, name = _('HMD OFF/BRT Knob - CW/Increase'), category = {_('Instrument Panel')}},

Posted
Eldur

I tried the above but perhaps I did not understand your instructions as it did not work for me. I tried to bind the axis to the INCR/DECR lever on the WH Throttle.

My thread "DCS: F/A-18C Hornet » Controller Questions and Bugs » JHMCS Controller Bindings" shows 3 solutions that work; 2 solutions for switches and one for an axis

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

Posted

Thanks, I edited my post just in case anyone comes across it and tries it out. Wasn't able to test it before. Had to alter the action value as well, didn't do that in the first place.

dcsdashie-hb-ed.jpg

 

Posted
If you use the ”Recce event” button you have a on/off button for the HMD.

I use it all the time.

 

Great idea! Thanks for the tip.

I don't need no stinkin' GPS! (except for PGMs :D) :pilotfly:

[sIGPIC][/sIGPIC]

 

  • Recently Browsing   0 members

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