Tuesday, March 20th 2018, 2:55pm UTC+1

You are not logged in.

  • Login
  • Register



Date of registration: Feb 27th 2018

Posts: 8


Wednesday, March 7th 2018, 11:08am

Giving touch functionality to buttons.


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

SEGGER - Schoenen

Super Moderator

Date of registration: Aug 13th 2015

Posts: 515


Thursday, March 8th 2018, 11:30am


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).

SEGGER - Schoenen has attached the following file:
  • PIDConf.zip (1.34 kB - 15 times downloaded - Last download: Mar 18th 2018, 12:36am)