From 27bf464dc373cbc68fd166520776648e3465e014 Mon Sep 17 00:00:00 2001 From: Manna Harbour <51143715+manna-harbour@users.noreply.github.com> Date: Sat, 30 Nov 2019 10:48:11 +1100 Subject: [Keymap] Add RGB keycodes to keymap, enable RGB_MATRIX on crkbd (#7499) --- keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h | 17 +++++++++++++++++ keyboards/crkbd/keymaps/manna-harbour_miryoku/rules.mk | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 keyboards/crkbd/keymaps/manna-harbour_miryoku/config.h create mode 100644 keyboards/crkbd/keymaps/manna-harbour_miryoku/rules.mk (limited to 'keyboards/crkbd') 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 -- cgit v1.2.1