Function libinput_get_fd

pub unsafe extern "C" fn libinput_get_fd(
    libinput: *mut libinput,
) -> i32
Expand description

@ingroup base

libinput keeps a single file descriptor for all events. Call into libinput_dispatch() if any events become available on this fd.

@return The file descriptor used to notify of pending events.