GUI_TOUCH_Exec() is not working, GUI_TOUCH_StoreStateEx() works fine alone

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • GUI_TOUCH_Exec() is not working, GUI_TOUCH_StoreStateEx() works fine alone

    Hi,

    I am porting the emWin using the example project from ST evaluation board and only GUI_TOUCH_StoreStateEx() has been used to update the pointer location (without needing to call GUI_TOUCH_Exec()).

    I came across several examples as well as the emWin manual, which state that GUI_TOUCH_Exec() must be called consistently to update the pointer location.

    So my question, is there any problem if I do not call the GUI_TOUCH_Exec()?

    Thank you.

    The post was edited 1 time, last by chiasyan ().

  • Hello,

    The function GUI_TOUCH_Exec() represents the analog touch screen driver. It can be called in case a resistive touch is used. GUI_TOUCH_Exec() automatically debounces the touch screen input.

    It is not required to call this function. If your implementation works ok, there should not be a problem.

    Best regards,
    Adrian