Touch screen app over am3517 evm

This topic contains 1 reply, has 2 voices, and was last updated by  Gordon 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30279

    erwinxu
    Member

    < ="-" ="text/; =utf-8">

    < name="GENERATOR" ="Office.org 3.2 Linux">
    < ="text/">

    Hi

    I was
    writing PowerVR applications over am3517 evm, trying to get input
    from the on-board touch screen, and this statement was implemented
    in RenderScene() in my program:

    float
    *pfTouch=0;

    pfTouch
    = (float*) PVRShellGet(prefPointerLocation);

    But it
    always returned 0, if it means that the touch screen was not
    functioning? Or maybe I missed some settings to active the touch
    screen? or lack of some software packages? need help.

    thanks

    #34314

    Gordon
    Moderator

    You will need to define PVRSHELL_OMAP3_TS_SUPPORT for your build. Also can you verify that tslib is present on the system?

    The touch code works on other OMAP3 test boards, but unfortunately, we don’t have that particular board here so I can’t say for sure if this will work, I’m afraid.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.