[Keyboard] update hbcp keymaps (#7275)
* update hbcp keymaps * update hbcp info.json file * update readme * update hbcp "hiney" keymap
This commit is contained in:
committed by
Drashna Jaelre
parent
95309e9af5
commit
002adadf58
@@ -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
|
||||
|
||||
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user