summaryrefslogtreecommitdiff
path: root/keyboards/xelus/pachi/rgb/rev2/rev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xelus/pachi/rgb/rev2/rev2.c')
-rw-r--r--keyboards/xelus/pachi/rgb/rev2/rev2.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/keyboards/xelus/pachi/rgb/rev2/rev2.c b/keyboards/xelus/pachi/rgb/rev2/rev2.c
index f8ca9ec53e..c35d940ed4 100644
--- a/keyboards/xelus/pachi/rgb/rev2/rev2.c
+++ b/keyboards/xelus/pachi/rgb/rev2/rev2.c
@@ -22,7 +22,7 @@ void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); }
#ifdef RGB_MATRIX_ENABLE
#include "i2c_master.h"
#include "drivers/led/issi/is31fl3741.h"
-const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
+const is31_led PROGMEM g_is31_leds[RGB_MATRIX_LED_COUNT] = {
/* Refer to IS31 manual for these locations
* driver
* | R location
@@ -158,18 +158,18 @@ const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
__attribute__ ((weak))
led_config_t g_led_config = { {
- { -1+00+3 , -1+26+3 , -1+52+3 , -1+78+3 , -1+104+3, -1+13+1 , -1+39+1 , -1+65+1 , -1+91+1 },
- { NO_LED , -1+39+3 , -1+65+3 , -1+91+3 , -1+00+1 , -1+26+1 , -1+52+1 , -1+78+1 , NO_LED },
- { -1+00+4 , -1+26+4 , -1+52+4 , -1+78+4 , -1+104+4, -1+13+2 , -1+39+2 , -1+65+2 , -1+91+2 },
- { -1+13+4 , -1+39+4 , -1+65+4 , -1+91+4 , -1+00+2 , -1+26+2 , -1+52+2 , -1+78+2 , NO_LED },
- { -1+00+6 , -1+26+6 , -1+52+6 , -1+78+6 , -1+104+6, -1+13+5 , -1+39+5 , -1+65+5 , -1+91+5 },
- { -1+13+6 , -1+39+6 , -1+65+6 , -1+91+6 , -1+00+5 , -1+26+5 , -1+52+5 , -1+78+5 , NO_LED },
- { -1+00+8 , -1+26+8 , -1+52+8 , -1+78+8 , -1+104+8, -1+13+7 , NO_LED , NO_LED , NO_LED },
- { -1+13+8 , -1+39+8 , -1+65+8 , -1+91+8 , -1+00+7 , -1+26+7 , -1+52+7 , NO_LED , NO_LED },
- { -1+00+11, -1+26+11, -1+52+11, -1+78+11,-1+104+11, -1+13+10, -1+52+10, NO_LED , NO_LED },
- { -1+13+11, -1+39+11, -1+65+11, -1+91+11, -1+00+10, NO_LED , NO_LED , -1+78+10, NO_LED },
- { -1+00+9 , -1+26+9 , NO_LED , NO_LED , NO_LED , -1+13+12, -1+39+12, -1+65+12, -1+91+12 },
- { -1+13+9 , NO_LED , -1+65+9 , NO_LED , NO_LED , NO_LED , -1+52+12, -1+78+12, NO_LED }
+ { 2, 28, 54, 80, 106, 13, 39, 65, 91 },
+ { NO_LED, 41, 67, 93, 0, 26, 52, 78, NO_LED },
+ { 3, 29, 55, 81, 107, 14, 40, 66, 92 },
+ { 16, 42, 68, 94, 1, 27, 53, 79, NO_LED },
+ { 5, 31, 57, 83, 109, 17, 43, 69, 95 },
+ { 18, 44, 70, 96, 4, 31, 56, 82, NO_LED },
+ { 7, 33, 59, 85, 111, 19, NO_LED, NO_LED, NO_LED },
+ { 20, 46, 72, 98, 6, 32, 58, NO_LED, NO_LED },
+ { 10, 36, 62, 88, 114, 22, 61, NO_LED, NO_LED },
+ { 23, 49, 75, 101, 9, NO_LED, NO_LED, 87, NO_LED },
+ { 8, 34, NO_LED, NO_LED, NO_LED, 24, 50, 76, 102 },
+ { 21, NO_LED, 73, NO_LED, NO_LED, NO_LED, 63, 89, NO_LED }
}, {
{123, 0}, {117, 15}, {0 , 0}, {0 , 15}, {123, 27}, {3 , 27}, {127, 40}, {5 , 40}, {2 , 64}, {133, 52}, {8 , 52}, {131, 64}, {255,255},
{143, 0}, {130, 15}, {255,255}, {13 , 15}, {136, 27}, {19 , 27}, {140, 40}, {23 , 40}, {18 , 64}, {146, 52}, {29 , 52}, {148, 64}, {255,255},