Function input_sys::libinput_tablet_tool_is_unique[][src]

pub unsafe extern "C" fn libinput_tablet_tool_is_unique(
    tool: *mut libinput_tablet_tool
) -> c_int
Expand description

@ingroup event_tablet

Return nonzero if the physical tool can be uniquely identified by libinput, or nonzero otherwise. If a tool can be uniquely identified, keeping a reference to the tool allows tracking the tool across proximity out sequences and across compatible tablets. See libinput_tablet_tool_get_serial() for more details.

@param tool A tablet tool @return 1 if the tool can be uniquely identified, 0 otherwise.

@see libinput_tablet_tool_get_serial

@since 1.2