Jump to content
Sign in to follow this  
rcbarend

XML gauges - can assign keystrokes or not?

Recommended Posts

Guest wish2bflying

I find the following code in a custom gauge:- 1 (>G:Var5)My question is - using XML code, how do I add a keystroke action to this instead of just mouse? Assume it's a gauge written to encompass several actions and meet conditions etc that aren't done by any existing sim functions.Thanks for any ideas ...Michael.

Share this post


Link to post
Share on other sites

" ...how do I add a keystroke action to this instead of just mouse?"You can't :-) FS just doesn't support this.The only way to have a keystroke drive a variable in your gauge:- Assign a keystroke to an ununsed event in for your aircraft.- Read the associated variable, and let that control your variable.This "trick" isn't very usefull however, since in FS9 it is hard to find suitable "unused" variables that you can "reuse" for this purpose.Example:If your aircraft uses a jet engine, the Magneto events/variables could be used; however, FS9 (unlike FS2002) will disable these variables because they are not relevant for that enginetype.Rob Barendregt

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