DrGarantia Posted November 7, 2018 Share Posted November 7, 2018 Is there one? I can't find an axis or a button to control the HMD knob anywhere in the bindings. Link to comment Share on other sites More sharing options...
Eldur Posted November 7, 2018 Share Posted November 7, 2018 (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 November 8, 2018 by Eldur Link to comment Share on other sites More sharing options...
Habu_69 Posted November 7, 2018 Share Posted November 7, 2018 (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 November 8, 2018 by Habu_69 Link to comment Share on other sites More sharing options...
sobe Posted November 8, 2018 Share Posted November 8, 2018 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 . Link to comment Share on other sites More sharing options...
sobe Posted November 8, 2018 Share Posted November 8, 2018 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 . Link to comment Share on other sites More sharing options...
LiveBait Posted November 8, 2018 Share Posted November 8, 2018 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')}}, Link to comment Share on other sites More sharing options...
LeCuvier Posted November 8, 2018 Share Posted November 8, 2018 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 Link to comment Share on other sites More sharing options...
Habu_69 Posted November 8, 2018 Share Posted November 8, 2018 Yes, lua very fussy about commas. My cut/paste failed to get that last comma. Link to comment Share on other sites More sharing options...
Eldur Posted November 8, 2018 Share Posted November 8, 2018 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. Link to comment Share on other sites More sharing options...
DrGarantia Posted November 8, 2018 Author Share Posted November 8, 2018 Thanks, finally found a use for the throttle axis on the T16000m now :) Link to comment Share on other sites More sharing options...
Mange Posted November 8, 2018 Share Posted November 8, 2018 If you use the ”Recce event” button you have a on/off button for the HMD. I use it all the time. Link to comment Share on other sites More sharing options...
Backy 51 Posted November 8, 2018 Share Posted November 8, 2018 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) [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Recommended Posts