pub type XPLMAvionicsMouse_f = Option<unsafe extern "C" fn(x: c_int, y: c_int, inMouse: XPLMMouseStatus, inRefcon: *mut c_void) -> c_int>;Expand description
XPLMAvionicsMouse_f
Mouse click callback for clicks into your screen or (2D-popup) bezel, useful if the device you are making simulates a touch-screen the user can click in the 3d cockpit, or if your pop-up’s bezel has buttons that the user can click. Return 1 to consume the event, or 0 to let X-Plane process it (for stock avionics devices).
Aliased Type§
pub enum XPLMAvionicsMouse_f {
None,
Some(unsafe extern "C" fn(i32, i32, i32, *mut c_void) -> i32),
}