homepage

Helios use of "Send Keys" to Control DCS (cockpit design)

Posted By: Slippery_Rat

Helios use of "Send Keys" to Control DCS (cockpit design) - 11/17/16 08:53 PM

One technique used by Helios to interact with DCS World is through the use of "Send Keys", essentially this means that all the Keyboard bindings can be used by Helios to change parameters in DCS World just as if you pressed the keys combinations in DCS World.

See below for a list of key combinations that can be used with "Send Keys"

Note: DCS World will make a local "web page" copy of all these commands by clicking the "Make HTML" button.




Below is a profile containing one panel, containing a rotary encoder.



Below the panel alone with the Rotary Encoder selected in layers




Note bindings added while on the properties tab.

Bindings are made by dragging the "send keys" and dropping on "encoder incremented" or "decremented" followed by entering the appropriate values.
Note the value source is Static



One saved this Helios profile is capable of dimming the back panel lights of....ooops Ka50.

Text
Keys which will be sent to the foreground applications.

Below are some brief instructions for using Action Values in Helios

Action Values

Whitespace separates key combos allowing multiple keystroke commands to be sent. "{LCONTROL}c" will hold down the left control and press c while "{LCONTROL} c" will press and release left control and then press and release the c.

Special keys can be sent by using there names in brackets, ex:
{BACKSPACE}, {CLEAR}, {PAUSE}, {TAB}, {RETURN}, {RSHIFT}, {LSHIFT}, {L&RCONTROL}, {L&RALT}, {NUMPAD0-9}, {F1-F24}, {UP}, {DOWN}, {END}, {HOME} many more.



The some of images used in this tutorial were borrowed from Capt Zeen's profile, one must respect the effort he has put into his well designed profiles, I recommend support both Helios Gadroc and Capt Zeen for their contributions to our passion.

More tutorials here:

Below are some Helios tutorials using both DCS Warthog, BlackShark and BMS Falcon as examples:

Basic Helios Tutorial

http://simhq.com/forum/ubbthreads.php/topics/4311178/Basic_Helios_tutorial_w/_RWR_i#Post4311178

Showing Helios Control Panel and Helios control of DCS Active Pause
http://simhq.com/forum/ubbthreads.php/topics/4313084/Helios_Control_of_DCS_Active_P#Post4313084

Helios Panel Creation Method 1 (cockpit design)
http://simhq.com/forum/ubbthreads.php/topics/4312789/Helios_Panel_Creation_Method_1#Post4312789

Helios Panel Creation Method 2, the Best Method (cockpit design)

http://simhq.com/forum/ubbthreads.php/topics/4312877/Helios_Panel_Creation_Method_2#Post4312877

Getting Screen Coordinates of Windows without use of graphics program (cockpit design).
http://simhq.com/forum/ubbthreads.php/topics/4313980/Helios_easiest_way_to_get_scre#Post4313980

Helios Gotchas for the Noobie (cockpit design)

http://simhq.com/forum/ubbthreads.php/topics/4313906/Helios_Gottchas_for_the_Noobie#Post4313906

Helios use of "Send Keys" to Control DCS (cockpit design)

http://simhq.com/forum/ubbthreads.php/topics/4312967/Helios_use_of_Send_Keys&#Post4312967

These tutorials use Capt_Zeen's, Ice's Profiles.
Posted By: Slippery_Rat

Re: Helios use of "Send Keys" to Control DCS - 11/18/16 11:05 AM

Obviously remapping key commands in DCS World, may cause Helios interactivity to fail unless the "Send Keys" are updated in Helios too!

LaLa
Posted By: Slippery_Rat

Re: Helios use of "Send Keys" to Control DCS - 11/18/16 02:27 PM

Another tutorial using send keys bindings to "Active Pause" and Hide Helios Control Panel here
http://simhq.com/forum/ubbthreads.php/topics/4313084/Helios_Control_of_DCS_Active_P#Post4313084
Posted By: sobe

Re: Helios use of "Send Keys" to Control DCS - 04/25/17 05:45 PM

Slippery_Rat
I don't know if you fly DCS A10-c, but if you do, then you probalbly use Loz's Helios profile. If so, you should be aware that the Tacan panel no longer works in Loz as the code for the Tacan panel was recently changes. See below:

[FSF]Ian 04-24-2017 04:14 AM
In DCS 1.5.6.1938, the implementation details of the TACAN panel in the A-10C were changed. Here's the commit that fixed it in DCS-BIOS (the diff shows what values changed):
https://github.com/dcs-bios/dcs-bios...938b0fcaf29078 The TACAN controls now have their own device ID and different button numbers than before.

The above has to do with DCS Bios, which I do not use. I have managed to apply new keyboard presses to the new Tacan controls, but when I tried to incorporate them in Loz's profile, they didn't work-my knowledge of Helios is very limited. I tried to follow your examples above, but no joy . If you would like to work on this project with me, let me know.
© 2024 SimHQ Forums