45 lines
1.5 KiB
C
45 lines
1.5 KiB
C
#include "rev1.h"
|
|
|
|
#ifdef RGB_MATRIX_ENABLE
|
|
|
|
led_config_t g_led_config = {
|
|
{
|
|
{ 23, 19, 18, 13, 12, 5, 4 },
|
|
{ 22, 20, 17, 14, 11, 6, 3 },
|
|
{ NO_LED, 21, 16, 15, 10, 7, 2 },
|
|
{ NO_LED, NO_LED, NO_LED, NO_LED, 9, 8, 1 },
|
|
{ 46, 42, 41, 36, 35, 28, 27 },
|
|
{ 45, 43, 40, 37, 34, 29, 26 },
|
|
{ NO_LED, 44, 39, 38, 33, 30, 25 },
|
|
{ NO_LED, NO_LED, NO_LED, NO_LED, 32, 31, 24 },
|
|
},
|
|
{
|
|
{ 110, 63 }, { 102, 46 }, { 102, 25 }, { 102, 4 }, { 85, 2 }, { 85, 23 }, { 85, 44 },
|
|
{ 98, 63 }, { 76, 63 }, { 68, 42 }, { 68, 21 }, { 68, 0 }, { 51, 5 }, { 51, 26 },
|
|
{ 51, 47 }, { 34, 54 }, { 34, 33 }, { 34, 12 }, { 17, 15 }, { 17, 36 }, { 17, 57 },
|
|
{ 0, 51 }, { 0, 30 }, { 111, 63 }, { 119, 46 }, { 119, 25 }, { 119, 4 }, { 136, 2 },
|
|
{ 136, 23 }, { 136, 44 }, { 123, 63 }, { 153, 63 }, { 153, 42 }, { 153, 21 }, { 153, 0 },
|
|
{ 170, 5 }, { 170, 26 }, { 170, 47 }, { 187, 54 }, { 187, 33 }, { 187, 12 }, { 204, 15 },
|
|
{ 204, 36 }, { 204, 57 }, { 221, 51 }, { 221, 30 }
|
|
},
|
|
{
|
|
4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4, 4, 4, 4,
|
|
4, 4, 4, 4,
|
|
}
|
|
};
|
|
|
|
void suspend_power_down_kb(void) {
|
|
rgb_matrix_set_suspend_state(true);
|
|
suspend_power_down_user();
|
|
}
|
|
|
|
void suspend_wakeup_init_kb(void) {
|
|
rgb_matrix_set_suspend_state(false);
|
|
suspend_wakeup_init_user();
|
|
}
|
|
#endif |