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?

    Regards
    Dilip

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353

    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
    DevTech@imgtec.com | http://www.powervrinsider.com

  3. #3
    Senior Member
    Join Date
    May 2008
    Posts
    100

    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 Cross API and window system integration
    Replies: 1
    Last Post: 12-12-2012, 10:44 AM
  2. Opengl es 2.0 touch rotation problem
    By bharathr88 in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    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
  •