pub type XPLMAvionicsKeyboard_f = Option<unsafe extern "C" fn(inKey: c_char, inFlags: XPLMKeyFlags, inVirtualKey: c_char, inRefCon: *mut c_void, losingFocus: c_int) -> c_int>;Expand description
XPLMAvionicsKeyboard_f
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).
Aliased Type§
pub enum XPLMAvionicsKeyboard_f {
None,
Some(unsafe extern "C" fn(i8, i32, i8, *mut c_void, i32) -> i32),
}