diff options
Diffstat (limited to 'keyboards/hineybush/h75_singa')
-rw-r--r-- | keyboards/hineybush/h75_singa/config.h (renamed from keyboards/hineybush/h75_singa/h75_singa.c) | 12 | ||||
-rw-r--r-- | keyboards/hineybush/h75_singa/keyboard.json | 3 |
2 files changed, 5 insertions, 10 deletions
diff --git a/keyboards/hineybush/h75_singa/h75_singa.c b/keyboards/hineybush/h75_singa/config.h index badd12849d..6be72d4d9f 100644 --- a/keyboards/hineybush/h75_singa/h75_singa.c +++ b/keyboards/hineybush/h75_singa/config.h @@ -13,14 +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/h75_singa/keyboard.json b/keyboards/hineybush/h75_singa/keyboard.json index 30dbd8d6a1..0c3ca31e28 100644 --- a/keyboards/hineybush/h75_singa/keyboard.json +++ b/keyboards/hineybush/h75_singa/keyboard.json @@ -34,6 +34,9 @@ "breathing": true }, "rgblight": { + "default": { + "val": 128 + }, "saturation_steps": 8, "brightness_steps": 8, "led_count": 22, |