Key input - XML Gauge

#1
OK, I know the basics of XML gauge programming but one thing bothers me; how to make a key input do something? For example, I want that when user presses "K" key that my gauge cuts the throttle. I know how to achieve this with a click command, but what ever I do I can't make it react to key inputs:

Code:
<Click Event="THROTTLE_CUT" />
I know that I'm suppose to use <Key>...</Key> but that's as far as I go on this matter. One last thing, I know that the command for cutting the throttle is "F1" but I gave this only as an example.
Thanx for any help.:cool:
 
Top