mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-18 16:05:05 +00:00
22 lines
476 B
C++
22 lines
476 B
C++
#include "hal/SdlDisplay.h"
|
|
#include "hal/SdlKeyboard.h"
|
|
#include "hal/SimulatorPower.h"
|
|
|
|
|
|
#define TAG "hardware"
|
|
|
|
using namespace tt::hal;
|
|
|
|
static std::vector<std::shared_ptr<tt::hal::Device>> createDevices() {
|
|
return {
|
|
std::make_shared<SdlDisplay>(),
|
|
std::make_shared<SdlKeyboard>(),
|
|
std::make_shared<SimulatorPower>(),
|
|
};
|
|
}
|
|
|
|
extern const Configuration hardwareConfiguration = {
|
|
.initBoot = nullptr,
|
|
.createDevices = createDevices
|
|
};
|