mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-11 07:01:25 +00:00
17 lines
304 B
C++
17 lines
304 B
C++
![]() |
#include "InputBroker.h"
|
||
|
|
||
|
InputBroker *inputBroker;
|
||
|
|
||
|
InputBroker::InputBroker()
|
||
|
{
|
||
|
};
|
||
|
|
||
|
void InputBroker::registerOrigin(Observable<const InputEvent *> *origin)
|
||
|
{
|
||
|
this->inputEventObserver.observe(origin);
|
||
|
}
|
||
|
|
||
|
int InputBroker::handleInputEvent(const InputEvent *event)
|
||
|
{
|
||
|
this->notifyObservers(event);
|
||
|
}
|