X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fevents.c;h=8e368b613686a1331f71d396dd47c0daaef87e62;hp=12477eea9ff14658ce7809b718a463329a35acee;hb=5ef9148d;hpb=ba20bcc8b425b7addb2bd1bfc4ef3661e56ccd43 diff --git a/src/events.c b/src/events.c index 12477eea..8e368b61 100644 --- a/src/events.c +++ b/src/events.c @@ -1370,6 +1370,8 @@ static void HandleButtonOrFinger(int mx, int my, int button) HandleButtonOrFinger_WipeGestures_MM(mx, my, button); else if (strEqual(setup.touch.control_type, TOUCH_CONTROL_FOLLOW_FINGER)) HandleButtonOrFinger_FollowFinger_MM(mx, my, button); + else if (strEqual(setup.touch.control_type, TOUCH_CONTROL_VIRTUAL_BUTTONS)) + SetPlayerMouseAction(mx, my, button); /* special case */ } else {