Function input_sys::libinput_get_event [−][src]
pub unsafe extern "C" fn libinput_get_event(
libinput: *mut libinput
) -> *mut libinput_event
Expand description
@ingroup base
Retrieve the next event from libinput’s internal event queue.
After handling the retrieved event, the caller must destroy it using libinput_event_destroy().
@param libinput A previously initialized libinput context @return The next available event, or NULL if no event is available.