diff options
Diffstat (limited to 'keyboards/hineybush/h88')
-rw-r--r-- | keyboards/hineybush/h88/config.h (renamed from keyboards/hineybush/h88/h88.c) | 11 | ||||
-rw-r--r-- | keyboards/hineybush/h88/keyboard.json | 3 |
2 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/hineybush/h88/h88.c b/keyboards/hineybush/h88/config.h index 7c63446751..2537b3f36c 100644 --- a/keyboards/hineybush/h88/h88.c +++ b/keyboards/hineybush/h88/config.h @@ -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/h88/keyboard.json b/keyboards/hineybush/h88/keyboard.json index b1bb842303..6a9b3142e3 100644 --- a/keyboards/hineybush/h88/keyboard.json +++ b/keyboards/hineybush/h88/keyboard.json @@ -41,6 +41,9 @@ "on_state": 0 }, "rgblight": { + "default": { + "val": 128 + }, "saturation_steps": 8, "brightness_steps": 8, "led_count": 24, |