From f2c61f8840241c0091ad7fcc3f3daa8082111842 Mon Sep 17 00:00:00 2001 From: Josh Hinnebusch Date: Sun, 5 Jan 2020 17:28:53 -0500 Subject: [PATCH] h75_singa changes (#7799) --- keyboards/hineybush/h75_singa/h75_singa.c | 9 +++++++++ keyboards/hineybush/h75_singa/rules.mk | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/keyboards/hineybush/h75_singa/h75_singa.c b/keyboards/hineybush/h75_singa/h75_singa.c index e2de94a433..290f6023e1 100644 --- a/keyboards/hineybush/h75_singa/h75_singa.c +++ b/keyboards/hineybush/h75_singa/h75_singa.c @@ -15,3 +15,12 @@ */ #include "h75_singa.h" + +void eeconfig_init_kb(void) { // EEPROM is getting reset! + rgblight_enable(); // Enable RGB by default + rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness + rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default + + eeconfig_update_kb(0); + eeconfig_init_user(); +} diff --git a/keyboards/hineybush/h75_singa/rules.mk b/keyboards/hineybush/h75_singa/rules.mk index 9255756c17..92ad960cb9 100644 --- a/keyboards/hineybush/h75_singa/rules.mk +++ b/keyboards/hineybush/h75_singa/rules.mk @@ -14,7 +14,7 @@ BOOTLOADER = atmel-dfu # Build Options # change yes to no to disable # -BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control CONSOLE_ENABLE = no # Console for debug