Detecting a button double click?

We are new to Nordic and have been making great progress with our nrf52840DK board and successfully running many of the Nordic SDK examples. We can't seem to find a single example of an API that will notify on a variety of button events (more than just a single click). Our code needs to respond differently for single-click, double-click, press-and-hold. Sure seems that the Nordic SDK would have something for that. Yes? Any help would be appreciated.

Thanks,

Steve K, PuzL Labs, LLC

Parents Reply
  • Hi Priyanka,

    Thank you, I took a look at your response and went looking within my Nordic SDK installation to find examples that might show the use of the "CAF: Buttons module". I couldn’t find anything. Also, the link you provided for “click events” resolved to documentation for SDK v2.4.99 and I’m wondering if my older (but still fairly recent) SDK v2.4.1 installation doesn’t have the "CAF: Buttons module". Maybe it's something very new. Anyhow, I’m still a bit confused and could probably still use a little guidance. Thanks in advance.

    Steve K.
    PuzL Labs, LLC

Children
No Data
Related