XPLMHasKeyboardFocus

Function XPLMHasKeyboardFocus 

Source
pub unsafe extern "C" fn XPLMHasKeyboardFocus(
    inWindow: XPLMWindowID,
) -> c_int
Expand description

XPLMHasKeyboardFocus

Returns true (1) if the indicated window has keyboard focus. Pass a window ID of 0 to see if no plugin window has focus, and all keystrokes will go directly to X-Plane.