High-level manager for polling and updating multiple button instances on the steering board.
More...
High-level manager for polling and updating multiple button instances on the steering board.
◆ BUTTON_MANAGER_DEBUG
#define BUTTON_MANAGER_DEBUG 0 |
Set to 1 to enable debug prints
◆ BUTTON_MANAGER_MAX_BUTTONS
#define BUTTON_MANAGER_MAX_BUTTONS 10 |
Maximum number of buttons supported
◆ button_manager_init()
Initialize the button manager.
- Parameters
-
- Returns
- STATUS_CODE_OK if initialized successfully STATUS_CODE_INVALID_ARGS if an invalid parameter is passed in
◆ button_manager_update()
Update the button manager.
- Parameters
-
- Returns
- STATUS_CODE_OK if initialized successfully STATUS_CODE_INVALID_ARGS if an invalid parameter is passed in