Number of fingers during swiping and pinch in/pinch out gestures

Number of fingers during swiping and pinch in/pinch out gestures

Hi,

I would like to know what is the best way to determinate "swiped left/right with two fingers" gesture and "pinched in/out like in native browser" gesture. I tried to use libraries like jGesture, hammerJS,touchSwipe etc. but it seems they are in conflict with JQM implementation of events. I tried to build my version of JQM without advanced touch events, but then I missed init functionality (which is crucial to me).

Which way I should go in this situation?

Michael