protected void clearTouches(Touch.Event[] touches) { for (Touch.Event event : touches) _active.remove(event.id()); } protected Set<Integer> _active = new HashSet<Integer>();
@Override public void onTouchStart(Touch.Event[] touches) { if (currentTest != null && currentTest.usesPositionalInputs()) return; // Android and iOS handle touch events rather differently, so we need to do this finagling // to determine whether there is an active two or three finger touch for (Touch.Event event : touches) _active.add(event.id()); if (_active.size() > 1) displayMenuLater(); } @Override