Add per keyboard configuration to keep QMK main clean

This commit is contained in:
harvey 2024-10-18 16:50:11 +02:00
parent 94038f6087
commit 27aeec56b9
7 changed files with 199 additions and 170 deletions

View file

@ -91,4 +91,42 @@ report_mouse_t pointing_device_task_combined_kb(report_mouse_t left_report, repo
left_report.y = -y;
}
return pointing_device_task_combined_user(left_report, right_report);
}
}
// Kyria
#if defined(PRODUCT_ID) && PRODUCT_ID == 0x7FCE
#ifdef RGB_MATRIX_ENABLE
#include "rgb_matrix.h"
led_config_t g_led_config = {
{
{ NO_LED, 25, 26, 27, 28, 29, 30 },
{ NO_LED, 19, 20, 21, 22, 23, 24 },
{ 11, 13, 14, 15, 16, 17, 18 },
{ 6, 8, 9, 12, 10, 7, NO_LED },
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
{ NO_LED, 56, 57, 58, 59, 60, 61 },
{ NO_LED, 50, 51, 52, 53, 54, 55 },
{ 42, 44, 45, 46, 47, 48, 49 },
{ 37, 39, 40, 43, 41, 38, NO_LED },
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
},
{ {75, 2}, {50, 1}, {14, 4}, {25, 45}, {58, 49}, {94, 53}, {94, 64}, {79, 60}, {65, 53}, {51, 49}, {36, 49}, {101, 49}, {87, 45}, {72, 38}, {58, 34}, {43, 30}, {29, 34}, {14, 41}, {0, 41}, {72, 23}, {58, 19}, {43, 15}, {29, 19}, {14, 26}, {0, 26}, {72, 8}, {58, 4}, {43, 0}, {29, 4}, {14, 11}, {0, 11}, {149, 2}, {174, 1}, {210, 4}, {199, 45}, {166, 49}, {130, 53}, {130, 64}, {145, 60}, {159, 53}, {173, 49}, {188, 49}, {123, 49}, {137, 45}, {152, 38}, {166, 34}, {181, 30}, {195, 34}, {210, 41}, {224, 41}, {152, 23}, {166, 19}, {181, 15}, {195, 19}, {210, 26}, {224, 26}, {152, 8}, {166, 4}, {181, 0}, {195, 4}, {210, 11}, {224, 11} },
{ 2, 2, 2, 2, 2, 2, 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, 2, 2, 2, 2, 2, 2, 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 },
};
#endif
#ifdef MATRIX_MASKED
const matrix_row_t matrix_mask[] = {
0b1111110,
0b1111110,
0b1111111,
0b0111111,
0b0011111,
0b1111110,
0b1111110,
0b1111111,
0b0111111,
0b0011111,
};
#endif
#endif