Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi All,

Does anyone know how I set the value of "Views/Instrument Panel/Global On" to be false using FSUIPC. If it is of any help this value can be toggled by pressing the "SHIFT+[" keys. I've searched the "FSUIPC for Programmers" manual with no joy.

Any suggestions??

Cheers,

Dan

Posted

Does anyone know how I set the value of "Views/Instrument Panel/Global On" to be false using FSUIPC. If it is of any help this value can be toggled by pressing the "SHIFT+[" keys. I've searched the "FSUIPC for Programmers" manual with no joy.

Whatever control you have got assigned to "Shift+[" can be sent to FS via the FSUIPC interface using the facility to send any control to FS via offsets 3110-3117. All you need to do is identify the control and thus its number.

In my FS9.CFG this line defines it:

PANEL_TOGGLE=219,9

As you can decode from the list in the FSUIPC Advanced User's guide, 219 is the key code for the '[' key, and '9' indicates Shift.

In the FS2004 Controls document (from http://www.schiratti.com/dowson) you will find that the numerical value of "PANEL_TOGGLE" is shown, thus:

PANEL_TOGGLE 65748

so all you need to do is write decimal 65748 to the 32-bit offset 3110, and your Uncle is called Robert! Try it with FSInterrogate.

Note that you can't be sure this turns it off rather than on -- it is a toggle. However, There are these controls listed:

PANEL_ID_CLOSE 66508

PANEL_ID_OPEN 66507

I have no idea whether these work, but they might be worth a try. I assume the ID is the number assigned to the panel part in the Panel.CFG file. You probably need to provide that as parameter.

There are also the set of 9 PANEL_X controls, but those are toggles too (they are the ones normally assigned to Shift+19).

Regards,

Pete

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.