diff --git a/keyboards/keychron/x3/ansi/red/config.h b/keyboards/keychron/x3/ansi/red/config.h index acc49e001a..8225cbfc45 100755 --- a/keyboards/keychron/x3/ansi/red/config.h +++ b/keyboards/keychron/x3/ansi/red/config.h @@ -22,7 +22,7 @@ # define DRIVER_ADDR_1 0b1110100 /* RGB Matrix Configuration */ -# define LED_MATRIX_LED_COUNT 104 +# define LED_MATRIX_LED_COUNT (104 + 12) /* Scan phase of led driver set as MSKPHASE_9CHANNEL(defined as 0x03 in CKLED2001.h) */ # define PHASE_CHANNEL MSKPHASE_9CHANNEL diff --git a/keyboards/keychron/x3/ansi/red/info.json b/keyboards/keychron/x3/ansi/red/info.json index bdd0d149eb..6dfa07702a 100755 --- a/keyboards/keychron/x3/ansi/red/info.json +++ b/keyboards/keychron/x3/ansi/red/info.json @@ -43,6 +43,7 @@ {"matrix":[0,14], "flags":1, "x":159, "y":0}, {"matrix":[0,15], "flags":1, "x":169, "y":0}, {"matrix":[0,16], "flags":1, "x":180, "y":0}, + {"matrix":[1,0], "flags":1, "x":0, "y":16}, {"matrix":[1,1], "flags":4, "x":10, "y":16}, {"matrix":[1,2], "flags":4, "x":21, "y":16}, @@ -64,6 +65,7 @@ {"matrix":[1,18], "flags":4, "x":203, "y":16}, {"matrix":[1,19], "flags":4, "x":214, "y":16}, {"matrix":[1,20], "flags":4, "x":224, "y":16}, + {"matrix":[2,0], "flags":1, "x":3, "y":28}, {"matrix":[2,1], "flags":4, "x":16, "y":28}, {"matrix":[2,2], "flags":4, "x":26, "y":28}, @@ -85,6 +87,7 @@ {"matrix":[2,18], "flags":4, "x":203, "y":28}, {"matrix":[2,19], "flags":4, "x":214, "y":28}, {"matrix":[2,20], "flags":4, "x":224, "y":34}, + {"matrix":[3,0], "flags":1, "x":4, "y":40}, {"matrix":[3,1], "flags":4, "x":18, "y":40}, {"matrix":[3,2], "flags":4, "x":29, "y":40}, @@ -101,6 +104,7 @@ {"matrix":[3,17], "flags":4, "x":193, "y":40}, {"matrix":[3,18], "flags":4, "x":203, "y":40}, {"matrix":[3,19], "flags":4, "x":214, "y":40}, + {"matrix":[4,0], "flags":1, "x":7, "y":52}, {"matrix":[4,2], "flags":4, "x":23, "y":52}, {"matrix":[4,3], "flags":4, "x":34, "y":52}, @@ -118,6 +122,7 @@ {"matrix":[4,18], "flags":4, "x":203, "y":52}, {"matrix":[4,19], "flags":4, "x":214, "y":52}, {"matrix":[4,20], "flags":4, "x":224, "y":58}, + {"matrix":[5,0], "flags":1, "x":1, "y":64}, {"matrix":[5,1], "flags":1, "x":14, "y":64}, {"matrix":[5,2], "flags":1, "x":27, "y":64}, @@ -130,7 +135,20 @@ {"matrix":[5,15], "flags":1, "x":169, "y":64}, {"matrix":[5,16], "flags":1, "x":180, "y":64}, {"matrix":[5,17], "flags":4, "x":198, "y":64}, - {"matrix":[5,18], "flags":4, "x":214, "y":64} + {"matrix":[5,18], "flags":4, "x":214, "y":64}, + + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4}, + {"flags":4} ] } } diff --git a/keyboards/keychron/x3/ansi/red/red.c b/keyboards/keychron/x3/ansi/red/red.c index 4c3123feaa..550326840d 100755 --- a/keyboards/keychron/x3/ansi/red/red.c +++ b/keyboards/keychron/x3/ansi/red/red.c @@ -132,5 +132,18 @@ const ckled2001_led PROGMEM g_ckled2001_leds[LED_MATRIX_LED_COUNT] = { {0, G_13}, {0, G_11}, {0, G_12}, + + {0, I_1 }, + {0, I_2 }, + {0, I_3 }, + {0, I_4 }, + {0, I_5 }, + {0, I_6 }, + {0, I_7 }, + {0, I_8 }, + {0, I_9 }, + {0, I_10}, + {0, I_11}, + {0, I_12}, }; #endif