WIP: layer based led theme plugin

This commit is contained in:
Gergely Polonkai 2022-06-03 06:44:09 +02:00
parent 3caa17f211
commit f83eec3e6e
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
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;