Skip to main content
prathima
Associate III
Question

DOUBLE CLICK ON STM32L4R9AI_EVAL

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

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

/Martin

prathima
prathimaAuthor
Associate III

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

prathima
prathimaAuthor
Associate III

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

Thank you.....

Martin KJELDSEN
Principal III

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