Im developping a game using andengine which draws on a opengl renderSurfaceView. I want to add SPen functions to the game.So my approach was to use mSPenEventLibrary and pass renderSurfaceView as a parameter to its onTouchListner.
mSPenEventLibrary.setSPenTouchListener(mRenderSurfaceView, new SPenTouchListener() ..
Now the problem is motion event invokes the spenEventLibrary touchlistner but not the andengines onTouchListners.I want to invoke them both. How can I solve this problem
Is there another way to use andengine with the spen sdk?
Thank you!