diff options
Diffstat (limited to 'keyboards/hineybush/h660s')
-rw-r--r-- | keyboards/hineybush/h660s/config.h (renamed from keyboards/hineybush/h660s/h660s.c) | 15 | ||||
-rw-r--r-- | keyboards/hineybush/h660s/keyboard.json | 3 |
2 files changed, 6 insertions, 12 deletions
diff --git a/keyboards/hineybush/h660s/h660s.c b/keyboards/hineybush/h660s/config.h index 0e774b9c57..2ac1c1bae5 100644 --- a/keyboards/hineybush/h660s/h660s.c +++ b/keyboards/hineybush/h660s/config.h @@ -1,4 +1,4 @@ -/* Copyright 2020 Josh Hinnebusch +/* Copyright 2018 Josh Hinnebusch * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -13,15 +13,6 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#pragma once -#include "quantum.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(); -} - +#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2) diff --git a/keyboards/hineybush/h660s/keyboard.json b/keyboards/hineybush/h660s/keyboard.json index d76664080e..44e8c8c21a 100644 --- a/keyboards/hineybush/h660s/keyboard.json +++ b/keyboards/hineybush/h660s/keyboard.json @@ -35,6 +35,9 @@ "breathing": true }, "rgblight": { + "default": { + "val": 128 + }, "saturation_steps": 8, "brightness_steps": 8, "led_count": 16, |