Button Configuration

Hi,

I need some details about the button configuration

To perform a Single Button configuration like

One click (BUTTON_RELEASE)

Double Click (BUTTON_RELEASE)

Button Press for 3 seconds

Button Press for 7 seconds.

all these configuration should apply for only one BUTTON

if this is case which one is better

app_button.c or bsp.c

2. how do i change the wake up button action.

   i.e -   by default while the system off state . when the button is pressed the system wake up. instead of that i need the

wake up action to be change it to BUTTON _RELEASE .

3. or wake up is to be done after the 3seconds of long press of a button.

Related