Added screenshot mode config and updated copyright docs (#126)

This commit is contained in:
Ken Van Hoeylandt
2024-12-15 13:16:59 +01:00
committed by GitHub
parent 07f45b8fb0
commit 100c24f6a3
12 changed files with 47 additions and 10 deletions
@@ -1,3 +1,4 @@
#include "Tactility.h"
#include "hal/Configuration.h"
#include "hal/SimulatorPower.h"
#include "LvglTask.h"
@@ -7,6 +8,8 @@
#define TAG "hardware"
extern const tt::hal::sdcard::SdCard simulatorSdcard;
static bool initBoot() {
lv_init();
lvgl_task_start();
@@ -28,7 +31,7 @@ extern const tt::hal::Configuration hardware = {
.initBoot = initBoot,
.createDisplay = createDisplay,
.createKeyboard = createKeyboard,
.sdcard = nullptr,
.sdcard = &simulatorSdcard,
.power = simulatorPower,
.i2c = {
tt::hal::i2c::Configuration {