diff options
Diffstat (limited to 'keyboards/boardsource/beiwagon/keymaps/default')
| -rw-r--r-- | keyboards/boardsource/beiwagon/keymaps/default/keymap.c | 47 | ||||
| -rw-r--r-- | keyboards/boardsource/beiwagon/keymaps/default/readme.md | 1 |
2 files changed, 48 insertions, 0 deletions
diff --git a/keyboards/boardsource/beiwagon/keymaps/default/keymap.c b/keyboards/boardsource/beiwagon/keymaps/default/keymap.c new file mode 100644 index 000000000..396a0c720 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/default/keymap.c | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* Copyright 2020 Boardsource | ||
| 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 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum layers { | ||
| 20 | _MAIN, | ||
| 21 | _RAISE, | ||
| 22 | _LOWER, | ||
| 23 | }; | ||
| 24 | |||
| 25 | // Readability keycodes | ||
| 26 | #define LOWER MO(_LOWER) | ||
| 27 | #define RAISE MO(_RAISE) | ||
| 28 | |||
| 29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 30 | |||
| 31 | [_MAIN] = LAYOUT( | ||
| 32 | KC_7, KC_8, KC_9, | ||
| 33 | KC_4, KC_5, KC_6, | ||
| 34 | KC_1, KC_2, KC_3, | ||
| 35 | KC_0, KC_PENT,RAISE | ||
| 36 | ), | ||
| 37 | |||
| 38 | [_RAISE] = LAYOUT( | ||
| 39 | KC_7, KC_8, RGB_TOG, | ||
| 40 | KC_4, KC_5, RGB_MOD, | ||
| 41 | KC_1, KC_2, KC_3, | ||
| 42 | KC_0, KC_PENT,KC_TRNS | ||
| 43 | |||
| 44 | ) | ||
| 45 | |||
| 46 | }; | ||
| 47 | |||
diff --git a/keyboards/boardsource/beiwagon/keymaps/default/readme.md b/keyboards/boardsource/beiwagon/keymaps/default/readme.md new file mode 100644 index 000000000..95f466aa8 --- /dev/null +++ b/keyboards/boardsource/beiwagon/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for Beiwagon | |||
