XPLMAvionicsKeyboard_f
typedef int (* XPLMAvionicsKeyboard_f)(
char inKey,
XPLMKeyFlags inFlags,
char inVirtualKey,
void * inRefCon,
int losingFocus);
Key callback called when your device is popped up and you’ve requested to capture the keyboard. Return 1 to consume the event, or 0 to let X-Plane process it (for stock avionics devices).