aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hineybush/h87a
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hineybush/h87a')
-rw-r--r--keyboards/hineybush/h87a/config.h (renamed from keyboards/hineybush/h87a/h87a.c)13
-rw-r--r--keyboards/hineybush/h87a/keyboard.json3
2 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/hineybush/h87a/h87a.c b/keyboards/hineybush/h87a/config.h
index 8c10b68ca0..9ff1e426bd 100644
--- a/keyboards/hineybush/h87a/h87a.c
+++ b/keyboards/hineybush/h87a/config.h
@@ -1,4 +1,4 @@
-/* Copyright 2018 Josh Hinnebusch
+/* Copyright 2020 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,13 +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/>.
*/
-#include "quantum.h"
+#pragma once
-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/h87a/keyboard.json b/keyboards/hineybush/h87a/keyboard.json
index 987d1a60fd..42a50bf001 100644
--- a/keyboards/hineybush/h87a/keyboard.json
+++ b/keyboards/hineybush/h87a/keyboard.json
@@ -44,6 +44,9 @@
"pin": "D3"
},
"rgblight": {
+ "default": {
+ "val": 128
+ },
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 24,