diff --git a/keyboard/flanck/FLASH.bin b/keyboard/flanck/FLASH.bin index 82eded4e..b9c41be5 100644 Binary files a/keyboard/flanck/FLASH.bin and b/keyboard/flanck/FLASH.bin differ diff --git a/keyboard/flanck/config.h b/keyboard/flanck/config.h index a594b445..b90b6cd6 100644 --- a/keyboard/flanck/config.h +++ b/keyboard/flanck/config.h @@ -51,7 +51,7 @@ along with this program. If not, see . #define ws2812_PORTREG PORTD #define ws2812_DDRREG DDRD #define ws2812_pin PD2 -#define RGBLED_NUM 4 // Number of LEDs +#define RGBLED_NUM 5 // Number of LEDs #ifndef RGBLIGHT_HUE_STEP #define RGBLIGHT_HUE_STEP 10 #endif diff --git a/keyboard/flanck/flanck.bin b/keyboard/flanck/flanck.bin index 82eded4e..b9c41be5 100644 Binary files a/keyboard/flanck/flanck.bin and b/keyboard/flanck/flanck.bin differ diff --git a/keyboard/flanck/keymap_flanck.c b/keyboard/flanck/keymap_flanck.c index 6847dfa4..98bdcdc9 100644 --- a/keyboard/flanck/keymap_flanck.c +++ b/keyboard/flanck/keymap_flanck.c @@ -13,14 +13,14 @@ KEYMAP( GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, DELETE, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, MINS, EQL, LBRC, RBRC, BSLS, TRNS, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, TRNS, - TRNS, TRNS, TRNS, SLSH, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END + TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END ), KEYMAP( FN4, FN5, FN6, FN7, FN8, FN9, FN10, FN11, FN12, FN13, FN14, DELETE, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, TRNS, FN23, FN24, FN25, FN26, FN27, TRNS, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, TRNS, - TRNS, TRNS, TRNS, SLSH, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END + TRNS, TRNS, TRNS, CAPS, TRNS, TRNS, TRNS, TRNS, HOME, PGDN, PGUP, END ), KEYMAP( /* Tab */ diff --git a/keyboard/flanck/led.c b/keyboard/flanck/led.c index 58ef4eb5..2966b8b3 100644 --- a/keyboard/flanck/led.c +++ b/keyboard/flanck/led.c @@ -22,5 +22,17 @@ along with this program. If not, see . void led_set(uint8_t usb_led) { - -} + if (usb_led & (1<