There currently is no practical use to have TactilityHeadless as a subproject. I'm merging it with the Tactility project.
25 lines
397 B
C++
25 lines
397 B
C++
#pragma once
|
|
|
|
#include "../Device.h"
|
|
|
|
#include <lvgl.h>
|
|
|
|
namespace tt::hal::keyboard {
|
|
|
|
class Display;
|
|
|
|
class KeyboardDevice : public Device {
|
|
|
|
public:
|
|
|
|
Type getType() const override { return Type::Keyboard; }
|
|
|
|
virtual bool start(lv_display_t* display) = 0;
|
|
virtual bool stop() = 0;
|
|
virtual bool isAttached() const = 0;
|
|
|
|
virtual lv_indev_t* _Nullable getLvglIndev() = 0;
|
|
};
|
|
|
|
}
|