Sign in to follow this  
rcbarend

Keypress in xml

Recommended Posts

Hi all,it's possible to assign a kaypress combination as "CTRL-" to a "Click Event" or "Click" tag?and if yes, can yau post a small example code please?ThanksPaolo

Share this post


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

Hi Paolo,No, that's not possible. At least not directly.What IS possible: "mis-use" an unused (for that aircraft type) FS event and trap that in your gauge.Example:Suppose that the aircraft doesn't use an Afterburner.Now, if you add this to your XML gauge: "Add the same xml code as in the Click event here" pressing the assigned button/key (default: Shift-F4) will do the same as clicking your switch with the mouse.Cheers, Rob

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