diff options
Diffstat (limited to 'keyboards/ocean/sus/keymaps')
| -rw-r--r-- | keyboards/ocean/sus/keymaps/default/keymap.c | 45 | ||||
| -rw-r--r-- | keyboards/ocean/sus/keymaps/via/keymap.c | 45 | ||||
| -rw-r--r-- | keyboards/ocean/sus/keymaps/via/rules.mk | 2 |
3 files changed, 92 insertions, 0 deletions
diff --git a/keyboards/ocean/sus/keymaps/default/keymap.c b/keyboards/ocean/sus/keymaps/default/keymap.c new file mode 100644 index 000000000..166e84018 --- /dev/null +++ b/keyboards/ocean/sus/keymaps/default/keymap.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2021 Ocean | ||
| 2 | * This program is free software: you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License as published by | ||
| 4 | * the Free Software Foundation, either version 2 of the License, or | ||
| 5 | * (at your option) any later version. | ||
| 6 | * | ||
| 7 | * This program is distributed in the hope that it will be useful, | ||
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | * GNU General Public License for more details. | ||
| 11 | * | ||
| 12 | * You should have received a copy of the GNU General Public License | ||
| 13 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 18 | [0] = LAYOUT_ortho_3x4( | ||
| 19 | KC_P7, KC_P8, KC_P9, | ||
| 20 | KC_P4, KC_P5, KC_P6, | ||
| 21 | KC_P1, KC_P2, KC_P3, | ||
| 22 | KC_PENT, KC_P0, MO(1) | ||
| 23 | ), | ||
| 24 | |||
| 25 | [1] = LAYOUT_ortho_3x4( | ||
| 26 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 28 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 30 | ), | ||
| 31 | |||
| 32 | [2] = LAYOUT_ortho_3x4( | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 37 | ), | ||
| 38 | |||
| 39 | [3] = LAYOUT_ortho_3x4( | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 42 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 43 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 44 | ) | ||
| 45 | }; | ||
diff --git a/keyboards/ocean/sus/keymaps/via/keymap.c b/keyboards/ocean/sus/keymaps/via/keymap.c new file mode 100644 index 000000000..166e84018 --- /dev/null +++ b/keyboards/ocean/sus/keymaps/via/keymap.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | /* Copyright 2021 Ocean | ||
| 2 | * This program is free software: you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License as published by | ||
| 4 | * the Free Software Foundation, either version 2 of the License, or | ||
| 5 | * (at your option) any later version. | ||
| 6 | * | ||
| 7 | * This program is distributed in the hope that it will be useful, | ||
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | * GNU General Public License for more details. | ||
| 11 | * | ||
| 12 | * You should have received a copy of the GNU General Public License | ||
| 13 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 18 | [0] = LAYOUT_ortho_3x4( | ||
| 19 | KC_P7, KC_P8, KC_P9, | ||
| 20 | KC_P4, KC_P5, KC_P6, | ||
| 21 | KC_P1, KC_P2, KC_P3, | ||
| 22 | KC_PENT, KC_P0, MO(1) | ||
| 23 | ), | ||
| 24 | |||
| 25 | [1] = LAYOUT_ortho_3x4( | ||
| 26 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 28 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 30 | ), | ||
| 31 | |||
| 32 | [2] = LAYOUT_ortho_3x4( | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 34 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 37 | ), | ||
| 38 | |||
| 39 | [3] = LAYOUT_ortho_3x4( | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 42 | KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 43 | KC_TRNS, KC_TRNS, KC_TRNS | ||
| 44 | ) | ||
| 45 | }; | ||
diff --git a/keyboards/ocean/sus/keymaps/via/rules.mk b/keyboards/ocean/sus/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/ocean/sus/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
