2026-07-24 01:34:08 +02:00

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
};