|
|
@ -24,14 +24,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
namespace example {
|
|
|
|
namespace example {
|
|
|
|
|
|
|
|
|
|
|
|
class TestLEDMode : public LEDMode {
|
|
|
|
class TestLEDMode : public kaleidoscope::LEDMode {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
TestLEDMode() {}
|
|
|
|
TestLEDMode() {}
|
|
|
|
|
|
|
|
|
|
|
|
static bool focusHook(const char *command);
|
|
|
|
static bool focusHook(const char *command);
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
void setup(void) final;
|
|
|
|
void setup() final;
|
|
|
|
void update(void) final;
|
|
|
|
void update(void) final;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
@ -41,7 +41,7 @@ class TestLEDMode : public LEDMode {
|
|
|
|
uint16_t TestLEDMode::map_base_;
|
|
|
|
uint16_t TestLEDMode::map_base_;
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
TestLEDMode::setup(void) {
|
|
|
|
TestLEDMode::setup() {
|
|
|
|
map_base_ = LEDPaletteTheme.reserveThemes(1);
|
|
|
|
map_base_ = LEDPaletteTheme.reserveThemes(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|