AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
Loading...
Searching...
No Matches
esp32/include/button_controller.h
Go to the documentation of this file.
1#pragma once
3#include <Arduino.h>
4#include <driver/gpio.h>
5
14{
15public:
21 ButtonController(uint8_t pin);
22
28 virtual void setup() override;
29
35 virtual bool read() override;
36
37private:
38 uint8_t pin;
39};
ESP32-specific implementation of IButtonController interface.
virtual void setup() override
Initializes the GPIO pin for button input.
virtual bool read() override
Reads the current button state.
Interface for button input functionality.