Gesture Recognize, zoom etc. with cocos2d-x

Dose anyone know how to deal [Gesture Recognize],[zoom in/out], [double top] etc. with cocos2dx.
if possible,post code here.thanks!~