XPLMAvionicsMouse_f

typedef int (* XPLMAvionicsMouse_f)(
                         int                  x,
                         int                  y,
                         XPLMMouseStatus      inMouse,
                         void *               inRefcon);

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).