Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_buttons.h
Go to the documentation of this file.
1
6
7#ifndef NBGL_BUTTONS_H
8#define NBGL_BUTTONS_H
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/*********************
17 * INCLUDES
18 *********************/
19#include "nbgl_types.h"
20#include "nbgl_obj.h"
21
22/*********************
23 * DEFINES
24 *********************/
27#define CONTINOUS_PRESS_THRESHOLD 8
29#define CONTINUOUS_PRESS_PERIOD 3
30
31/**********************
32 * TYPEDEFS
33 **********************/
34
35/**********************
36 * GLOBAL PROTOTYPES
37 **********************/
38void nbgl_buttonsHandler(uint8_t buttonState, uint32_t currentTimeMs);
40
41/**********************
42 * MACROS
43 **********************/
44
45#ifdef __cplusplus
46} /* extern "C" */
47#endif
48
49#endif /* NBGL_BUTTONS_H */
void nbgl_buttonsHandler(uint8_t buttonState, uint32_t currentTimeMs)
void nbgl_buttonsReset(void)
Included by every low-level NBGL header, to forbid them in apollo app code.
API to draw all basic graphic objects.
common types for Graphical Library