diff options
author | Drashna Jaelre <drashna@live.com> | 2021-09-23 12:08:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 20:08:23 +0100 |
commit | a68c4d8b8150d936b700a4d1f2f9670f97b78b87 (patch) | |
tree | 9e67df62fcbcae1b8dffd84ec042de4000243e94 /keyboards/preonic | |
parent | 29f199f456e4ef364926d0d5babd96b708393955 (diff) | |
download | qmk_firmware-a68c4d8b8150d936b700a4d1f2f9670f97b78b87.tar.gz qmk_firmware-a68c4d8b8150d936b700a4d1f2f9670f97b78b87.zip |
[Keyboard] Update default keymaps for OLKB boards (#14565)
Diffstat (limited to 'keyboards/preonic')
-rw-r--r-- | keyboards/preonic/keymaps/default/config.h | 26 | ||||
-rw-r--r-- | keyboards/preonic/keymaps/default/keymap.c | 2 |
2 files changed, 21 insertions, 7 deletions
diff --git a/keyboards/preonic/keymaps/default/config.h b/keyboards/preonic/keymaps/default/config.h index 37858350a..8756e5012 100644 --- a/keyboards/preonic/keymaps/default/config.h +++ b/keyboards/preonic/keymaps/default/config.h | |||
@@ -1,13 +1,27 @@ | |||
1 | /* Copyright 2015-2021 Jack Humbert | ||
2 | * | ||
3 | * This program is free software: you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License as published by | ||
5 | * the Free Software Foundation, either version 2 of the License, or | ||
6 | * (at your option) any later version. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | ||
16 | |||
1 | #pragma once | 17 | #pragma once |
2 | 18 | ||
3 | #ifdef AUDIO_ENABLE | 19 | #ifdef AUDIO_ENABLE |
4 | #define STARTUP_SONG SONG(PREONIC_SOUND) | 20 | # define STARTUP_SONG SONG(PREONIC_SOUND) |
5 | // #define STARTUP_SONG SONG(NO_SOUND) | 21 | // #define STARTUP_SONG SONG(NO_SOUND) |
6 | 22 | ||
7 | #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ | 23 | # define DEFAULT_LAYER_SONGS \ |
8 | SONG(COLEMAK_SOUND), \ | 24 | { SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND), SONG(DVORAK_SOUND) } |
9 | SONG(DVORAK_SOUND) \ | ||
10 | } | ||
11 | #endif | 25 | #endif |
12 | 26 | ||
13 | #define MUSIC_MASK (keycode != KC_NO) | 27 | #define MUSIC_MASK (keycode != KC_NO) |
diff --git a/keyboards/preonic/keymaps/default/keymap.c b/keyboards/preonic/keymaps/default/keymap.c index 3a82f7151..f99a6953c 100644 --- a/keyboards/preonic/keymaps/default/keymap.c +++ b/keyboards/preonic/keymaps/default/keymap.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright 2015-2017 Jack Humbert | 1 | /* Copyright 2015-2021 Jack Humbert |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |