diff options
author | Jack Humbert <jack.humb@gmail.com> | 2018-07-19 23:57:13 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-07-20 23:09:25 -0400 |
commit | 1572375bfbdb231c3373a6300fbb7e2ca195d9be (patch) | |
tree | 19d93ab71ae5a5f5a19609a8b0fa32142463e666 /keyboards/preonic/preonic.c | |
parent | 0284431ad935b05fad212fb3925e8104007ab93f (diff) | |
download | qmk_firmware-1572375bfbdb231c3373a6300fbb7e2ca195d9be.tar.gz |
adds support for preonic rev 3
Diffstat (limited to 'keyboards/preonic/preonic.c')
-rw-r--r-- | keyboards/preonic/preonic.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/preonic/preonic.c b/keyboards/preonic/preonic.c index 637a73ab8..ff07f961f 100644 --- a/keyboards/preonic/preonic.c +++ b/keyboards/preonic/preonic.c @@ -11,11 +11,10 @@ const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { }; #endif -void matrix_init_kb(void) { - - // Turn status LED on - DDRE |= (1<<6); - PORTE |= (1<<6); - - matrix_init_user(); -};
\ No newline at end of file +const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_preonic_grid( + 48, 49, 50, 51, 52, 53, 53, 55, 56, 57, 58, 59, + 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 +); |