[maemo-developers] Maemo Touch Screen input capture
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Wed Feb 24 14:06:52 EET 2010
- Previous message: Maemo Touch Screen input capture
- Next message: Maemo 5 PR1.2 and Extras
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Maemo Touch Screen input capture
- Next message: Maemo 5 PR1.2 and Extras
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]