Function input_sys::libinput_event_get_keyboard_event [] [src]

pub unsafe extern "C" fn libinput_event_get_keyboard_event(
    event: *mut libinput_event
) -> *mut libinput_event_keyboard

@ingroup event

Return the keyboard event that is this input event. If the event type does not match the keyboard event types, this function returns NULL.

The inverse of this function is libinput_event_keyboard_get_base_event().

@return A keyboard event, or NULL for other events