Function libinput_event_gesture_get_dy
pub unsafe extern "C" fn libinput_event_gesture_get_dy(
event: *mut libinput_event_gesture,
) -> f64
Expand description
@ingroup event_gesture
Return the delta between the last event and the current event. For gesture events that are not of type @ref LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE or @ref LIBINPUT_EVENT_GESTURE_PINCH_UPDATE, this function returns 0.
If a device employs pointer acceleration, the delta returned by this function is the accelerated delta.
Relative motion deltas are normalized to represent those of a device with 1000dpi resolution. See the libinput documentation for more details.
@return the relative y movement since the last event