|
AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
|
Interface for button input functionality. More...
#include <i_button_controller.h>
Public Member Functions | |
| virtual | ~IButtonController ()=default |
| virtual void | setup ()=0 |
| Initializes the button hardware. | |
| virtual bool | read ()=0 |
| Reads the current button state. | |
Interface for button input functionality.
Abstract interface that defines the contract for button operations. Allows for hardware abstraction and dependency injection.
Definition at line 10 of file i_button_controller.h.
|
virtualdefault |
|
pure virtual |
Reads the current button state.
Implemented in ButtonController, and ButtonController.
|
pure virtual |
Initializes the button hardware.
Configures GPIO pins and any necessary hardware resources.
Implemented in ButtonController, and ButtonController.