You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.3 KiB

  1. /* Copyright 2021 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, 37, 33, 0, 27, 31, 30, 35, 25, 0},
  20. {17, 0, 21, 0, 15, 19, 18, 23, 13, 0},
  21. {17, 0, 0, 21, 15, 19, 18, 23, 13, 0},
  22. { 4, 12, 8, 0, 2, 6, 5, 10, 0, 0},
  23. { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
  24. {28, 36, 32, 34, 26, 0, 29, 0, 0, 24},
  25. {16, 24, 20, 22, 14, 0, 0, 0, 0, 12},
  26. {16, 24, 20, 22, 14, 0, 0, 0, 0, 12},
  27. { 3, 11, 7, 9, 1, 0, 0, 0, 0, 0},
  28. { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
  29. };
  30. #endif