summaryrefslogtreecommitdiff
path: root/keyboards/moonlander
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/moonlander')
-rw-r--r--keyboards/moonlander/moonlander.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c
index e81c884adf..4146fc7afb 100644
--- a/keyboards/moonlander/moonlander.c
+++ b/keyboards/moonlander/moonlander.c
@@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-#include QMK_KEYBOARD_H
#include "moonlander.h"
keyboard_config_t keyboard_config;
@@ -370,14 +368,20 @@ void keyboard_post_init_kb(void) {
#if defined(AUDIO_ENABLE) && defined(MUSIC_MAP)
// clang-format off
__attribute__ ((weak))
-const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_moonlander(
- 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
- 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
- 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
- 8, 9, 10, 11, 12, 3, 4, 13, 14, 15, 16, 17,
- 0, 1, 2, 5, 6, 7
-);
+const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
+ {58, 59, 60, 61, 62, 63, 64},
+ {44, 45, 46, 47, 48, 49, 50},
+ {30, 31, 32, 33, 34, 35, 36},
+ {18, 19, 20, 21, 22, 23, 0},
+ { 8, 9, 10, 11, 12, 0, 0},
+ { 0, 1, 2, 3, 0, 0, 0},
+ {65, 66, 67, 68, 69, 70, 71},
+ {51, 52, 53, 54, 55, 56, 57},
+ {37, 38, 39, 40, 41, 42, 43},
+ { 0, 24, 25, 26, 27, 28, 29},
+ { 0, 0, 13, 14, 15, 16, 17},
+ { 0, 0, 0, 4, 5, 6, 7}
+};
// clang-format on
#endif