Function input_sys::libinput_event_tablet_tool_get_tip_state[][src]

pub unsafe extern "C" fn libinput_event_tablet_tool_get_tip_state(
    event: *mut libinput_event_tablet_tool
) -> libinput_tablet_tool_tip_state
Expand description

@ingroup event_tablet

Returns the new tip state of a tool from a tip event. Used to check whether or not a tool came in contact with the tablet surface or left contact with the tablet surface during an event of type @ref LIBINPUT_EVENT_TABLET_TOOL_TIP.

@param event The libinput tablet tool event @return The new tip state of the tool from the event.

@since 1.2