Jump to content
The simFlight Network Forums
Gpilatti

Two commands in one switch

Recommended Posts

Hello Pete,

i've made a small panel with some buttons to toogle the lights, apu, seat belts and no smoke.

I'm using FS9 with the latest version of FSUIPC. The question is if i can assing two actions on FS in one switch, ex:

I want that the Seat Belts switch controls not only it's corresponding button on the aircraft but the sign on FsPassengers too. There is a gauge for that, so i can use the Mouse Macro to "click" on it or i use the default command for it: Ctrl + Shift + B , but in the FSUIPC tab i can't assing the FS Function and the Keyboard commands at the same time.

Thanks ;)

Share this post


Link to post
Share on other sites
I'm using FS9 with the latest version of FSUIPC. The question is if i can assing two actions on FS in one switch

Yes, but it means editing the INI file, or making a "macro" file.

I want that the Seat Belts switch controls not only it's corresponding button on the aircraft but the sign on FsPassengers too. There is a gauge for that, so i can use the Mouse Macro to "click" on it or i use the default command for it: Ctrl + Shift + B , but in the FSUIPC tab i can't assing the FS Function and the Keyboard commands at the same time.

To keep the on-line options dialogue easy to use for the vast majority of users, I don't provide facilities for multiple assignments to one button or switch there. But by editing the parameter lines in the FSUIPC INI file you can have almost any number of actions from one switch.

The best way to do this is, in FSUIPC options, assign the first action you want. Remember the Joystick Number and Button Number. Then, with FS minimised or put to one side, temporarily, open up the FSUIPC INI file (from the FS Modules folder) in a text editor like notepad. Find the [buttons] section containing your assignment (e.g. n=Pjoyno,button, .....) and write it down or copy it to the clipboard. Then, back in FSUIPC options, change the assignment to your second need. Go back to the INI file, and you'll see that assignment now for your button. Add the one you wrote down, or paste it in, after the new assignment but with a new number (eg n+1). Or reverse the order if order is important -- they are obeyed in parameter number order (i.e. the n= part).

For more information about all of this, and full details of all the things you can do with a little editing, have a look in the Advanced User's guide.

Regards

Pete

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...

×
×
  • 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.