]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keymap] Additional RGB options set (#5551)
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>
Thu, 4 Apr 2019 21:41:55 +0000 (17:41 -0400)
committerDrashna Jaelre <drashna@live.com>
Thu, 4 Apr 2019 21:41:55 +0000 (14:41 -0700)
* Add new RGB backlight options to config

* Add new RGB options

keyboards/hs60/v2/keymaps/stanrc85/config.h

index 4576211f1025606c439310d57a83abb7fd7d1ad1..5aab3098c7dfd7186ed3b13ef21b7561281cbe93 100644 (file)
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_2 0b0011000000000001 //Setting \ key to "MOD" instead of "ALPHA" for lighting
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0010000000000001
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0011110000000111
+
+#undef RGB_BACKLIGHT_CAPS_LOCK_INDICATOR
+#undef RGB_BACKLIGHT_LAYER_1_INDICATOR
+#undef RGB_BACKLIGHT_LAYER_2_INDICATOR
+#undef RGB_BACKLIGHT_LAYER_3_INDICATOR
+
+#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 200, .s = 255 }, .index = 3-1 } //purple
+#define RGB_BACKLIGHT_LAYER_1_INDICATOR { .color = { .h = 100, .s = 255 }, .index = 60-1 } //green
+#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 150, .s = 255 }, .index = 60-1 } //blue
+#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 60-1 } //white
+
+#undef RGB_BACKLIGHT_BRIGHTNESS
+#define RGB_BACKLIGHT_BRIGHTNESS 175
+
+#undef RGB_BACKLIGHT_COLOR_1
+#undef RGB_BACKLIGHT_COLOR_2
+
+#define RGB_BACKLIGHT_COLOR_1 { .h = 0, .s = 255 }
+#define RGB_BACKLIGHT_COLOR_2 { .h = 150, .s = 255 }