Views
Personal tools

XPKeyState t

From X-Plane SDK

Jump to: navigation, search

XPKeyState_t

When a key is pressed, a pointer to this struct is passed to your widget function.
typedef struct {
     char                      key;
The ASCII key that was pressed. WARNING: this may be 0 for some non-ASCII key sequences.
     XPLMKeyFlags              flags;
The flags. Make sure to check this if you only want key-downs!
     char                      vkey;
The virtual key code for the key
} XPKeyState_t;
Navigation
TOOLBOX
LANGUAGES
Toolbox