30 lines
476 B
C
30 lines
476 B
C
#ifndef RGB_MATRIX_DISPLAY_MODE_H
|
|
#define RGB_MATRIX_DISPLAY_MODE_H
|
|
|
|
#include <patrix/core/Config.h>
|
|
#include "mode/Mode.h"
|
|
|
|
extern Config config;
|
|
|
|
void modeSetup();
|
|
|
|
void modeLoop(Display& display);
|
|
|
|
void setMode(ModeId newMode);
|
|
|
|
ModeId getModeId();
|
|
|
|
double getModeSpeed();
|
|
|
|
void setModeSpeed(double newSpeed);
|
|
|
|
void modeMove(int index, int x, int y);
|
|
|
|
void modeFire(int index);
|
|
|
|
void modeMqttMessage(const char *topic, const char *message);
|
|
|
|
void modeLoadConfig();
|
|
|
|
#endif
|