From 61173dce5d85eb778b43a0af76c42eb217ac49ca Mon Sep 17 00:00:00 2001 From: Josh Hinnebusch Date: Thu, 2 Jan 2020 17:35:05 -0500 Subject: [Keyboard] adjust h87a RGB settings (#7751) * update VID and PID for h87a * update default RGB underglow pattern * update comments * Update keyboards/hineybush/h87a/h87a.c * Update keyboards/hineybush/h87a/h87a.c * Update keyboards/hineybush/h87a/h87a.c --- keyboards/hineybush/h87a/h87a.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'keyboards/hineybush/h87a/h87a.c') diff --git a/keyboards/hineybush/h87a/h87a.c b/keyboards/hineybush/h87a/h87a.c index 2ce469b692..c3bb890806 100644 --- a/keyboards/hineybush/h87a/h87a.c +++ b/keyboards/hineybush/h87a/h87a.c @@ -42,4 +42,11 @@ void led_set_kb(uint8_t usb_led) { led_set_user(usb_led); } - +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(); +} -- cgit v1.2.3