Hammer is a open-source library that can recognize gestures made by touch, mouse and pointerEvents.
Try Pan, Pinch, Press, Rotate, Swipe, Tap