#include <buttons.h>
◆ Buttons()
| Device::Buttons::Buttons |
( |
Robot & | robot | ) |
|
|
explicit |
◆ ~Buttons()
| Device::Buttons::~Buttons |
( |
| ) |
|
◆ get_button_state_primary()
| bool Device::Buttons::get_button_state_primary |
( |
| ) |
const |
|
inline |
Gets the state of the primary button.
◆ get_button_state_secondary()
| bool Device::Buttons::get_button_state_secondary |
( |
| ) |
const |
|
inline |
Gets the state of the secondary button.
◆ initialize()
| void Device::Buttons::initialize |
( |
| ) |
|
Sets up the neccessary GPIO pins.
◆ update_button_states()
| void Device::Buttons::update_button_states |
( |
| ) |
|
Updates the button states with the current hardware states.
The documentation for this class was generated from the following files: