Function input_sys::libinput_tablet_tool_is_unique [] [src]

pub unsafe extern fn libinput_tablet_tool_is_unique(tool: *mut libinput_tablet_tool)
                                                    -> c_int

@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 @ref tablet-serial-numbers 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