19 lines
333 B
C++
19 lines
333 B
C++
#pragma once
|
|
|
|
#include "lvgl.h"
|
|
|
|
namespace tt::hal {
|
|
|
|
class Display;
|
|
|
|
class Keyboard {
|
|
public:
|
|
[[nodiscard]] virtual bool start(lv_display_t* display) = 0;
|
|
[[nodiscard]] virtual bool stop() = 0;
|
|
[[nodiscard]] virtual bool isAttached() const = 0;
|
|
|
|
[[nodiscard]] virtual lv_indev_t* _Nullable getLvglIndev() = 0;
|
|
};
|
|
|
|
}
|