summaryrefslogtreecommitdiff
path: root/keyboards/planck/planck.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/planck.c')
-rw-r--r--keyboards/planck/planck.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c
index 6ac789cbe7..d9e3f00f2b 100644
--- a/keyboards/planck/planck.c
+++ b/keyboards/planck/planck.c
@@ -13,8 +13,17 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
__attribute__ ((weak))
void matrix_init_kb(void) {
// Turn status LED on
+ #ifdef __AVR__
DDRE |= (1<<6);
PORTE |= (1<<6);
+ #endif
matrix_init_user();
}
+
+const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_planck_grid(
+ 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
+ 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
+ 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
+ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
+); \ No newline at end of file