Type Definition input_sys::libinput_tablet_tool_proximity_state[][src]

pub type libinput_tablet_tool_proximity_state = c_uint;
Expand description

@ingroup device

The state of proximity for a tool on a device. The device must have the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.

The proximity of a tool is a binary state signalling whether the tool is within a detectable distance of the tablet device. A tool that is out of proximity cannot generate events.

On some hardware a tool goes out of proximity when it ceases to touch the surface. On other hardware, the tool is still detectable within a short distance (a few cm) off the surface.

@since 1.2