[][src]Function input_sys::libinput_event_gesture_get_dy_unaccelerated

pub unsafe extern "C" fn libinput_event_gesture_get_dy_unaccelerated(
    event: *mut libinput_event_gesture
) -> f64

@ingroup event_gesture

Return the relative delta of the unaccelerated motion vector of 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.

Relative unaccelerated motion deltas are normalized to represent those of a device with 1000dpi resolution. See the libinput documentation for more details. Note that unaccelerated events are not equivalent to 'raw' events as read from the device.

Any rotation applied to the device also applies to gesture motion (see libinput_device_config_rotation_set_angle()).

@return the unaccelerated relative y movement since the last event