Эх сурвалжийг харах

add in the missing #defines

mechmerlin 6 жил өмнө
parent
commit
2a55368a59

+ 15 - 0
keyboards/rama/koyu/config.h

@@ -90,9 +90,19 @@
 // disable backlight after timeout in minutes, 0 = no timeout
 // disable backlight after timeout in minutes, 0 = no timeout
 #define RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT 0
 #define RGB_BACKLIGHT_DISABLE_AFTER_TIMEOUT 0
 
 
+// the default brightness
+#define RGB_BACKLIGHT_BRIGHTNESS 255
+
 // the default effect (RGB test)
 // the default effect (RGB test)
 #define RGB_BACKLIGHT_EFFECT 255
 #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
 // These define which keys in the matrix are alphas/mods
 // Used for backlight effects so colors are different for
 // Used for backlight effects so colors are different for
 // alphas vs. mods
 // alphas vs. mods
@@ -104,6 +114,11 @@
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0111000000000001
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_3 0b0111000000000001
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0111100000000111
 #define RGB_BACKLIGHT_ALPHAS_MODS_ROW_4 0b0111100000000111
 
 
+#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
 #define DYNAMIC_KEYMAP_LAYER_COUNT 4
 
 
 // EEPROM usage
 // EEPROM usage