aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2022-09-23 12:55:04 +0100
committerdakkar <dakkar@thenautilus.net>2022-09-23 12:56:16 +0100
commit71e095770c0c61acaf992a922d612fc4e5c41d32 (patch)
tree25b18a1d033e821e047199071a83cb9c34dcdd8c
parentnow it compiles (diff)
downloadkeyboardio-model01-71e095770c0c61acaf992a922d612fc4e5c41d32.tar.gz
keyboardio-model01-71e095770c0c61acaf992a922d612fc4e5c41d32.tar.bz2
keyboardio-model01-71e095770c0c61acaf992a922d612fc4e5c41d32.zip
it works!
updated some comments at some point we should probably replace DakkarColor with DefaultColormap / Colormap
-rw-r--r--README.md3
-rw-r--r--keymap-wrapper.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index bb58bd2..0a3171e 100644
--- a/README.md
+++ b/README.md
@@ -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!)
*/