diff --git a/src/rgestures.h b/src/rgestures.h index f601a4790..23e7397b7 100644 --- a/src/rgestures.h +++ b/src/rgestures.h @@ -402,6 +402,10 @@ void ProcessGestureEvent(GestureEvent event) GESTURES.current = GESTURE_NONE; } } + else if (GESTURES.Touch.pointCount == 0) // No touch points + { + GESTURES.current = GESTURE_NONE; + } else if (GESTURES.Touch.pointCount > 2) // More than two touch points { // TODO: Process gesture events for more than two points