Function miral::toolkit::mir_touch_event_axis_value¶
Defined in File toolkit_event.h
Function Documentation¶
-
float miral::toolkit::mir_touch_event_axis_value(MirTouchEvent const *event, unsigned int touch_index, MirTouchAxis axis)¶
Retrieve the axis value for a given axis on an indexed touch.
- Parameters:
event – [in] The touch event
touch_index – [in] The touch index. Must be less than (touch_count - 1).
axis – [in] The axis to retreive a value from
- Returns:
The value of the given axis