diff options
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | keymap-wrapper.h | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -33,7 +33,8 @@ window, and that needs left-alt to stay pressed. Source: [`DakkarColor.h`](DakkarColor.h) This plugin defines a `LEDMode` sub class, which uses a color map as -built by `keymap-wrapper.h` to assign each key its color. +built by `keymap-wrapper.h` (i.e. a DefaultColormap) to assign each +key its color. In addition to simple colors, it allows you to set a function pointer (look at the `num-breathe()` function in `color-themes.h` for a diff --git a/keymap-wrapper.h b/keymap-wrapper.h index 85fc4a3..bcd1259 100644 --- a/keymap-wrapper.h +++ b/keymap-wrapper.h @@ -13,11 +13,11 @@ macros, and include this file. First, we define CK as "return the first argument (the key)", and - ColorKeymaps as "a klaeidoscope keymap", and include our keymaps + ColorKeymaps as "a kaleidoscope keymap", and include our keymaps definition. Then, we *redefine* CK as "return the second argument (the colour)" - and ColorKeymaps as "a DakkarColor color map", and include our + and ColorKeymaps as "a DefaultColormap color map", and include our keymaps definition *again* (make sure you don't add a `#pragma "once"` in there!) */ |