13 lines
267 B
C
13 lines
267 B
C
|
#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;
|
||
|
};
|