summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/latincompass/latinpad/latinpad.c20
-rw-r--r--keyboards/machkeyboards/mach3/mach3.c6
2 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/latincompass/latinpad/latinpad.c b/keyboards/latincompass/latinpad/latinpad.c
index 85f8eba7d5..51826bd6a0 100644
--- a/keyboards/latincompass/latinpad/latinpad.c
+++ b/keyboards/latincompass/latinpad/latinpad.c
@@ -16,25 +16,23 @@
#include "latinpad.h"
#ifdef RGB_MATRIX_ENABLE
- led_config_t g_led_config = {
- {
- { 1, 2, 3, 4 },
- { 5, 6, 7, 8 },
- { 9, 10, 11, 12 },
- { 13, 14, 15, 16 },
- { 17, 18, NO_LED, NO_LED }
- },{
+led_config_t g_led_config = { {
+ { 0, 1, 2, 3 },
+ { 4, 5, 6, 7 },
+ { 8, 9, 10, 11 },
+ { 12, 13, 14, 15 },
+ { 16, 17, NO_LED, NO_LED }
+},{
{ 74, 21 }, { 37, 21 }, { 24, 21 }, { 18, 21 },
{ 74, 10 }, { 37, 10 }, { 28, 10 }, { 18, 10 },
{ 74, 7 }, { 37, 7 }, { 20, 7 }, { 18, 7 },
{ 74, 5 }, { 37, 5 }, { 22, 5 }, { 18, 5 },
{ 74, 5 }, { 37, 5 },
- },{
+},{
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1
- }
- };
+} };
#endif
diff --git a/keyboards/machkeyboards/mach3/mach3.c b/keyboards/machkeyboards/mach3/mach3.c
index 9769d02a53..509aac9fe5 100644
--- a/keyboards/machkeyboards/mach3/mach3.c
+++ b/keyboards/machkeyboards/mach3/mach3.c
@@ -19,8 +19,8 @@
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ 0, 1, 2 },
- { 7, 6, 5 },
- { 8, 9, 10 },
+ { 5, 4, 3 },
+ { 6, 7, 8 },
}, {
// LED Index to Physical Position
{ 0, 0 }, { 112, 0 }, { 224, 0 },
@@ -39,4 +39,4 @@ void keyboard_pre_init_kb(void) {
writePinHigh(F5);
keyboard_pre_init_user();
-} \ No newline at end of file
+}