PebbleOS
Loading...
Searching...
No Matches
Functions
Debounced buttons

Debounced button events. More...

Functions

void debounced_button_init (void)
 Initialize the buttons and start generating button events.
 

Detailed Description

Debounced button events.

Samples the buttons on a timer while any of them changes state and posts PEBBLE_BUTTON_DOWN_EVENT / PEBBLE_BUTTON_UP_EVENT events once a new state is stable. Holding the reset combination (back and select) resets the device, except in MFG builds.

Function Documentation

◆ debounced_button_init()

void debounced_button_init ( void  )

Initialize the buttons and start generating button events.

Calls button_init().