AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
Loading...
Searching...
No Matches
pedal_config.h File Reference
#include "i_ble_keyboard.h"
#include "profile_manager.h"

Go to the source code of this file.

Functions

bool configureProfiles (ProfileManager &profileManager, IBleKeyboard *keyboard)
 Loads pedal profiles from file, falling back to DEFAULT_CONFIG on failure.
 

Function Documentation

◆ configureProfiles()

bool configureProfiles ( ProfileManager profileManager,
IBleKeyboard keyboard 
)

Loads pedal profiles from file, falling back to DEFAULT_CONFIG on failure.

Returns
true if configuration was loaded successfully (from file or default JSON)
false if even the default JSON failed to parse (should never happen)

Loads pedal profiles from file, falling back to DEFAULT_CONFIG on failure.

Returns false only if DEFAULT_CONFIG itself fails to parse — which indicates a programming error and should never happen at runtime.

Definition at line 16 of file pedal_config.cpp.