[][src]Function input_sys::libinput_event_tablet_tool_rotation_has_changed

pub unsafe extern "C" fn libinput_event_tablet_tool_rotation_has_changed(
    event: *mut libinput_event_tablet_tool
) -> c_int

@ingroup event_tablet

Check if the z-rotation axis was updated in this event. For events that are not of type @ref LIBINPUT_EVENT_TABLET_TOOL_AXIS, @ref LIBINPUT_EVENT_TABLET_TOOL_TIP, or @ref LIBINPUT_EVENT_TABLET_TOOL_PROXIMITY, this function returns 0.

@note It is an application bug to call this function for events other than @ref LIBINPUT_EVENT_TABLET_TOOL_AXIS, @ref LIBINPUT_EVENT_TABLET_TOOL_TIP, or @ref LIBINPUT_EVENT_TABLET_TOOL_PROXIMITY, or @ref LIBINPUT_EVENT_TABLET_TOOL_BUTTON.

@param event The libinput tablet tool event @return 1 if the axis was updated or 0 otherwise

@since 1.2