Results 1 to 3 of 3

Thread: EGL supporting touch input

  1. #1

    EGL supporting touch input

    Hello Everybody

    I was looking at latest EGL specification of EGL1.3. From the specification I found that EGL only supports rendering of OpenGL graphics by creating a surface for it.My questions are
    1)Does or will EGL support handling of inputs like X11
    2)How will EGL handle touch inputs
    If I have the TSLIB library which gets its input from the touchscreen driver , can EGL use the data from TSLIB.Do I have a compile option for EGL which tells it that it should be compiled with EGL
    3)If not can the appliaction ( OpenGL /Open GLES application ) directly talk to tslib if EGL does not support tslib
    4)Can someone please tell me in current embedded systems which make use of OpenGL how are touch events handled from touch drivers?


  2. #2
    Senior Member
    Join Date
    May 2006

    Re: EGL supporting touch input

    EGL is purely a graphics integration layer, it does not handle user input. You can use the same input APIs and libraries you would use in an application that doesn't use EGL.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum |

  3. #3
    Senior Member
    Join Date
    May 2008

    Re: EGL supporting touch input

    As xmas mentioned, input APIs native to your platform can be used to handle input.

    Alternatively, there is an opensource project called GLUTES which provides the same input functionality as GLUT but it's targeted at OpenGLES. I believe it can be compiled under linux and it uses x11 to handle native functionality. It can also be compiled under windows/CE using the win32 API for native functionality.

    Another alternative would be if your platform had an implementation of OpenKODE, you could use that API.

Similar Threads

  1. egl keyboard and mouse input support
    By abhishek in forum EGL
    Replies: 1
    Last Post: 12-12-2012, 09:44 AM
  2. Opengl es 2.0 touch rotation problem
    By bharathr88 in forum OpenGL ES
    Replies: 1
    Last Post: 07-12-2011, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean