diff options
author | Josh Hinnebusch <joshhinnebusch@gmail.com> | 2020-01-02 17:35:05 -0500 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-01-02 14:35:05 -0800 |
commit | 61173dce5d85eb778b43a0af76c42eb217ac49ca (patch) | |
tree | 3b4e0b367f8495bcfbaf18f3a79b9430fa169f25 /keyboards/hineybush/h87a/h87a.c | |
parent | dd04079098a17e22693e83de227001fe548c1606 (diff) |
[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
Diffstat (limited to 'keyboards/hineybush/h87a/h87a.c')
-rw-r--r-- | keyboards/hineybush/h87a/h87a.c | 9 |
1 files changed, 8 insertions, 1 deletions
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(); +} |