Function input_sys::libinput_path_remove_device [] [src]

pub unsafe extern fn libinput_path_remove_device(device: *mut libinput_device)

@ingroup base

Remove a device from a libinput context initialized with libinput_path_create_context() or added to such a context with libinput_path_add_device().

Events already processed from this input device are kept in the queue, the @ref LIBINPUT_EVENT_DEVICE_REMOVED event marks the end of events for this device.

If no matching device exists, this function does nothing.

@param device A libinput device

@note It is an application bug to call this function on a libinput context initialized with libinput_udev_create_context().