Skip to main content
prathima
Associate III
March 6, 2020
Question

DOUBLE CLICK ON STM32L4R9AI_EVAL

  • March 6, 2020
  • 4 replies
  • 1121 views

Hello..

How to implement double click/double tap on STM32L4R9AI-EVAL board

This topic has been closed for replies.

4 replies

Martin KJELDSEN
Principal III
March 6, 2020

On a particular widget? Or an entire screen? More details!

/Martin

prathima
prathimaAuthor
Associate III
March 8, 2020

Double click on entire screen?........

prathima
prathimaAuthor
Associate III
March 12, 2020

How to implement double click?i want the example code?Do you have any example code?

Thank you.....

Martin KJELDSEN
Principal III
March 13, 2020

Double "clicking" on something is pretty uncommon so we don't have an example :) But it should be easy to implement - Inherit from Button and create your own handleClickEvent() handler that registers itself as a timer-widget to receive ticks. Then just keep track of the threshhold that you want to use to register a "double click". Search this forum on how to use time aware widgets. I just something similar in another post.

Search for "registerTimerWidget".

/Martin