WIP: layer based led theme plugin
This commit is contained in:
parent
3caa17f211
commit
f83eec3e6e
11
LayerBasedTheme.cpp
Normal file
11
LayerBasedTheme.cpp
Normal 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
19
LayerBasedTheme.h
Normal 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;
|
Loading…
Reference in New Issue
Block a user