Function input_sys::libinput_tablet_tool_get_tool_id
[−]
[src]
pub unsafe extern fn libinput_tablet_tool_get_tool_id(tool: *mut libinput_tablet_tool)
-> u64
@ingroup event_tablet
Return the tool ID for a tool object. If nonzero, this number identifies the specific type of the tool with more precision than the type returned in libinput_tablet_tool_get_type(), see @ref tablet-tool-types. Not all tablets support a tool ID.
Tablets known to support tool IDs include the Wacom Intuos 3, 4, 5, Wacom Cintiq and Wacom Intuos Pro series.
@param tool The libinput tool @return The tool ID for this tool object or 0 if none is provided
@see libinput_tablet_tool_get_type