Some Keyboard Controls missing - Page 3 - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 01-09-2019, 04:52 PM   #21
DieHard
Senior Member
 
DieHard's Avatar
 
Join Date: Jan 2013
Location: Near West Point, NY
Posts: 1,462
Default

Quote:
Originally Posted by LeCuvier View Post
I found a way to create commands for VHF radio tuning and volume.
Both provide 10 steps for adjustment. In order to make these commands available for keyboard and/or HOTAS or button box, the following code lines are added to the respective "default.lua" files:
Code:
{down = device_commands.Button_8, cockpit_device_id = devices.VHF_RADIO, value_down = 0.1, name = _('FuG16ZY Tune Up'), category = _('VHF Radio')},
{down = device_commands.Button_8, cockpit_device_id = devices.VHF_RADIO, value_down = -0.1, name = _('FuG16ZY Tune Down'), category = _('VHF Radio')},
{down = device_commands.Button_3, cockpit_device_id = devices.VHF_RADIO, value_down = 0.1, name = _('FuG16ZY Volume Up'), category = _('VHF Radio')},
{down = device_commands.Button_3, cockpit_device_id = devices.VHF_RADIO, value_down = -0.1, name = _('FuG16ZY Volume Down'), category = _('VHF Radio')},
For keyboard control, that file is in the folder "...\DCS World\Mods\aircraft\Bf-109K-4\Input\Bf-109K-4\keyboard" and for HOTAS/button box in the folder "...\DCS World\Mods\aircraft\Bf-109K-4\Input\Bf-109K-4\joystick".
The lines must be inserted after this line:
Code:
keyCommands = {
and before the matching curly brace. If you are not familiar with LUA editing I recommend you insert them right after the line above. For safe LUA editing, use the free Notepad++.

PS:
I'm wondering about the tuning. There seems to be no indicator for signal level. How do you know that you have found the best frequency?
+1

Nice!!

Thanks
__________________
DieHard is offline   Reply With Quote
Old 01-09-2019, 05:18 PM   #22
SGT Coyle
Member
 
Join Date: Dec 2011
Posts: 499
Default

Hey ED,
Any movement on this?
__________________
Implement CW and CCW keyboard commands for the encoders!!!!!
For all that is holy and right with the world please!
SGT Coyle is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:26 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.