mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-27 05:00:38 +00:00
19 lines
507 B
C
19 lines
507 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "MeshModule.h"
|
||
|
|
#include "configuration.h"
|
||
|
|
#include "input/InputBroker.h"
|
||
|
|
#include <Arduino.h>
|
||
|
|
#include <functional>
|
||
|
|
|
||
|
|
class SystemCommandsModule
|
||
|
|
{
|
||
|
|
CallbackObserver<SystemCommandsModule, const InputEvent *> inputObserver =
|
||
|
|
CallbackObserver<SystemCommandsModule, const InputEvent *>(this, &SystemCommandsModule::handleInputEvent);
|
||
|
|
|
||
|
|
public:
|
||
|
|
SystemCommandsModule();
|
||
|
|
int handleInputEvent(const InputEvent *event);
|
||
|
|
};
|
||
|
|
|
||
|
|
extern SystemCommandsModule *systemCommandsModule;
|