Function libinput_event_pointer_get_absolute_y
pub unsafe extern "C" fn libinput_event_pointer_get_absolute_y(
event: *mut libinput_event_pointer,
) -> f64
Expand description
@ingroup event_pointer
Return the current absolute y coordinate of the pointer event, in mm from the top left corner of the device. To get the corresponding output screen coordinate, use libinput_event_pointer_get_absolute_y_transformed().
For pointer events that are not of type @ref LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE, this function returns 0.
@note It is an application bug to call this function for events other than @ref LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE.
@return The current absolute y coordinate