cancel
Showing results for 
Search instead for 
Did you mean: 

DOUBLE CLICK ON STM32L4R9AI_EVAL

prathima
Associate II

Hello..

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

4 REPLIES 4
Martin KJELDSEN
Chief III

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

/Martin

prathima
Associate II

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

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

Thank you.....

Martin KJELDSEN
Chief 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