rev2.c (2081B)
1 /* Copyright 2021 Harrison Chan (Xelus) 2 * 3 * This program is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License as published by 5 * the Free Software Foundation, either version 2 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 17 #include "quantum.h" 18 19 #ifdef RGB_MATRIX_ENABLE 20 21 led_config_t g_led_config = { { 22 // Key Matrix to LED Index 23 { 24, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, 24 { 25, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, 25 { 26, 27, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, 26 { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, 27 { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED } 28 }, { 29 // LED Index to Physical Position 30 { 224, 0 }, 31 { 224, 9 }, 32 { 224, 21 }, 33 { 224, 33 }, 34 { 224, 45 }, 35 { 223, 51 }, 36 { 206, 52 }, 37 { 190, 52 }, 38 { 172, 52 }, 39 { 154, 57 }, 40 { 136, 61 }, 41 { 118, 63 }, 42 { 101, 64 }, 43 { 80 , 60 }, 44 { 64 , 57 }, 45 { 46 , 53 }, 46 { 28 , 53 }, 47 { 10 , 52 }, 48 { 3 , 51 }, 49 { 2 , 45 }, 50 { 2 , 33 }, 51 { 2 , 20 }, 52 { 2 , 9 }, 53 { 0 , 0 }, 54 { 9 , 3 }, 55 { 6 , 14 }, 56 { 4 , 26 }, 57 { 21 , 27 } 58 59 }, { 60 // LED Index to Flag 61 2, 2, 2, 2, 2, 2, 2, 2, 62 2, 2, 2, 2, 2, 2, 2, 2, 63 2, 2, 2, 2, 2, 2, 2, 2, 64 8, 8, 8, 8 65 } }; 66 67 #endif