|
|
@ -20,6 +20,7 @@
|
|
|
|
#include <Kaleidoscope-LED-Palette-Theme.h>
|
|
|
|
#include <Kaleidoscope-LED-Palette-Theme.h>
|
|
|
|
#include <Kaleidoscope-EEPROM-Settings.h>
|
|
|
|
#include <Kaleidoscope-EEPROM-Settings.h>
|
|
|
|
#include <Kaleidoscope-FocusSerial.h>
|
|
|
|
#include <Kaleidoscope-FocusSerial.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace example {
|
|
|
|
namespace example {
|
|
|
|
|
|
|
|
|
|
|
|
class TestLEDMode : public kaleidoscope::LEDMode {
|
|
|
|
class TestLEDMode : public kaleidoscope::LEDMode {
|
|
|
@ -58,7 +59,7 @@ TestLEDMode::onFocusEvent(const char *command) {
|
|
|
|
example::TestLEDMode TestLEDMode;
|
|
|
|
example::TestLEDMode TestLEDMode;
|
|
|
|
|
|
|
|
|
|
|
|
// *INDENT-OFF*
|
|
|
|
// *INDENT-OFF*
|
|
|
|
const Key keymaps[][ROWS][COLS] PROGMEM = {
|
|
|
|
KEYMAPS(
|
|
|
|
[0] = KEYMAP_STACKED
|
|
|
|
[0] = KEYMAP_STACKED
|
|
|
|
(
|
|
|
|
(
|
|
|
|
Key_LEDEffectNext, Key_1, Key_2, Key_3, Key_4, Key_5, Key_LEDEffectNext,
|
|
|
|
Key_LEDEffectNext, Key_1, Key_2, Key_3, Key_4, Key_5, Key_LEDEffectNext,
|
|
|
@ -76,7 +77,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
|
|
|
|
|
|
|
|
|
|
|
|
Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl,
|
|
|
|
Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl,
|
|
|
|
Key_NoKey),
|
|
|
|
Key_NoKey),
|
|
|
|
};
|
|
|
|
)
|
|
|
|
// *INDENT-ON*
|
|
|
|
// *INDENT-ON*
|
|
|
|
|
|
|
|
|
|
|
|
KALEIDOSCOPE_INIT_PLUGINS(Focus, LEDPaletteTheme, TestLEDMode, EEPROMSettings);
|
|
|
|
KALEIDOSCOPE_INIT_PLUGINS(Focus, LEDPaletteTheme, TestLEDMode, EEPROMSettings);
|
|
|
|