|
AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
|
Main application entry point for Awesome Guitar Pedal. More...
#include <Arduino.h>#include <memory>#include "ble_keyboard_adapter.h"#include "platform.h"#include "button.h"#include "button_constants.h"#include "config.h"#include "config_loader.h"#include "delayed_action.h"#include "event_dispatcher.h"#include "led_controller.h"#include "pedal_config.h"#include "profile_manager.h"#include "send_action.h"Go to the source code of this file.
Typedefs | |
| using | IsrFunc = void(*)() |
Functions | |
| LEDController | ledBluetooth (hardwareConfig.ledBluetooth) |
| LEDController | ledPower (hardwareConfig.ledPower) |
| void | signalLoadError () |
| Signal a configuration load error by blinking all LEDs, then fall back to the hardcoded factory default via configureProfiles(). | |
| void | attachInterrupts () |
| Attaches interrupt handlers to all buttons. | |
| void IRAM_ATTR | isr_buttons (uint8_t index) |
| Button | BUTTON_SELECT (hardwareConfig.buttonSelect) |
| void IRAM_ATTR | isr_btn0 () |
| void IRAM_ATTR | isr_btn1 () |
| void IRAM_ATTR | isr_btn2 () |
| void IRAM_ATTR | isr_btn3 () |
| void IRAM_ATTR | isr_btn4 () |
| void IRAM_ATTR | isr_btn5 () |
| void IRAM_ATTR | isr_btn6 () |
| void IRAM_ATTR | isr_btn7 () |
| void IRAM_ATTR | isr_btn8 () |
| void IRAM_ATTR | isr_btn9 () |
| void IRAM_ATTR | isr_btn10 () |
| void IRAM_ATTR | isr_btn11 () |
| void IRAM_ATTR | isr_btn12 () |
| void IRAM_ATTR | isr_btn13 () |
| void IRAM_ATTR | isr_btn14 () |
| void IRAM_ATTR | isr_btn15 () |
| void IRAM_ATTR | isr_btn16 () |
| void IRAM_ATTR | isr_btn17 () |
| void IRAM_ATTR | isr_btn18 () |
| void IRAM_ATTR | isr_btn19 () |
| void IRAM_ATTR | isr_btn20 () |
| void IRAM_ATTR | isr_btn21 () |
| void IRAM_ATTR | isr_btn22 () |
| void IRAM_ATTR | isr_btn23 () |
| void IRAM_ATTR | isr_btn24 () |
| void IRAM_ATTR | isr_btn25 () |
| void IRAM_ATTR | isr_select () |
| void | setup_hardware () |
| Initializes all hardware components. | |
| void | executeActionWithLogging (uint8_t buttonIndex) |
| Executes an action with proper logging. | |
| void | setup_event_handlers () |
| Configures event handlers for all buttons. | |
| void | setup () |
| Arduino setup function - runs once at startup. | |
| void | detachInterrupts () |
| Detaches interrupt handlers from all buttons. | |
| void | process_events () |
| Processes button events and dispatches them to handlers. | |
| void | loop () |
| Arduino main loop - runs repeatedly. | |
Variables | |
| BleKeyboardAdapter * | bleKeyboardAdapter = createBleKeyboardAdapter() |
| bool | connected = false |
| LEDController * | selectLedObjects [ProfileManager::MAX_SELECT_LEDS] = {} |
| std::vector< ILEDController * > | selectLeds |
| Button * | actionButtonObjects [Btn::MAX] = {} |
| ProfileManager * | profileManager = nullptr |
| EventDispatcher | eventDispatcher |
Main application entry point for Awesome Guitar Pedal.
This file contains the setup, loop, and core application logic for the ESP32-based guitar pedal controller.
Definition in file main.cpp.
| void attachInterrupts | ( | ) |
| Button BUTTON_SELECT | ( | hardwareConfig. | buttonSelect | ) |
| void detachInterrupts | ( | ) |
| void executeActionWithLogging | ( | uint8_t | buttonIndex | ) |
| LEDController ledBluetooth | ( | hardwareConfig. | ledBluetooth | ) |
| LEDController ledPower | ( | hardwareConfig. | ledPower | ) |
| void process_events | ( | ) |
| void setup | ( | ) |
| void setup_event_handlers | ( | ) |
| void setup_hardware | ( | ) |
| void signalLoadError | ( | ) |
Signal a configuration load error by blinking all LEDs, then fall back to the hardcoded factory default via configureProfiles().
| BleKeyboardAdapter* bleKeyboardAdapter = createBleKeyboardAdapter() |
| EventDispatcher eventDispatcher |
| ProfileManager* profileManager = nullptr |
| LEDController* selectLedObjects[ProfileManager::MAX_SELECT_LEDS] = {} |
| std::vector<ILEDController*> selectLeds |