summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Hinnebusch <joshhinnebusch@gmail.com>2020-01-05 17:28:53 -0500
committerJoel Challis <git@zvecr.com>2020-01-05 22:28:53 +0000
commitf2c61f8840241c0091ad7fcc3f3daa8082111842 (patch)
treef8d3b67d876d97ec0f5d800e7028ba70e3872550
parent12c6f9a412a940021e2f98fe29e4cbf62c03ddbd (diff)
h75_singa changes (#7799)
-rw-r--r--keyboards/hineybush/h75_singa/h75_singa.c9
-rw-r--r--keyboards/hineybush/h75_singa/rules.mk2
2 files changed, 10 insertions, 1 deletions
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