#include "devices/Display.h"
#include "devices/Power.h"

#include <Tactility/hal/Configuration.h>
#include <ButtonControl.h>

bool initBoot();

using namespace tt::hal;

static std::vector<std::shared_ptr<tt::hal::Device>> createDevices() {
    return {
        createPower(),
        createDisplay(),
        ButtonControl::createTwoButtonControl(0, 14),
    };
}

extern const Configuration hardwareConfiguration = {
    .initBoot = initBoot,
    .createDevices = createDevices
};
