keychron_qmk_firmware/keyboards/rgbkb/zygomorph/rev1/rev1.c
Ryan 4869b8061c
Move ortho & numpad layouts to data driven (#20183)
Co-authored-by: Nick Brassel <nick@tzarc.org>
2023-03-29 15:54:34 +11:00

44 lines
1.8 KiB
C

#include "quantum.h"
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
{ 5, 4, 3, 2, 1, 0 },
{ 11, 10, 9, 8, 7, 6 },
{ 17, 16, 15, 14, 13, 12 },
{ 23, 22, 21, 20, 19, 18 },
{ 29, 28, 27, 26, 25, 24 },
{ 35, 34, 33, 32, 31, 30 },
{ 41, 40, 39, 38, 37, 36 },
{ 47, 46, 45, 44, 43, 42 },
{ 53, 52, 51, 50, 49, 48 },
{ 59, 58, 57, 56, 55, 54 }
}, {
// Left Hand
{ 102, 0 }, { 81, 0 }, { 61, 0 }, { 41, 0 }, { 20, 0 }, { 0, 0 },
{ 102, 16 }, { 81, 16 }, { 61, 16 }, { 41, 16 }, { 20, 16 }, { 0, 16 },
{ 102, 32 }, { 81, 32 }, { 61, 32 }, { 41, 32 }, { 20, 32 }, { 0, 32 },
{ 102, 48 }, { 81, 48 }, { 61, 48 }, { 41, 48 }, { 20, 48 }, { 0, 48 },
{ 102, 64 }, { 81, 64 }, { 61, 64 }, { 41, 64 }, { 20, 64 }, { 0, 64 },
// Right Hand
{ 224, 0 }, { 204, 0 }, { 183, 0 }, { 163, 0 }, { 143, 0 }, { 122, 0 },
{ 224, 16 }, { 204, 16 }, { 183, 16 }, { 163, 16 }, { 143, 16 }, { 122, 16 },
{ 224, 32 }, { 204, 32 }, { 183, 32 }, { 163, 32 }, { 143, 32 }, { 122, 32 },
{ 224, 48 }, { 204, 48 }, { 183, 48 }, { 163, 48 }, { 143, 48 }, { 122, 48 },
{ 224, 64 }, { 204, 64 }, { 183, 64 }, { 163, 64 }, { 143, 64 }, { 122, 64 }
}, {
// Left Hand
4, 4, 4, 4, 4, 1,
4, 4, 4, 4, 4, 1,
4, 4, 4, 4, 4, 1,
4, 4, 4, 4, 4, 1,
1, 1, 1, 1, 1, 1,
// Right Hand
4, 4, 4, 4, 4, 4,
1, 4, 4, 4, 4, 4,
1, 4, 4, 4, 4, 4,
1, 4, 4, 4, 4, 4,
1, 1, 1, 1, 1, 1
} };
#endif