diff options
Diffstat (limited to 'keyboards/bastardkb/skeletyl/skeletyl.c')
| -rw-r--r-- | keyboards/bastardkb/skeletyl/skeletyl.c | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/keyboards/bastardkb/skeletyl/skeletyl.c b/keyboards/bastardkb/skeletyl/skeletyl.c new file mode 100644 index 000000000..057465b4a --- /dev/null +++ b/keyboards/bastardkb/skeletyl/skeletyl.c | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com> | ||
| 3 | * | ||
| 4 | * This program is free software: you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation, either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License | ||
| 15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #include "skeletyl.h" | ||
| 19 | |||
| 20 | #ifdef RGB_MATRIX_ENABLE | ||
| 21 | led_config_t g_led_config = { { | ||
| 22 | // left | ||
| 23 | { 0, 5, 6, 11, 12 }, | ||
| 24 | { 1, 4, 7, 10, 13 }, | ||
| 25 | { 2, 3, 8, 9, 14 }, | ||
| 26 | { 15, NO_LED, 16, 17, NO_LED }, | ||
| 27 | // right | ||
| 28 | { 18, 23, 24, 29, 30 }, | ||
| 29 | { 19, 22, 25, 28, 31 }, | ||
| 30 | { 20, 21, 26, 27, 32 }, | ||
| 31 | { 33, NO_LED, 34, 35, NO_LED } | ||
| 32 | }, { | ||
| 33 | // left | ||
| 34 | { 0, 0 }, { 0, 21 }, { 0, 42 }, // col 1 | ||
| 35 | { 25, 42 }, { 25, 21 }, { 25, 0 }, // col 2 | ||
| 36 | { 50, 0 }, { 50, 21 }, { 50, 42 }, | ||
| 37 | { 74, 42 }, { 74, 21 }, { 74, 0 }, | ||
| 38 | { 99, 0 }, { 99, 21 }, { 99, 42 }, | ||
| 39 | { 50, 64 }, { 74, 64 }, { 99, 64 }, // left thumb cluster | ||
| 40 | // right | ||
| 41 | { 224, 0 }, { 224, 21 }, { 224, 42 }, // col 10 | ||
| 42 | { 198, 42 }, { 198, 21 }, { 198, 0 }, // col 9 | ||
| 43 | { 174, 0 }, { 174, 21 }, { 174, 42 }, | ||
| 44 | { 149, 42 }, { 149, 21 }, { 149, 0 }, | ||
| 45 | { 124, 0 }, { 124, 21 }, { 124, 42 }, | ||
| 46 | { 174, 64 }, { 149, 64 }, { 124, 64 } // right thumb cluster | ||
| 47 | }, { | ||
| 48 | // left | ||
| 49 | 4, 4, 4, 4, 4, 4, 4, | ||
| 50 | 4, 4, 4, 4, 4, 4, 4, 4, | ||
| 51 | 2, 2, 2, | ||
| 52 | // right | ||
| 53 | 4, 4, 4, 4, 4, 4, 4, | ||
| 54 | 4, 4, 4, 4, 4, 4, 4, 4, | ||
| 55 | 2, 2, 2 | ||
| 56 | } }; | ||
| 57 | #endif | ||
