mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 07:25:06 +00:00
23 lines
483 B
C++
23 lines
483 B
C++
#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
|
|
};
|