Jump to content
The simFlight Network Forums
Sign in to follow this  
NAX

Two commands sent on Button click

Recommended Posts

Hi there
Often when flying, we tend to team up a few of the guys and talk on Skype while flying on VATSIM. We have need to find a way to mute both mic and sound from Skype, and today we have set a mute mic key combo, but mute sound cannot be the same combo. We have also tried to set the key command for mute sound via a separate mixer, but this program detects that the key combo is already in use in another program.

If we somehow could get FSUIPC to send two separate key commands on a single button click, this would solve our problem.

We today use the key combo used for PTT vPilot as the Mute Mic combo. This way, when we press PTT we simultaneously mute Skype from sending our voice.

Share this post


Link to post
Share on other sites

I'm not clear on how you are getting the key combos to 2 different programs but it is quite easy to generate multiple key combos from one button press in FSUIPC4.

Have you tried editing the INI file to add the 2nd key combo? I often send more than one control/command/key sequence via the same button.

Here is an example of my use of button 14 to send 3 different commands. The first entry was assigned via the FSUIPC4 menu and the 2nd and 3r were added 'by hand', editing the INI file.

 

20=PD,14,CM6:5,0 ;//STARTER ENG 1 - SET PRIMER TO ENG 1
21=PD,14,CM6:30,1 ;//SET PRIMER SELECT TO ENG 1
22=PD,14,CM6:37,1 ;//SET FIRE EXT. SWITCH TO ENG 1

Myb controller "D" button 14 sends the controls specified in MCRO file 6, lines 5. 30 and 37 with the desired parameters for each. In your case you would make the first assignment via the FSUIPC4 menu and then copy that entry in the INI file and replace the 1st key combo portion with the desired 2nd key combo, pasting it into the INI file.

 

Paul

 

 

Share this post


Link to post
Share on other sites

I'm afraid I did not understand how to add a second command, but I will look closer into it now that I know it is possible.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.