Function libinput_udev_create_context
pub unsafe extern "C" fn libinput_udev_create_context(
interface: *const libinput_interface,
user_data: *mut c_void,
udev: *mut udev,
) -> *mut libinput
Expand description
@ingroup base
Create a new libinput context from udev. This context is inactive until assigned a seat ID with libinput_udev_assign_seat().
@param interface The callback interface @param user_data Caller-specific data passed to the various callback interfaces. @param udev An already initialized udev context
@return An initialized, but inactive libinput context or NULL on error