Function libinput_event_tablet_tool_get_y
pub unsafe extern "C" fn libinput_event_tablet_tool_get_y(
event: *mut libinput_event_tablet_tool,
) -> f64
Expand description
@ingroup event_tablet
Returns the Y coordinate of the tablet tool, in mm from the top left corner of the tablet in its current logical orientation. Use libinput_event_tablet_tool_get_y_transformed() for transforming the axis value into a different coordinate space.
@note On some devices, returned value may be negative or larger than the width of the device. See the libinput documentation for more details.
@param event The libinput tablet tool event @return The current value of the the axis
@since 1.2