Skip to content

Commit

Permalink
Remove use of layout macros for music_map (qmk#20634)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpskenn committed Nov 4, 2023
1 parent 45c59e7 commit ba5f14f
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions keyboards/nora/v031/v031.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,18 @@
#include QMK_KEYBOARD_H

#ifdef AUDIO_ENABLE
const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT(
45 ,46, 47, 48, 49, 59, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60,
30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0
);
const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
{45, 47, 49, 51, 53, 55, 57, 59},
{ 0, 31, 33, 35, 37, 39, 41, 43},
{ 0, 17, 19, 21, 23, 25, 27, 29},
{ 0, 2, 4, 6, 8, 10, 12, 14},
{ 0, 0, 0, 0, 0, 0, 0, 0},
{46, 48, 50, 52, 54, 56, 58, 60},
{30, 32, 34, 36, 38, 40, 42, 44},
{16, 18, 20, 22, 24, 26, 28, 30},
{ 1, 3, 5, 7, 9, 10, 12, 14},
{ 0, 0, 0, 0, 0, 0, 0, 0}
};
#endif

#ifdef RGB_MATRIX_ENABLE
Expand Down

0 comments on commit ba5f14f

Please sign in to comment.