Jump to content
The simFlight Network Forums

Keystroke programming


Recommended Posts

Pardon me if this has already been discussed, I was unable to find info on the forum.

I would like to program the spacebar to do 2 different things at once.

Currently, I use the spacebar with Vox ATC to key and unkey the microphone.

I would also like it mute the sound in fsx while holding the spacebar down and unmute it again on release.

The scenario:

Spacebar down = key mic + "Q" key to mute the sound.

spacebar up = unkey mic and activate "Q" key again to unmute the sound .

Any assistance would be appreciated

Norm

Link to comment
Share on other sites

I would like to program the spacebar to do 2 different things at once.

Currently, I use the spacebar with Vox ATC to key and unkey the microphone.

I would also like it mute the sound in fsx while holding the spacebar down and unmute it again on release.

You can do that, just by having more than one assignment to the same keypress/release, but you have to do it by editing the parameters for it directly in the FSUIPC INI file -- the Options dialogue only allows setting of one action for keypress and another for key release, no more.

The format of the parameters in the [Keys] section of the INI is fully described in the Advanced Users' guide. You should use the "Sound off" and "Sound on" controls for the sound switching, as you cannot program a key press to send a different key. All of the FS controls are listed in the List of FSxxxx Controls document available from the Schiratti download site (the one containing all my stuff), unless you are using FSX where you will find it already in the FSX Modules folder. (In this case I can save you the trouble -- sound off is 66063, sound on is 66062).

You can edit the INI file whilst FS is running, then test your changes by going to the Keys tab in FSUIPC options and pressing the Reload key.

Note that once you do this you cannot change the space bar assignment in FSUIPC's options, as it protects your multiple assignment this way.

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.