mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-10 22:51:23 +00:00
20 lines
354 B
C++
20 lines
354 B
C++
#include "kbMatrixImpl.h"
|
|
#include "InputBroker.h"
|
|
|
|
#ifdef INPUTBROKER_MATRIX_TYPE
|
|
|
|
KbMatrixImpl *kbMatrixImpl;
|
|
|
|
KbMatrixImpl::KbMatrixImpl() : KbMatrixBase("matrixKB") {}
|
|
|
|
void KbMatrixImpl::init()
|
|
{
|
|
if (!INPUTBROKER_MATRIX_TYPE) {
|
|
disable();
|
|
return;
|
|
}
|
|
|
|
inputBroker->registerSource(this);
|
|
}
|
|
|
|
#endif // INPUTBROKER_MATRIX_TYPE
|