]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/rama/m6_b/config.h
[Keyboard] Added configurable defaults for RGB backlight parameters. (#5549)
[qmk_firmware.git] / keyboards / rama / m6_b / config.h
index c2a225d53aaffd8e4919e56eccd93abc0c9aaee4..0d690bffafc55bdba193bfc5eaece6d786a15b7b 100644 (file)
 // disable backlight after timeout in minutes, 0 = no timeout
 #define RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT 0
 
+// the default brightness
+#define RGB_BACKLIGHT_BRIGHTNESS 255
+
 // the default effect (RGB test)
 #define RGB_BACKLIGHT_EFFECT 255
 
+// the default effect speed (0-3)
+#define RGB_BACKLIGHT_EFFECT_SPEED 0
+
+// the default color1 and color2
+#define RGB_BACKLIGHT_COLOR_1 { .h = 0, .s = 255 }
+#define RGB_BACKLIGHT_COLOR_2 { .h = 127, .s = 255 }
+
 // These define which keys in the matrix are alphas/mods
 // Used for backlight effects so colors are different for
 // alphas vs. mods
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0
 
+#define RGB_BACKLIGHT_CAPS_LOCK_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
+#define RGB_BACKLIGHT_LAYER_1_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
+#define RGB_BACKLIGHT_LAYER_2_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
+#define RGB_BACKLIGHT_LAYER_3_INDICATOR { .color = { .h = 0, .s = 0 }, .index = 255 }
+
 #define DYNAMIC_KEYMAP_LAYER_COUNT 4
 
 // EEPROM usage