From 80b09fb193271a4c25054dd6e2e484e5602f09b2 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Wed, 3 Aug 2022 23:05:51 +0200 Subject: [PATCH] fix 0 key rgb matrix position --- keyboards/t9/rules.mk | 18 +++++++++--------- keyboards/t9/t9.c | 15 ++++++++------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/keyboards/t9/rules.mk b/keyboards/t9/rules.mk index 7bffb6a409..d6bcc6fe01 100644 --- a/keyboards/t9/rules.mk +++ b/keyboards/t9/rules.mk @@ -7,15 +7,15 @@ BOOTLOADER = atmel-dfu # Build Options # change yes to no to disable -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +NKRO_ENABLE = no # Enable N-Key Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output LTO_ENABLE = yes SPACE_CADET_ENABLE = no GRAVE_ESC_ENABLE = no diff --git a/keyboards/t9/t9.c b/keyboards/t9/t9.c index d8f0b2305d..fed03ded19 100644 --- a/keyboards/t9/t9.c +++ b/keyboards/t9/t9.c @@ -2,18 +2,19 @@ led_config_t g_led_config = { { // Key Matrix to LED Index - { 21, 20, 19, 18, }, - { 17, 16, 15, 14, }, - { 13, 12, 11, NO_LED }, - { 10, 9, 8, 7 }, - { 6, 5, 4, NO_LED }, - { 3, NO_LED, 1, 0 } + { 20, 19, 18, 17, }, + { 16, 15, 14, 13, }, + { 12, 11, 10, NO_LED }, + { 9, 8, 7, 6 }, + { 5, 4, 3, NO_LED }, + { 2, NO_LED, 1, 0 } }, { // LED Index to Physical Position // x = 224 / (NUMBER_OF_COLS - 1) * COL_POSITION // y = 64 / (NUMBER_OF_ROWS - 1) * ROW_POSITION - { 224, 58 }, { 149, 64 }, { 112, 64 }, { 149, 51 }, { 75, 51 }, { 0, 51 }, { 224, 32 }, { 149, 38 }, { 75, 38 }, { 0, 38 }, { 149, 26 }, { 75, 26 }, { 0, 26 }, { 224, 13 }, { 149, 13 }, { 75, 13 }, { 0, 13 }, { 224, 0 }, { 149, 0 }, { 75, 0 }, { 0, 0 } + { 224, 58 }, { 149, 64 }, { 37, 64 }, { 149, 51 }, { 75, 51 }, { 0, 51 }, { 224, 32 }, { 149, 38 }, { 75, 38 }, { 0, 38 }, { 149, 26 }, { 75, 26 }, { 0, 26 }, { 224, 13 }, { 149, 13 }, { 75, 13 }, { 0, 13 }, { 224, 0 }, { 149, 0 }, { 75, 0 }, { 0, 0 } }, { // LED Index to Flag 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 } }; +