Function miral::toolkit::mir_pointer_event_axis_value¶
Defined in File toolkit_event.h
Function Documentation¶
-
float miral::toolkit::mir_pointer_event_axis_value(MirPointerEvent const *event, MirPointerAxis axis)¶
Retrieve the axis value reported by a given pointer event.
- Parameters:
event – [in] The pointer event
axis – [in] The axis to retreive a value from
- Returns:
The value of the given axis