Function miral::toolkit::mir_touch_event_id

Function Documentation

MirTouchId miral::toolkit::mir_touch_event_id(MirTouchEvent const *event, unsigned int touch_index)

Retrieve the TouchID for a touch at given index.

Parameters:
  • event[in] The touch event

  • touch_index[in] The touch index. Must be less than (touch_count - 1).

Returns:

ID of the touch at index