Function input_sys::libinput_event_tablet_tool_get_dx [] [src]

pub unsafe extern "C" fn libinput_event_tablet_tool_get_dx(
    event: *mut libinput_event_tablet_tool
) -> f64

@ingroup event_tablet

Return the delta between the last event and the current event. If the tool employs pointer acceleration, the delta returned by this function is the accelerated delta.

This value is in screen coordinate space, the delta is to be interpreted like the return value of libinput_event_pointer_get_dx(). See @ref tablet-relative-motion for more details.

@param event The libinput tablet event @return The relative x movement since the last event