Archived

This topic is now archived and is closed to further replies.

johnbla

Opening windows with shift key

Recommended Posts

I have installed a number of gauges into my aircraft and the windows numbers are over 10. How do you open these windows with the shift key? If I press shift 10, it reverts to the windows 1 window. Many thanks.

 

John

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

If I remember correctly I don't think you can. There was an old post about this I remember reading.

Share this post


Link to post
Share on other sites

FS supports only Shift-1 through Shift-9. Any window above that number must be selected either by an icon or hot-spot somewhere, or via the Right-Click on screen and popup list methods.

Share this post


Link to post
Share on other sites

I haven't tried this, but in the fsuipc list of FS controls I see: PANEL_ID_TOGGLE Maybe you can assign a panel ID in panel.cfg, and use that ID as a parameter to send with a button assignment in fsuipc (registered)?

 

Update: OK I tested it and that is how it works.

 

scott s.

.

Share this post


Link to post
Share on other sites

Thanks Scott, but I cannot seem to find PANEL_ID_TOGGLE in fsuipc. Would you please point me in the right direction thanks?

 

John

Share this post


Link to post
Share on other sites

I think the first thing, is you need to look at your panel.cfg.  For my test I was using the Tinmouse II panel where I added the rcb pushback gauge.  The entry looks like:

[Window09]
size_mm=204,65
visible=0
window_size= 0.20,0.09
window_pos= 0.0,0.05
background_color=16,16,16
ident=7777777
gauge00=RCB_Groundhandling5!PushbackDisplay,      2,2,74,61
gauge01=RCB_Groundhandling5!PushbackStates,       0,0
gauge02=RCB_Groundhandling5!Taxispeed,            79,2,64,61 
gauge03=RCB_Groundhandling!UseToebrakePedals,   0,0 
//gauge04=RCB_Groundhandling5!Brakes,               146,2,56,61
gauge05=RCB_Groundhandling5_Sound!dsd_xml_sound3, 0,0,0,0, ./Sound/Groundhandling5/Sound.ini

The key here is the ident=7777777 line.

 

Once you have the ident number, in FSUIPC you can program a button (or probably a key -- didn't try this) to execute the PANEL_ID_TOGGLE and put the ident number in the "parameter" entry.

 

The "standard" panels (like GPS) have idents like  "GPS_PANEL" rather than numbers.  I think if you are using one of these you could just give it a valid number, and I think there is actually a number assigned to those standard panels, but off hand I'm not sure how to figure those out.   The only ones of the "standard" that are special AFAIK (so probably shouldn't be renamed) are the MAIN PANEL and the alt ones (these are the ones that show up when you cycle through 2D panels with the "W" key).

 

scott s.

.

Share this post


Link to post
Share on other sites

Scott, the list of names vs. code are in the gauges.h file of the SDK. Notice for example that GPS_PANEL is equivalent to 225:

 

 

#define  IDENT_MAIN_PANEL 0
#define  IDENT_THROTTLE_PANEL 10
#define  IDENT_RADIO_STACK_PANEL 50
#define  IDENT_COMPASS_PANEL 75
#define  IDENT_MINI_CONTROLS_PANEL 100
#define  IDENT_ANNUNCIATOR_PANEL 125
#define  IDENT_ANNUNCIATOR2_PANEL 150
#define  IDENT_IFR_MAIN_PANEL 175
#define  IDENT_COLLECTIVE_PANEL 200
#define  IDENT_GPS_PANEL 225
#define  IDENT_OVERHEAD_PANEL 250
#define  IDENT_USER 10000
#define  IDENT_USER_MAX 19999
#define  IDENT_AIRCRAFT_HUD_3D_PANEL 20000
#define  IDENT_HELICOPTER_HUD_3D_PANEL 20001
#define  IDENT_CONTROLS_HUD_3D_PANEL 20002
#define  IDENT_TEXT_HUD_3D_PANEL 20003
#define  IDENT_DAMAGE_HUD_3D_PANEL 20004
#define  IDENT_SCORE_HUD_3D_PANEL 20005
#define  IDENT_LSO_WINDOW 22000
 

 

Share this post


Link to post
Share on other sites

thanks.  I thought I had seen it somewhere, but I don't really do panels at all except in an emergency (and that involves mostly trial-and-error, with emphasis on error).

 

scott s.

.

Share this post


Link to post
Share on other sites