X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fevents.c;h=69efaf508189e9631cb3b7f3b08f608f364922f5;hp=a7732a8e857ae91e289e1c860faea4b9daf5742d;hb=bbbd254d0e097f479e20a06ddf97eb84782c2e82;hpb=7ef815fdafe95d07ab7b2527033900890b50d370 diff --git a/src/events.c b/src/events.c index a7732a8e..69efaf50 100644 --- a/src/events.c +++ b/src/events.c @@ -443,6 +443,9 @@ void ClearPlayerAction(void) stored_player[i].snap_action = 0; } + // simulate finger release events for still pressed virtual buttons + overlay.grid_button_action = JOY_NO_ACTION; + ClearTouchInfo(); ClearJoystickState(); ClearPlayerMouseAction();