Compare commits

...

1 Commits

Author SHA1 Message Date
Gergely Polonkai f83eec3e6e
WIP: layer based led theme plugin 2022-06-03 06:44:09 +02:00
2 changed files with 30 additions and 0 deletions

11
LayerBasedTheme.cpp Normal file
View File

@ -0,0 +1,11 @@
#include "LayerBasedTheme.h"
namespace kaleidoscope {
namespace plugin {
EventHandlerResult LayerBasedTheme::onLayerChange() {
return EventHandlerResult::OK;
}
} // namespace plugin
} // namespace kaleidoscope
kaleidoscope::plugin::LayerBasedTheme LayerBasedTheme;

19
LayerBasedTheme.h Normal file
View File

@ -0,0 +1,19 @@
#pragma once
#include "kaleidoscope/event_handler_result.h"
#include "kaleidoscope/plugin.h"
#include "kaleidoscope/plugin/LEDModeInterface.h"
namespace kaleidoscope {
namespace plugin {
class LayerBasedTheme: public Plugin,
public LEDModeInterface {
public:
LayerBasedTheme(void) {}
EventHandlerResult onLayerChange();
};
} // namespace plugin
} // namespace kaleidoscope
extern kaleidoscope::plugin::LayerBasedTheme LayerBasedTheme;