Jump to content
Sign in to follow this  
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

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.


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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
 

 


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...