qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

v03_1.c (1370B)


      1 /* Copyright 2020 Takeshi Nishio
      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 #if defined(AUDIO_ENABLE) && defined(MUSIC_MAP)
     20 const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
     21     { 0,  0,  0,  0,  0,  0,  0, 64, 65, 66, 67},
     22     { 0,  0,  0,  0,  0,  0,  0, 49, 50, 51, 52},
     23     { 0,  0,  0,  0,  0,  0,  0, 35, 36, 37, 38},
     24     { 0,  0,  0,  0,  0,  0,  0, 21, 22, 23, 24},
     25     { 0,  0,  0,  0,  0,  0,  0,  8,  9, 10, 11},
     26     { 0,  0,  0,  0,  0,  0, 59, 60, 61, 62, 63},
     27     {53, 54, 55, 56, 57, 58,  0, 45, 46, 47, 48},
     28     {39,  0, 40, 41, 42, 43, 44,  0, 32, 33, 34},
     29     {25,  0, 26, 27, 28, 29, 30, 31,  0, 19, 20},
     30     {11,  0, 12, 13, 14, 15, 16, 17, 18,  0,  0},
     31     { 0,  1,  2,  3,  0,  4,  0,  5,  6,  7,  0}
     32 };
     33 #endif