Sign in to follow this  
rcbarend

XML gauges - can assign keystrokes or not?

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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