Giving touch functionality to buttons.

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

    • Giving touch functionality to buttons.

      Hi,

      I created a keypad with buttons. But when i downloaded it to BSP board Iam not able to bring touch functionality to the same.Please help. I have taken keypad.zip available in this forum
    • Hi,

      How do you pass the touch input to emWin?

      In general it is done by calling GUI_TOUCH_StoreStateEx() or GUI_PID_StoreState().

      In most cases we create a dedicated task which polls for touch and if present pass the touch coordinates to emWin.

      Attached is a brief example on this can be done (it is a PIDConf.c used for the STM32F746 Discovery).

      Regards
      Sven
      Files
      • PIDConf.zip

        (1.34 kB, downloaded 234 times, last: )
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.