Remove use of layout macros for music_map
(#20634)
This commit is contained in:
parent
4b87961689
commit
a42d6426d9
22 changed files with 192 additions and 64 deletions
|
@ -14,15 +14,19 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "quantum.h"
|
||||
|
||||
#if defined(AUDIO_ENABLE) && defined(MUSIC_MAP)
|
||||
const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT(
|
||||
0, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37,
|
||||
0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||||
0, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
|
||||
0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0
|
||||
);
|
||||
const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
{ 0, 37, 33, 0, 27, 31, 30, 35, 25, 0},
|
||||
{17, 0, 21, 0, 15, 19, 18, 23, 13, 0},
|
||||
{17, 0, 0, 21, 15, 19, 18, 23, 13, 0},
|
||||
{ 4, 12, 8, 0, 2, 6, 5, 10, 0, 0},
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
|
||||
{28, 36, 32, 34, 26, 0, 29, 0, 0, 24},
|
||||
{16, 24, 20, 22, 14, 0, 0, 0, 0, 12},
|
||||
{16, 24, 20, 22, 14, 0, 0, 0, 0, 12},
|
||||
{ 3, 11, 7, 9, 1, 0, 0, 0, 0, 0},
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue