// forward declarations for internal use
+static void ClearTouchInfo(void);
static void HandleNoEvent(void);
static void HandleEventActions(void);
stored_player[i].snap_action = 0;
}
+ ClearTouchInfo();
ClearJoystickState();
ClearPlayerMouseAction();
}
touch_info[pos].action = action;
}
+static void ClearTouchInfo(void)
+{
+ int i;
+
+ for (i = 0; i < NUM_TOUCH_FINGERS; i++)
+ SetTouchInfo(i, 0, 0, 0, JOY_NO_ACTION);
+}
+
static void HandleFingerEvent_VirtualButtons(FingerEvent *event)
{
int x = event->x * overlay.grid_xsize;