Function input_sys::libinput_tablet_tool_has_size[][src]

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

@ingroup event_tablet

Return whether the tablet tool has a ellipsis major and minor. Where the underlying hardware only supports one of either major or minor, libinput emulates the other axis as a circular contact, i.e. major == minor for all values of major.

@param tool The tool to check the axis capabilities of @return Nonzero if the axis is available, zero otherwise.