logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

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