summaryrefslogtreecommitdiff
path: root/keyboards/hineybush/hbcp/keymaps/hiney
diff options
context:
space:
mode:
authorJosh Hinnebusch <joshhinnebusch@gmail.com>2019-11-06 01:30:13 -0500
committerDrashna Jaelre <drashna@live.com>2019-11-05 22:30:13 -0800
commit002adadf58fa7ad05edae7036bcf638251170894 (patch)
tree0d30e4aa27cadedb6c943de127602b7f2feb42a6 /keyboards/hineybush/hbcp/keymaps/hiney
parent95309e9af5c58cd0f468ac1fadfcef3ff52aaa6a (diff)
[Keyboard] update hbcp keymaps (#7275)
* update hbcp keymaps * update hbcp info.json file * update readme * update hbcp "hiney" keymap
Diffstat (limited to 'keyboards/hineybush/hbcp/keymaps/hiney')
-rw-r--r--keyboards/hineybush/hbcp/keymaps/hiney/config.h16
-rw-r--r--keyboards/hineybush/hbcp/keymaps/hiney/keymap.c6
2 files changed, 19 insertions, 3 deletions
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]);
}