nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ click

enum click

#include <include/caf/events/click_event.h>

Click types.

The click type refers to the way a button can be pressed.

Enumerator
CLICK_NONE 

Button pressed and held for a period of time that is too long for CLICK_SHORT, but too short for CLICK_LONG.

CLICK_SHORT 

Button pressed and released after a short time.

CLICK_LONG 

Button pressed and held for a long period of time.

CLICK_DOUBLE 

Two sequences of the button press and release in a short time interval.

CLICK_COUNT 

Number of click types.

APP_EM_ENFORCE_ENUM_SIZE 

Unused in code, required for inter-core compatibility.