On Wed, 2010-02-24 at 10:04 +0100, ext Charles wrote:
> Hi,
> 
> I am working on a OpenGL ES application (based on PowerVR framework)
> on Maemo and want to capture touch screen input for the application. I
> did not find any touch screen capture in PowerVR libs. Is there any
> other lib that could capture touch screen input for OpenGL ES apps?

The normal way is to use libx11. I.e. call

XSelectInput(dpy, window, ButtonReleaseMask | ButtonPressMask |
PointerMotionMask) 

and then handle the incoming X events ButtonRelease, ButtonPress,
MotionNotify.
(See http://tronche.com/gui/x/xlib/events/types.html)

-Kimmo

> 
> Thanks
> 
> Charles

_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to