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 | |
| parent | dd04079098a17e22693e83de227001fe548c1606 (diff) | |
| download | qmk_firmware-61173dce5d85eb778b43a0af76c42eb217ac49ca.tar.gz qmk_firmware-61173dce5d85eb778b43a0af76c42eb217ac49ca.zip | |
[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')
| -rw-r--r-- | keyboards/hineybush/h87a/config.h | 1 | ||||
| -rw-r--r-- | keyboards/hineybush/h87a/h87a.c | 9 | ||||
| -rw-r--r-- | keyboards/hineybush/h87a/rules.mk | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/keyboards/hineybush/h87a/config.h b/keyboards/hineybush/h87a/config.h index 5a1e6d366..f9d8f9766 100644 --- a/keyboards/hineybush/h87a/config.h +++ b/keyboards/hineybush/h87a/config.h | |||
| @@ -72,5 +72,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 72 | #define RGBLIGHT_HUE_STEP 8 | 72 | #define RGBLIGHT_HUE_STEP 8 |
| 73 | #define RGBLIGHT_SAT_STEP 8 | 73 | #define RGBLIGHT_SAT_STEP 8 |
| 74 | #define RGBLIGHT_VAL_STEP 8 | 74 | #define RGBLIGHT_VAL_STEP 8 |
| 75 | #define RGBLIGHT_LIMIT_VAL 200 | ||
| 75 | #define RGBLIGHT_SLEEP // RGB will turn off when PC is put to sleep | 76 | #define RGBLIGHT_SLEEP // RGB will turn off when PC is put to sleep |
| 76 | #endif | 77 | #endif |
diff --git a/keyboards/hineybush/h87a/h87a.c b/keyboards/hineybush/h87a/h87a.c index 2ce469b69..c3bb89080 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) { | |||
| 42 | led_set_user(usb_led); | 42 | led_set_user(usb_led); |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | 45 | void eeconfig_init_kb(void) { // EEPROM is getting reset! | |
| 46 | rgblight_enable(); // Enable RGB by default | ||
| 47 | rgblight_sethsv(0, 255, 128); // Set default HSV - red hue, full saturation, medium brightness | ||
| 48 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 49 | |||
| 50 | eeconfig_update_kb(0); | ||
| 51 | eeconfig_init_user(); | ||
| 52 | } | ||
diff --git a/keyboards/hineybush/h87a/rules.mk b/keyboards/hineybush/h87a/rules.mk index 653ec1f9a..2c5bc96c6 100644 --- a/keyboards/hineybush/h87a/rules.mk +++ b/keyboards/hineybush/h87a/rules.mk | |||
| @@ -14,7 +14,7 @@ BOOTLOADER = atmel-dfu | |||
| 14 | # Build Options | 14 | # Build Options |
| 15 | # change yes to no to disable | 15 | # change yes to no to disable |
| 16 | # | 16 | # |
| 17 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) |
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | 18 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 19 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 20 | CONSOLE_ENABLE = no # Console for debug(+400) | 20 | CONSOLE_ENABLE = no # Console for debug(+400) |
