qmk-keychron-q3-colemak-dh/keyboards/velocifire/sun20pro/sun20pro.c
FansForFlorida 2ee9afb848
Add support for Velocifire Sun20pro numpad (#290)
* Added support for Velocifire Sun20pro numpad

* Cleaned up formatting

* Added default keymap
2022-11-29 21:35:21 -06:00

31 lines
711 B
C

#include "sun20pro.h"
#ifdef RGB_MATRIX_ENABLE
#define __ NO_LED
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ 4, 8, 13, 16 },
{ 3, 7, 12, __ },
{ 2, 6, 11, 15 },
{ 1, 5, 10, __ },
{ 0, __, 9, 14 }
}, {
// LED Index to Physical Position
{0,0}, {56,0}, {112,0}, {168,0},
{0,16}, {56,16}, {112,16},
{0,32}, {56,32}, {112,32}, {168,24},
{0,48}, {56,48}, {112,48},
{0,64}, {112,64}, {168,56},
{224,8}, {224,16}, {224,24}, {224,32}, {224,40}, {224,48}, {224,56}, {224,64}
}, {
// LED Index to Flag
4, 4, 4, 4,
4, 4, 4,
4, 4, 4, 4,
4, 4, 4,
4, 4, 4,
2, 2, 2, 2, 2, 2, 2, 2
} };
#endif