diff --git a/keyboards/fingerpunch/ffkb/rp/config.h b/keyboards/fingerpunch/ffkb/rp/config.h index f1809c70ee..fe997721f4 100644 --- a/keyboards/fingerpunch/ffkb/rp/config.h +++ b/keyboards/fingerpunch/ffkb/rp/config.h @@ -29,7 +29,10 @@ along with this program. If not, see . #ifdef RGBLIGHT_ENABLE // Use twinkle as the default rgb mode for the layers #define DEFAULT_RGB_LAYER_MODE RGBLIGHT_MODE_TWINKLE+2 + // 6 column rgb config #define RGBLED_NUM 42 + // 5 column rgb config + // #define RGBLED_NUM 36 #define RGBLIGHT_HUE_STEP 16 #define RGBLIGHT_SAT_STEP 16 #define RGBLIGHT_VAL_STEP 16 @@ -47,7 +50,10 @@ along with this program. If not, see . #endif #ifdef RGB_MATRIX_ENABLE + // 6 column rgb config #define RGB_MATRIX_LED_COUNT 42 + // 5 column rgb config + // #define RGB_MATRIX_LED_COUNT 36 #define RGB_MATRIX_CENTER {100, 32} #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 /* The maximum brightness level for RGB_MATRIX */ #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS // Sets the default brightness value, if none has been set diff --git a/keyboards/fingerpunch/ffkb/rp/v3/v3.c b/keyboards/fingerpunch/ffkb/rp/v3/v3.c index 4dd8e33396..b1fa41556f 100644 --- a/keyboards/fingerpunch/ffkb/rp/v3/v3.c +++ b/keyboards/fingerpunch/ffkb/rp/v3/v3.c @@ -16,6 +16,7 @@ #include "v3.h" #ifdef RGB_MATRIX_ENABLE +// 6 column rgb config led_config_t g_led_config = { { { 3, 2, 8, 14, 9, 15, 26, 27 }, { 4, 1, 7, 13, 10, 16, 25, 28 }, @@ -35,4 +36,26 @@ led_config_t g_led_config = { { 4, 4, 4, 1, 1, 1 } }; -#endif +/* +// 5 column rgb config +led_config_t g_led_config = { { + { 0, NO_LED, 5, 11, 6, 12, 23, 24 }, + { 1, NO_LED, 4, 10, 7, 13, 22, 25 }, + { 2, NO_LED, 3, 9, 8, 14, 21, 26 }, + { NO_LED, NO_LED, 28, 30, 32, 34, 33, NO_LED }, + { NO_LED, NO_LED, 27, 31, 29, 35, NO_LED, NO_LED }, + { NO_LED, NO_LED, 20, 16, 15, 17, 18, 19 } +}, { + {25,4},{21,18},{17,31},{35,26},{39,12},{43,0},{60,0},{56,12},{52,26}, + {66,33},{70,20},{74,6},{89,12},{85,25},{81,38},{61,50},{77,55},{93,63},{129,63},{145,55},{161,50}, + {141,38},{137,25},{133,12},{148,6},{152,20},{156,33},{170,26},{166,12},{162,0},{179,0},{183,12},{187,26}, + {205,31},{201,18},{197,4} +}, { + 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 4, 4, 4 +} }; +*/ + +#endif \ No newline at end of file