From 002adadf58fa7ad05edae7036bcf638251170894 Mon Sep 17 00:00:00 2001 From: Josh Hinnebusch Date: Wed, 6 Nov 2019 01:30:13 -0500 Subject: [Keyboard] update hbcp keymaps (#7275) * update hbcp keymaps * update hbcp info.json file * update readme * update hbcp "hiney" keymap --- keyboards/hineybush/hbcp/keymaps/hiney/config.h | 16 ++++++++++++++++ keyboards/hineybush/hbcp/keymaps/hiney/keymap.c | 6 +++--- 2 files changed, 19 insertions(+), 3 deletions(-) (limited to 'keyboards/hineybush/hbcp/keymaps/hiney') diff --git a/keyboards/hineybush/hbcp/keymaps/hiney/config.h b/keyboards/hineybush/hbcp/keymaps/hiney/config.h index 2d8bbf3a73..b864d6a635 100644 --- a/keyboards/hineybush/hbcp/keymaps/hiney/config.h +++ b/keyboards/hineybush/hbcp/keymaps/hiney/config.h @@ -22,6 +22,22 @@ #define HSV_SOFT_PINK 255, 110, 100 // Define custom "soft pink" color #endif +#ifndef HSV_SOFT_WHITE + #define HSV_SOFT_WHITE 0, 0, 90 // Define custom "soft white" color +#endif + +#ifndef HSV_WARM_WHITE + #define HSV_WARM_WHITE 41, 105, 90 // Define custom "warm white" color +#endif + +#ifndef HSV_SOFT_RED + #define HSV_SOFT_RED 0, 240, 160 // Define custom "soft red" color +#endif + +#ifndef HSV_SOFT_BLUE + #define HSV_SOFT_BLUE 159, 180, 160 // Define custom "soft blue" color +#endif + #ifndef HSV_BLACK #define HSV_BLACK 0, 0, 0 // Define 'black' color, more like 'LED off' (H, S, V) #endif diff --git a/keyboards/hineybush/hbcp/keymaps/hiney/keymap.c b/keyboards/hineybush/hbcp/keymaps/hiney/keymap.c index c3186cbc43..bcfb9ed5bc 100644 --- a/keyboards/hineybush/hbcp/keymaps/hiney/keymap.c +++ b/keyboards/hineybush/hbcp/keymaps/hiney/keymap.c @@ -86,17 +86,17 @@ void matrix_scan_user(void) { // The first three LEDs are used as indicators for CAPS_LOCK, NUM_LOCK and SCROLL_LOCK. void led_set_user(uint8_t usb_led) { if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { - sethsv_raw(HSV_SOFT_PINK, (LED_TYPE *)&led[0]); + sethsv_raw(HSV_SOFT_RED, (LED_TYPE *)&led[0]); } else { sethsv(HSV_BLACK, (LED_TYPE *)&led[0]); } if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) { - sethsv_raw(HSV_SOFT_PINK, (LED_TYPE *)&led[1]); + sethsv_raw(HSV_WARM_WHITE, (LED_TYPE *)&led[1]); } else { sethsv(HSV_BLACK, (LED_TYPE *)&led[1]); } if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) { - sethsv_raw(HSV_SOFT_PINK, (LED_TYPE *)&led[2]); + sethsv_raw(HSV_SOFT_BLUE, (LED_TYPE *)&led[2]); } else { sethsv(HSV_BLACK, (LED_TYPE *)&led[2]); } -- cgit v1.2.3