cleanup main.cpp, split platform code into a Platform object

This commit is contained in:
2021-03-31 11:50:00 -07:00
parent a6534bcb20
commit 10bbcd6786
21 changed files with 768 additions and 408 deletions

12
src/LogService.h Normal file
View File

@@ -0,0 +1,12 @@
#include <Figments.h>
class LogService : public Task {
public:
LogService() : Task("Logging") {}
void handleEvent(const InputEvent& event) override;
void loop() override {}
private:
uint16_t m_duplicateEvents = 0;
InputEvent m_lastEvent;
};