+- (void)tapRecognized:(UITapGestureRecognizer *)tapRecognizer
+{
+ UIGestureRecognizerState state = [tapRecognizer state];
+ CGPoint touchPoint = [tapRecognizer locationInView:self];
+ CGFloat scaleFactor = self.contentScaleFactor;
+ vout_display_SendMouseMovedDisplayCoordinates(_voutDisplay, ORIENT_NORMAL,
+ (int)touchPoint.x * scaleFactor, (int)touchPoint.y * scaleFactor,
+ &_voutDisplay->sys->place);
+
+ vout_display_SendEventMousePressed(_voutDisplay, MOUSE_BUTTON_LEFT);
+ vout_display_SendEventMouseReleased(_voutDisplay, MOUSE_BUTTON_LEFT);
+}
+