Constant input_sys::libinput_event_type_LIBINPUT_EVENT_TABLET_TOOL_TIP[][src]

pub const libinput_event_type_LIBINPUT_EVENT_TABLET_TOOL_TIP: libinput_event_type = 602;
Expand description

Signals that a tool has come in contact with the surface of a device with the @ref LIBINPUT_DEVICE_CAP_TABLET_TOOL capability.

On devices without distance proximity detection, the @ref LIBINPUT_EVENT_TABLET_TOOL_TIP is sent immediately after @ref LIBINPUT_EVENT_TABLET_TOOL_PROXIMITY for the tip down event, and immediately before for the tip up event.

The decision when a tip touches the surface is device-dependent and may be derived from pressure data or other means. If the tip state is changed by axes changing state, the @ref LIBINPUT_EVENT_TABLET_TOOL_TIP event includes the changed axes and no additional axis event is sent for this state change. In other words, a caller must look at both @ref LIBINPUT_EVENT_TABLET_TOOL_AXIS and @ref LIBINPUT_EVENT_TABLET_TOOL_TIP events to know the current state of the axes.

If a button state change occurs at the same time as a tip state change, the order of events is device-dependent.

@since 1.2