fix 0 key rgb matrix position
This commit is contained in:
parent
d098c4a7c6
commit
80b09fb193
2 changed files with 17 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
} };
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue