Implementing gestures in OpenGL

Greetings,

I’m new here a friend of mine suggested this website. Ive been messing around with openGL for bit now to make a simple 2d Android game.

Now my question is i want to add custom gestures to GLSurfaceView, any suggestions how to implent it?
I got gestures library ready with set of gestures, how to detect them in GLSurfaceView sorta similar to OnGesturePerformedListener()

Any ideas?

Kind regards.

OpenGL is a drawing API, unless I am very much mistaken it has nothing to do with reading gestures… Google tells me you should be using something like this:

http://developer.android.com/reference/android/view/GestureDetector.html

What you linked is sorta similair then what im using by GestureOverlayView and addOnGesturePerformedListener.

The game being drawn with openGL, so im looking for a way to use these gestures to control something in the game.

Does anyone have a working example of this by any chance?