[][src]Function input_sys::libinput_event_tablet_tool_get_pressure

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

@ingroup event_tablet

Returns the current pressure being applied on the tool in use, normalized to the range [0, 1].

If this axis does not exist on the current tool, this function returns 0.

@param event The libinput tablet tool event @return The current value of the the axis

@since 1.2