Let's see what this breaks...

This commit is contained in:
Thomas Göttgens
2023-08-07 19:34:42 +02:00
parent 0084c0881d
commit 402f8ba524
15 changed files with 255 additions and 60 deletions

20
src/input/kbMatrixBase.h Normal file
View File

@@ -0,0 +1,20 @@
#pragma once
#include "InputBroker.h"
#include "concurrency/OSThread.h"
class KbMatrixBase : public Observable<const InputEvent *>, public concurrency::OSThread
{
public:
explicit KbMatrixBase(const char *name);
protected:
virtual int32_t runOnce() override;
private:
const char *_originName;
bool firstTime = 1;
int shift = 0;
char key = 0;
char prevkey = 0;
};