Introduce InputBroker

This commit is contained in:
Balazs Kelemen
2022-01-11 16:02:55 +01:00
parent b832b82ec6
commit f5004a66a1
9 changed files with 68 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
#include "RotaryEncoderInterruptImpl1.h"
#include "InputBroker.h"
RotaryEncoderInterruptImpl1 *rotaryEncoderInterruptImpl1;
@@ -18,6 +19,7 @@ void RotaryEncoderInterruptImpl1::init(
RotaryEncoderInterruptImpl1::handleIntA,
RotaryEncoderInterruptImpl1::handleIntB,
RotaryEncoderInterruptImpl1::handleIntPressed);
inputBroker->registerOrigin(this);
}
void RotaryEncoderInterruptImpl1::handleIntA()