diff options
Diffstat (limited to 'keymap-wrapper.h')
-rw-r--r-- | keymap-wrapper.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/keymap-wrapper.h b/keymap-wrapper.h index 9418ebb..85fc4a3 100644 --- a/keymap-wrapper.h +++ b/keymap-wrapper.h @@ -2,6 +2,7 @@ #pragma once #include "Kaleidoscope-MouseKeys.h" +#include <Kaleidoscope-Colormap.h> #include "keymap-layers.h" /* hack hack hack! @@ -25,17 +26,22 @@ #define ColorKeymaps(layers...) KEYMAPS(layers) +#define MYMAP_STACKED KEYMAP_STACKED + #include "keymaps.h" #undef CK #undef ColorKeymaps +#undef MYMAP_STACKED #define CK(k,c) c -#define ColorKeymaps(layers...) \ - static constexpr uint8_t color_keymaps[][Kaleidoscope.device().matrix_rows * Kaleidoscope.device().matrix_columns] = { layers }; +#define ColorKeymaps(layers...) COLORMAPS(layers) + +#define MYMAP_STACKED COLORMAP_STACKED #include "keymaps.h" #undef CK #undef ColorKeymaps +#undef MYMAP_STACKED |