summaryrefslogtreecommitdiff
path: root/keyboards/crkbd
diff options
context:
space:
mode:
authorManna Harbour <51143715+manna-harbour@users.noreply.github.com>2019-11-30 10:48:11 +1100
committerDrashna Jaelre <drashna@live.com>2019-11-29 15:48:11 -0800
commit27bf464dc373cbc68fd166520776648e3465e014 (patch)
tree72af1bf604da0b30ad52e520cc30e168577e999f /keyboards/crkbd
parentfb02593bd4d58c8d046673ed872d972544640a2a (diff)
downloadqmk_firmware-27bf464dc373cbc68fd166520776648e3465e014.tar.gz
qmk_firmware-27bf464dc373cbc68fd166520776648e3465e014.zip
[Keymap] Add RGB keycodes to keymap, enable RGB_MATRIX on crkbd (#7499)
Diffstat (limited to 'keyboards/crkbd')
-rw-r--r--keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h17
-rw-r--r--keyboards/crkbd/keymaps/manna-harbour_miryoku/rules.mk4
2 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h b/keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h
new file mode 100644
index 0000000000..4b8f78a650
--- /dev/null
+++ b/keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h
@@ -0,0 +1,17 @@
+
+// generated from users/manna-harbour_miryoku/miryoku.org
+
+#pragma once
+
+#define EE_HANDS
+
+#ifdef RGB_MATRIX_ENABLE
+#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
+#define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
+#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
+#define RGB_MATRIX_HUE_STEP 8
+#define RGB_MATRIX_SAT_STEP 8
+#define RGB_MATRIX_VAL_STEP 8
+#define RGB_MATRIX_SPD_STEP 10
+#endif
diff --git a/keyboards/crkbd/keymaps/manna-harbour_miryoku/rules.mk b/keyboards/crkbd/keymaps/manna-harbour_miryoku/rules.mk
new file mode 100644
index 0000000000..f62c86e932
--- /dev/null
+++ b/keyboards/crkbd/keymaps/manna-harbour_miryoku/rules.mk
@@ -0,0 +1,4 @@
+
+# generated from users/manna-harbour_miryoku/miryoku.org
+
+RGB_MATRIX_ENABLE = WS2812