diff options
| author | cjcodell1 <26935146+cjcodell1@users.noreply.github.com> | 2020-12-22 13:39:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-22 19:39:29 +0100 |
| commit | 71b52416d87c38f170085608203abeaafcc0735a (patch) | |
| tree | 88fc185ddabe5486e547ec79ec73bbb344cb196e /keyboards/nimrod | |
| parent | bf324c38e3a8929999e459b947b5551bc216cc88 (diff) | |
| download | qmk_firmware-71b52416d87c38f170085608203abeaafcc0735a.tar.gz qmk_firmware-71b52416d87c38f170085608203abeaafcc0735a.zip | |
[Keyboard] Add Nimrod (#11141)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/nimrod')
26 files changed, 876 insertions, 0 deletions
diff --git a/keyboards/nimrod/config.h b/keyboards/nimrod/config.h new file mode 100644 index 000000000..4faa3f4e2 --- /dev/null +++ b/keyboards/nimrod/config.h | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "config_common.h" | ||
| 19 | |||
| 20 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0x6274 | ||
| 22 | #define PRODUCT_ID 0x720D | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER breadtamer | ||
| 25 | #define PRODUCT nimrod | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 4 | ||
| 29 | #define MATRIX_COLS 10 | ||
| 30 | |||
| 31 | /* | ||
| 32 | * Keyboard Matrix Assignments | ||
| 33 | * | ||
| 34 | * Change this to how you wired your keyboard | ||
| 35 | * COLS: AVR pins used for columns, left to right | ||
| 36 | * ROWS: AVR pins used for rows, top to bottom | ||
| 37 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 38 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 39 | * | ||
| 40 | */ | ||
| 41 | #define MATRIX_ROW_PINS { F5, B6, D7, C6 } | ||
| 42 | #define MATRIX_COL_PINS { D1, F4, B5, B4, E6, F6, F7, B1, B3, B2 } | ||
| 43 | #define UNUSED_PINS | ||
| 44 | |||
| 45 | /* COL2ROW, ROW2COL*/ | ||
| 46 | #define DIODE_DIRECTION COL2ROW | ||
| 47 | |||
| 48 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 49 | #define DEBOUNCE 5 | ||
| 50 | |||
| 51 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 52 | #define LOCKING_SUPPORT_ENABLE | ||
| 53 | /* Locking resynchronize hack */ | ||
| 54 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/nimrod/info.json b/keyboards/nimrod/info.json new file mode 100644 index 000000000..4df94c284 --- /dev/null +++ b/keyboards/nimrod/info.json | |||
| @@ -0,0 +1,209 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Nimrod", | ||
| 3 | "url": "http://www.keyboard-layout-editor.com/#/gists/5a6b4ee1ca9738c4ed90fe95ef35fdf6", | ||
| 4 | "maintainer": "Breadtamer", | ||
| 5 | "width": 12.5, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ortho_4x10": { | ||
| 9 | "layout": [ | ||
| 10 | { "x": 0, "y": 0, "w": 1.25 }, | ||
| 11 | { "x": 1.25, "y": 0, "w": 1.25 }, | ||
| 12 | { "x": 2.5, "y": 0, "w": 1.25 }, | ||
| 13 | { "x": 3.75, "y": 0, "w": 1.25 }, | ||
| 14 | { "x": 5, "y": 0, "w": 1.25 }, | ||
| 15 | { "x": 6.25, "y": 0, "w": 1.25 }, | ||
| 16 | { "x": 7.5, "y": 0, "w": 1.25 }, | ||
| 17 | { "x": 8.75, "y": 0, "w": 1.25 }, | ||
| 18 | { "x": 10, "y": 0, "w": 1.25 }, | ||
| 19 | { "x": 11.25, "y": 0, "w": 1.25 }, | ||
| 20 | { "x": 0, "y": 1, "w": 1.25 }, | ||
| 21 | { "x": 1.25, "y": 1, "w": 1.25 }, | ||
| 22 | { "x": 2.5, "y": 1, "w": 1.25 }, | ||
| 23 | { "x": 3.75, "y": 1, "w": 1.25 }, | ||
| 24 | { "x": 5, "y": 1, "w": 1.25 }, | ||
| 25 | { "x": 6.25, "y": 1, "w": 1.25 }, | ||
| 26 | { "x": 7.5, "y": 1, "w": 1.25 }, | ||
| 27 | { "x": 8.75, "y": 1, "w": 1.25 }, | ||
| 28 | { "x": 10, "y": 1, "w": 1.25 }, | ||
| 29 | { "x": 11.25, "y": 1, "w": 1.25 }, | ||
| 30 | { "x": 0, "y": 2, "w": 1.25 }, | ||
| 31 | { "x": 1.25, "y": 2, "w": 1.25 }, | ||
| 32 | { "x": 2.5, "y": 2, "w": 1.25 }, | ||
| 33 | { "x": 3.75, "y": 2, "w": 1.25 }, | ||
| 34 | { "x": 5, "y": 2, "w": 1.25 }, | ||
| 35 | { "x": 6.25, "y": 2, "w": 1.25 }, | ||
| 36 | { "x": 7.5, "y": 2, "w": 1.25 }, | ||
| 37 | { "x": 8.75, "y": 2, "w": 1.25 }, | ||
| 38 | { "x": 10, "y": 2, "w": 1.25 }, | ||
| 39 | { "x": 11.25, "y": 2, "w": 1.25 }, | ||
| 40 | { "x": 0, "y": 3, "w": 1.25 }, | ||
| 41 | { "x": 1.25, "y": 3, "w": 1.25 }, | ||
| 42 | { "x": 2.5, "y": 3, "w": 1.25 }, | ||
| 43 | { "x": 3.75, "y": 3, "w": 1.25 }, | ||
| 44 | { "x": 5, "y": 3, "w": 1.25 }, | ||
| 45 | { "x": 6.25, "y": 3, "w": 1.25 }, | ||
| 46 | { "x": 7.5, "y": 3, "w": 1.25 }, | ||
| 47 | { "x": 8.75, "y": 3, "w": 1.25 }, | ||
| 48 | { "x": 10, "y": 3, "w": 1.25 }, | ||
| 49 | { "x": 11.25, "y": 3, "w": 1.25 } | ||
| 50 | ] | ||
| 51 | }, | ||
| 52 | "LAYOUT_left_space": { | ||
| 53 | "layout": [ | ||
| 54 | { "x": 0, "y": 0, "w": 1.25 }, | ||
| 55 | { "x": 1.25, "y": 0, "w": 1.25 }, | ||
| 56 | { "x": 2.5, "y": 0, "w": 1.25 }, | ||
| 57 | { "x": 3.75, "y": 0, "w": 1.25 }, | ||
| 58 | { "x": 5, "y": 0, "w": 1.25 }, | ||
| 59 | { "x": 6.25, "y": 0, "w": 1.25 }, | ||
| 60 | { "x": 7.5, "y": 0, "w": 1.25 }, | ||
| 61 | { "x": 8.75, "y": 0, "w": 1.25 }, | ||
| 62 | { "x": 10, "y": 0, "w": 1.25 }, | ||
| 63 | { "x": 11.25, "y": 0, "w": 1.25 }, | ||
| 64 | { "x": 0, "y": 1, "w": 1.25 }, | ||
| 65 | { "x": 1.25, "y": 1, "w": 1.25 }, | ||
| 66 | { "x": 2.5, "y": 1, "w": 1.25 }, | ||
| 67 | { "x": 3.75, "y": 1, "w": 1.25 }, | ||
| 68 | { "x": 5, "y": 1, "w": 1.25 }, | ||
| 69 | { "x": 6.25, "y": 1, "w": 1.25 }, | ||
| 70 | { "x": 7.5, "y": 1, "w": 1.25 }, | ||
| 71 | { "x": 8.75, "y": 1, "w": 1.25 }, | ||
| 72 | { "x": 10, "y": 1, "w": 1.25 }, | ||
| 73 | { "x": 11.25, "y": 1, "w": 1.25 }, | ||
| 74 | { "x": 0, "y": 2, "w": 1.25 }, | ||
| 75 | { "x": 1.25, "y": 2, "w": 1.25 }, | ||
| 76 | { "x": 2.5, "y": 2, "w": 1.25 }, | ||
| 77 | { "x": 3.75, "y": 2, "w": 1.25 }, | ||
| 78 | { "x": 5, "y": 2, "w": 1.25 }, | ||
| 79 | { "x": 6.25, "y": 2, "w": 1.25 }, | ||
| 80 | { "x": 7.5, "y": 2, "w": 1.25 }, | ||
| 81 | { "x": 8.75, "y": 2, "w": 1.25 }, | ||
| 82 | { "x": 10, "y": 2, "w": 1.25 }, | ||
| 83 | { "x": 11.25, "y": 2, "w": 1.25 }, | ||
| 84 | { "x": 0, "y": 3, "w": 6.25 }, | ||
| 85 | { "x": 6.25, "y": 3, "w": 1.25 }, | ||
| 86 | { "x": 7.5, "y": 3, "w": 1.25 }, | ||
| 87 | { "x": 8.75, "y": 3, "w": 1.25 }, | ||
| 88 | { "x": 10, "y": 3, "w": 1.25 }, | ||
| 89 | { "x": 11.25, "y": 3, "w": 1.25 } | ||
| 90 | ] | ||
| 91 | }, | ||
| 92 | "LAYOUT_center_space": { | ||
| 93 | "layout": [ | ||
| 94 | { "x": 0, "y": 0, "w": 1.25 }, | ||
| 95 | { "x": 1.25, "y": 0, "w": 1.25 }, | ||
| 96 | { "x": 2.5, "y": 0, "w": 1.25 }, | ||
| 97 | { "x": 3.75, "y": 0, "w": 1.25 }, | ||
| 98 | { "x": 5, "y": 0, "w": 1.25 }, | ||
| 99 | { "x": 6.25, "y": 0, "w": 1.25 }, | ||
| 100 | { "x": 7.5, "y": 0, "w": 1.25 }, | ||
| 101 | { "x": 8.75, "y": 0, "w": 1.25 }, | ||
| 102 | { "x": 10, "y": 0, "w": 1.25 }, | ||
| 103 | { "x": 11.25, "y": 0, "w": 1.25 }, | ||
| 104 | { "x": 0, "y": 1, "w": 1.25 }, | ||
| 105 | { "x": 1.25, "y": 1, "w": 1.25 }, | ||
| 106 | { "x": 2.5, "y": 1, "w": 1.25 }, | ||
| 107 | { "x": 3.75, "y": 1, "w": 1.25 }, | ||
| 108 | { "x": 5, "y": 1, "w": 1.25 }, | ||
| 109 | { "x": 6.25, "y": 1, "w": 1.25 }, | ||
| 110 | { "x": 7.5, "y": 1, "w": 1.25 }, | ||
| 111 | { "x": 8.75, "y": 1, "w": 1.25 }, | ||
| 112 | { "x": 10, "y": 1, "w": 1.25 }, | ||
| 113 | { "x": 11.25, "y": 1, "w": 1.25 }, | ||
| 114 | { "x": 0, "y": 2, "w": 1.25 }, | ||
| 115 | { "x": 1.25, "y": 2, "w": 1.25 }, | ||
| 116 | { "x": 2.5, "y": 2, "w": 1.25 }, | ||
| 117 | { "x": 3.75, "y": 2, "w": 1.25 }, | ||
| 118 | { "x": 5, "y": 2, "w": 1.25 }, | ||
| 119 | { "x": 6.25, "y": 2, "w": 1.25 }, | ||
| 120 | { "x": 7.5, "y": 2, "w": 1.25 }, | ||
| 121 | { "x": 8.75, "y": 2, "w": 1.25 }, | ||
| 122 | { "x": 10, "y": 2, "w": 1.25 }, | ||
| 123 | { "x": 11.25, "y": 2, "w": 1.25 }, | ||
| 124 | { "x": 0, "y": 3, "w": 1.25 }, | ||
| 125 | { "x": 1.25, "y": 3, "w": 1.25 }, | ||
| 126 | { "x": 2.5, "y": 3, "w": 6.25 }, | ||
| 127 | { "x": 8.75, "y": 3, "w": 1.25 }, | ||
| 128 | { "x": 10, "y": 3, "w": 1.25 }, | ||
| 129 | { "x": 11.25, "y": 3, "w": 1.25 } | ||
| 130 | ] | ||
| 131 | }, | ||
| 132 | "LAYOUT_right_space": { | ||
| 133 | "layout": [ | ||
| 134 | { "x": 0, "y": 0, "w": 1.25 }, | ||
| 135 | { "x": 1.25, "y": 0, "w": 1.25 }, | ||
| 136 | { "x": 2.5, "y": 0, "w": 1.25 }, | ||
| 137 | { "x": 3.75, "y": 0, "w": 1.25 }, | ||
| 138 | { "x": 5, "y": 0, "w": 1.25 }, | ||
| 139 | { "x": 6.25, "y": 0, "w": 1.25 }, | ||
| 140 | { "x": 7.5, "y": 0, "w": 1.25 }, | ||
| 141 | { "x": 8.75, "y": 0, "w": 1.25 }, | ||
| 142 | { "x": 10, "y": 0, "w": 1.25 }, | ||
| 143 | { "x": 11.25, "y": 0, "w": 1.25 }, | ||
| 144 | { "x": 0, "y": 1, "w": 1.25 }, | ||
| 145 | { "x": 1.25, "y": 1, "w": 1.25 }, | ||
| 146 | { "x": 2.5, "y": 1, "w": 1.25 }, | ||
| 147 | { "x": 3.75, "y": 1, "w": 1.25 }, | ||
| 148 | { "x": 5, "y": 1, "w": 1.25 }, | ||
| 149 | { "x": 6.25, "y": 1, "w": 1.25 }, | ||
| 150 | { "x": 7.5, "y": 1, "w": 1.25 }, | ||
| 151 | { "x": 8.75, "y": 1, "w": 1.25 }, | ||
| 152 | { "x": 10, "y": 1, "w": 1.25 }, | ||
| 153 | { "x": 11.25, "y": 1, "w": 1.25 }, | ||
| 154 | { "x": 0, "y": 2, "w": 1.25 }, | ||
| 155 | { "x": 1.25, "y": 2, "w": 1.25 }, | ||
| 156 | { "x": 2.5, "y": 2, "w": 1.25 }, | ||
| 157 | { "x": 3.75, "y": 2, "w": 1.25 }, | ||
| 158 | { "x": 5, "y": 2, "w": 1.25 }, | ||
| 159 | { "x": 6.25, "y": 2, "w": 1.25 }, | ||
| 160 | { "x": 7.5, "y": 2, "w": 1.25 }, | ||
| 161 | { "x": 8.75, "y": 2, "w": 1.25 }, | ||
| 162 | { "x": 10, "y": 2, "w": 1.25 }, | ||
| 163 | { "x": 11.25, "y": 2, "w": 1.25 }, | ||
| 164 | { "x": 0, "y": 3, "w": 1.25 }, | ||
| 165 | { "x": 1.25, "y": 3, "w": 1.25 }, | ||
| 166 | { "x": 2.5, "y": 3, "w": 1.25 }, | ||
| 167 | { "x": 3.75, "y": 3, "w": 1.25 }, | ||
| 168 | { "x": 5, "y": 3, "w": 1.25 }, | ||
| 169 | { "x": 6.25, "y": 3, "w": 6.25 } | ||
| 170 | ] | ||
| 171 | }, | ||
| 172 | "LAYOUT_split_space": { | ||
| 173 | "layout": [ | ||
| 174 | { "x": 0, "y": 0, "w": 1.25 }, | ||
| 175 | { "x": 1.25, "y": 0, "w": 1.25 }, | ||
| 176 | { "x": 2.5, "y": 0, "w": 1.25 }, | ||
| 177 | { "x": 3.75, "y": 0, "w": 1.25 }, | ||
| 178 | { "x": 5, "y": 0, "w": 1.25 }, | ||
| 179 | { "x": 6.25, "y": 0, "w": 1.25 }, | ||
| 180 | { "x": 7.5, "y": 0, "w": 1.25 }, | ||
| 181 | { "x": 8.75, "y": 0, "w": 1.25 }, | ||
| 182 | { "x": 10, "y": 0, "w": 1.25 }, | ||
| 183 | { "x": 11.25, "y": 0, "w": 1.25 }, | ||
| 184 | { "x": 0, "y": 1, "w": 1.25 }, | ||
| 185 | { "x": 1.25, "y": 1, "w": 1.25 }, | ||
| 186 | { "x": 2.5, "y": 1, "w": 1.25 }, | ||
| 187 | { "x": 3.75, "y": 1, "w": 1.25 }, | ||
| 188 | { "x": 5, "y": 1, "w": 1.25 }, | ||
| 189 | { "x": 6.25, "y": 1, "w": 1.25 }, | ||
| 190 | { "x": 7.5, "y": 1, "w": 1.25 }, | ||
| 191 | { "x": 8.75, "y": 1, "w": 1.25 }, | ||
| 192 | { "x": 10, "y": 1, "w": 1.25 }, | ||
| 193 | { "x": 11.25, "y": 1, "w": 1.25 }, | ||
| 194 | { "x": 0, "y": 2, "w": 1.25 }, | ||
| 195 | { "x": 1.25, "y": 2, "w": 1.25 }, | ||
| 196 | { "x": 2.5, "y": 2, "w": 1.25 }, | ||
| 197 | { "x": 3.75, "y": 2, "w": 1.25 }, | ||
| 198 | { "x": 5, "y": 2, "w": 1.25 }, | ||
| 199 | { "x": 6.25, "y": 2, "w": 1.25 }, | ||
| 200 | { "x": 7.5, "y": 2, "w": 1.25 }, | ||
| 201 | { "x": 8.75, "y": 2, "w": 1.25 }, | ||
| 202 | { "x": 10, "y": 2, "w": 1.25 }, | ||
| 203 | { "x": 11.25, "y": 2, "w": 1.25 }, | ||
| 204 | { "x": 0, "y": 3, "w": 6.25 }, | ||
| 205 | { "x": 6.25, "y": 3, "w": 6.25 } | ||
| 206 | ] | ||
| 207 | } | ||
| 208 | } | ||
| 209 | } | ||
diff --git a/keyboards/nimrod/keymaps/default/config.h b/keyboards/nimrod/keymaps/default/config.h new file mode 100644 index 000000000..9684b5cae --- /dev/null +++ b/keyboards/nimrod/keymaps/default/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #ifdef COMBO_ENABLE | ||
| 19 | # define COMBO_COUNT 3 | ||
| 20 | # define COMBO_TERM 150 | ||
| 21 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default/keymap.c b/keyboards/nimrod/keymaps/default/keymap.c new file mode 100644 index 000000000..3a113bbc8 --- /dev/null +++ b/keyboards/nimrod/keymaps/default/keymap.c | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | enum layers{ | ||
| 19 | _BASE, | ||
| 20 | _NUM_SYM | ||
| 21 | }; | ||
| 22 | |||
| 23 | enum combo_events { | ||
| 24 | COMBO_TAB, | ||
| 25 | COMBO_ESC, | ||
| 26 | COMBO_DEL, | ||
| 27 | }; | ||
| 28 | |||
| 29 | #define KC_SF LSFT_T(KC_F) | ||
| 30 | #define KC_SJ RSFT_T(KC_J) | ||
| 31 | |||
| 32 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 33 | [_BASE] = LAYOUT_ortho_4x10( | ||
| 34 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 35 | KC_A, KC_S, KC_D, KC_SF, KC_G, KC_H, KC_SJ, KC_K, KC_L, KC_ENT, | ||
| 36 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 37 | KC_LCTL, KC_LALT, KC_LGUI, KC_BSPC, MO(_NUM_SYM), KC_SPC, KC_LEFT, KC_UP, KC_DOWN, KC_RIGHT | ||
| 38 | ), | ||
| 39 | |||
| 40 | [_NUM_SYM] = LAYOUT_ortho_4x10( | ||
| 41 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 42 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS, | ||
| 43 | KC_LCBR, KC_LBRC, KC_LPRN, KC_UNDS, KC_RPRN, KC_RBRC, KC_RCBR, KC_SCLN, KC_QUOTE, KC_BSLASH, | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 45 | ), | ||
| 46 | |||
| 47 | }; | ||
| 48 | |||
| 49 | #ifdef COMBO_ENABLE | ||
| 50 | const uint16_t PROGMEM combo_tab[] = {KC_Q, KC_W, COMBO_END}; | ||
| 51 | const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END}; | ||
| 52 | const uint16_t PROGMEM combo_del[] = {KC_MINS, KC_EQL, COMBO_END}; | ||
| 53 | |||
| 54 | combo_t key_combos[COMBO_COUNT] = { | ||
| 55 | [COMBO_TAB] = COMBO(combo_tab,KC_TAB), | ||
| 56 | [COMBO_ESC] = COMBO(combo_esc,KC_ESC), | ||
| 57 | [COMBO_DEL] = COMBO(combo_del,KC_DEL), | ||
| 58 | |||
| 59 | }; | ||
| 60 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default/readme.md b/keyboards/nimrod/keymaps/default/readme.md new file mode 100644 index 000000000..b93c8f846 --- /dev/null +++ b/keyboards/nimrod/keymaps/default/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Default Nimrod Layout | ||
| 2 | |||
| 3 | This is the recommended full grid layout. | ||
diff --git a/keyboards/nimrod/keymaps/default/rules.mk b/keyboards/nimrod/keymaps/default/rules.mk new file mode 100644 index 000000000..ab1e43818 --- /dev/null +++ b/keyboards/nimrod/keymaps/default/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| COMBO_ENABLE = yes | |||
diff --git a/keyboards/nimrod/keymaps/default_center_space/config.h b/keyboards/nimrod/keymaps/default_center_space/config.h new file mode 100644 index 000000000..9684b5cae --- /dev/null +++ b/keyboards/nimrod/keymaps/default_center_space/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #ifdef COMBO_ENABLE | ||
| 19 | # define COMBO_COUNT 3 | ||
| 20 | # define COMBO_TERM 150 | ||
| 21 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_center_space/keymap.c b/keyboards/nimrod/keymaps/default_center_space/keymap.c new file mode 100644 index 000000000..0ebb2bb9e --- /dev/null +++ b/keyboards/nimrod/keymaps/default_center_space/keymap.c | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | enum layers{ | ||
| 19 | _BASE, | ||
| 20 | _NUM_SYM, | ||
| 21 | _NAV | ||
| 22 | }; | ||
| 23 | |||
| 24 | enum combo_events { | ||
| 25 | COMBO_TAB, | ||
| 26 | COMBO_ESC, | ||
| 27 | COMBO_DEL, | ||
| 28 | }; | ||
| 29 | |||
| 30 | #define KC_SF LSFT_T(KC_F) | ||
| 31 | #define KC_SJ RSFT_T(KC_J) | ||
| 32 | |||
| 33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 34 | [_BASE] = LAYOUT_center_space( | ||
| 35 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 36 | KC_A, KC_S, KC_D, KC_SF, KC_G, KC_H, KC_SJ, KC_K, KC_L, KC_ENT, | ||
| 37 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 38 | KC_LCTL, KC_LALT, LT(_NAV, KC_SPC), MO(_NUM_SYM), KC_BSPC, KC_RGUI | ||
| 39 | ), | ||
| 40 | |||
| 41 | [_NUM_SYM] = LAYOUT_center_space( | ||
| 42 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 43 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS, | ||
| 44 | KC_LCBR, KC_LBRC, KC_LPRN, KC_UNDS, KC_RPRN, KC_RBRC, KC_RCBR, KC_SCLN, KC_QUOTE, KC_BSLASH, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_NAV] = LAYOUT_center_space( | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 53 | ), | ||
| 54 | |||
| 55 | }; | ||
| 56 | |||
| 57 | #ifdef COMBO_ENABLE | ||
| 58 | const uint16_t PROGMEM combo_tab[] = {KC_Q, KC_W, COMBO_END}; | ||
| 59 | const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END}; | ||
| 60 | const uint16_t PROGMEM combo_del[] = {KC_MINS, KC_EQL, COMBO_END}; | ||
| 61 | |||
| 62 | combo_t key_combos[COMBO_COUNT] = { | ||
| 63 | [COMBO_TAB] = COMBO(combo_tab,KC_TAB), | ||
| 64 | [COMBO_ESC] = COMBO(combo_esc,KC_ESC), | ||
| 65 | [COMBO_DEL] = COMBO(combo_del,KC_DEL), | ||
| 66 | |||
| 67 | }; | ||
| 68 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_center_space/readme.md b/keyboards/nimrod/keymaps/default_center_space/readme.md new file mode 100644 index 000000000..4912b44c4 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_center_space/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Center Space Nimrod Layout | ||
| 2 | |||
| 3 | This is the layout for a center space bottom row. | ||
diff --git a/keyboards/nimrod/keymaps/default_center_space/rules.mk b/keyboards/nimrod/keymaps/default_center_space/rules.mk new file mode 100644 index 000000000..ab1e43818 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_center_space/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| COMBO_ENABLE = yes | |||
diff --git a/keyboards/nimrod/keymaps/default_left_space/config.h b/keyboards/nimrod/keymaps/default_left_space/config.h new file mode 100644 index 000000000..9684b5cae --- /dev/null +++ b/keyboards/nimrod/keymaps/default_left_space/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #ifdef COMBO_ENABLE | ||
| 19 | # define COMBO_COUNT 3 | ||
| 20 | # define COMBO_TERM 150 | ||
| 21 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_left_space/keymap.c b/keyboards/nimrod/keymaps/default_left_space/keymap.c new file mode 100644 index 000000000..c03130b81 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_left_space/keymap.c | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | enum layers{ | ||
| 19 | _BASE, | ||
| 20 | _NUM_SYM, | ||
| 21 | _NAV | ||
| 22 | }; | ||
| 23 | |||
| 24 | enum combo_events { | ||
| 25 | COMBO_TAB, | ||
| 26 | COMBO_ESC, | ||
| 27 | COMBO_DEL, | ||
| 28 | }; | ||
| 29 | |||
| 30 | #define KC_SF LSFT_T(KC_F) | ||
| 31 | #define KC_SJ RSFT_T(KC_J) | ||
| 32 | |||
| 33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 34 | [_BASE] = LAYOUT_left_space( | ||
| 35 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 36 | KC_A, KC_S, KC_D, KC_SF, KC_G, KC_H, KC_SJ, KC_K, KC_L, KC_ENT, | ||
| 37 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 38 | LT(_NAV, KC_SPC), MO(_NUM_SYM), KC_BSPC, KC_RGUI, KC_RALT, KC_RCTL | ||
| 39 | ), | ||
| 40 | |||
| 41 | [_NUM_SYM] = LAYOUT_left_space( | ||
| 42 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 43 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS, | ||
| 44 | KC_LCBR, KC_LBRC, KC_LPRN, KC_UNDS, KC_RPRN, KC_RBRC, KC_RCBR, KC_SCLN, KC_QUOTE, KC_BSLASH, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_NAV] = LAYOUT_left_space( | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 53 | ), | ||
| 54 | |||
| 55 | }; | ||
| 56 | |||
| 57 | #ifdef COMBO_ENABLE | ||
| 58 | const uint16_t PROGMEM combo_tab[] = {KC_Q, KC_W, COMBO_END}; | ||
| 59 | const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END}; | ||
| 60 | const uint16_t PROGMEM combo_del[] = {KC_MINS, KC_EQL, COMBO_END}; | ||
| 61 | |||
| 62 | combo_t key_combos[COMBO_COUNT] = { | ||
| 63 | [COMBO_TAB] = COMBO(combo_tab,KC_TAB), | ||
| 64 | [COMBO_ESC] = COMBO(combo_esc,KC_ESC), | ||
| 65 | [COMBO_DEL] = COMBO(combo_del,KC_DEL), | ||
| 66 | |||
| 67 | }; | ||
| 68 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_left_space/readme.md b/keyboards/nimrod/keymaps/default_left_space/readme.md new file mode 100644 index 000000000..e331b9c29 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_left_space/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Left Space Nimrod Layout | ||
| 2 | |||
| 3 | This is the layout for a left space bottom row. | ||
diff --git a/keyboards/nimrod/keymaps/default_left_space/rules.mk b/keyboards/nimrod/keymaps/default_left_space/rules.mk new file mode 100644 index 000000000..ab1e43818 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_left_space/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| COMBO_ENABLE = yes | |||
diff --git a/keyboards/nimrod/keymaps/default_right_space/config.h b/keyboards/nimrod/keymaps/default_right_space/config.h new file mode 100644 index 000000000..9684b5cae --- /dev/null +++ b/keyboards/nimrod/keymaps/default_right_space/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #ifdef COMBO_ENABLE | ||
| 19 | # define COMBO_COUNT 3 | ||
| 20 | # define COMBO_TERM 150 | ||
| 21 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_right_space/keymap.c b/keyboards/nimrod/keymaps/default_right_space/keymap.c new file mode 100644 index 000000000..b6d108ed0 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_right_space/keymap.c | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | enum layers{ | ||
| 19 | _BASE, | ||
| 20 | _NUM_SYM, | ||
| 21 | _NAV | ||
| 22 | }; | ||
| 23 | |||
| 24 | enum combo_events { | ||
| 25 | COMBO_TAB, | ||
| 26 | COMBO_ESC, | ||
| 27 | COMBO_DEL, | ||
| 28 | }; | ||
| 29 | |||
| 30 | #define KC_SF LSFT_T(KC_F) | ||
| 31 | #define KC_SJ RSFT_T(KC_J) | ||
| 32 | |||
| 33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 34 | [_BASE] = LAYOUT_right_space( | ||
| 35 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 36 | KC_A, KC_S, KC_D, KC_SF, KC_G, KC_H, KC_SJ, KC_K, KC_L, KC_ENT, | ||
| 37 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 38 | KC_LCTL, KC_LALT, KC_LGUI, KC_BSPC, MO(_NUM_SYM), LT(_NAV, KC_SPC) | ||
| 39 | ), | ||
| 40 | |||
| 41 | [_NUM_SYM] = LAYOUT_right_space( | ||
| 42 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 43 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS, | ||
| 44 | KC_LCBR, KC_LBRC, KC_LPRN, KC_UNDS, KC_RPRN, KC_RBRC, KC_RCBR, KC_SCLN, KC_QUOTE, KC_BSLASH, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 46 | ), | ||
| 47 | |||
| 48 | [_NAV] = LAYOUT_right_space( | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 52 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 53 | ), | ||
| 54 | |||
| 55 | }; | ||
| 56 | |||
| 57 | #ifdef COMBO_ENABLE | ||
| 58 | const uint16_t PROGMEM combo_tab[] = {KC_Q, KC_W, COMBO_END}; | ||
| 59 | const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END}; | ||
| 60 | const uint16_t PROGMEM combo_del[] = {KC_MINS, KC_EQL, COMBO_END}; | ||
| 61 | |||
| 62 | combo_t key_combos[COMBO_COUNT] = { | ||
| 63 | [COMBO_TAB] = COMBO(combo_tab,KC_TAB), | ||
| 64 | [COMBO_ESC] = COMBO(combo_esc,KC_ESC), | ||
| 65 | [COMBO_DEL] = COMBO(combo_del,KC_DEL), | ||
| 66 | |||
| 67 | }; | ||
| 68 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_right_space/readme.md b/keyboards/nimrod/keymaps/default_right_space/readme.md new file mode 100644 index 000000000..65e6ec80b --- /dev/null +++ b/keyboards/nimrod/keymaps/default_right_space/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Right Space Nimrod Layout | ||
| 2 | |||
| 3 | This is the layout for a right space bottom row. | ||
diff --git a/keyboards/nimrod/keymaps/default_right_space/rules.mk b/keyboards/nimrod/keymaps/default_right_space/rules.mk new file mode 100644 index 000000000..ab1e43818 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_right_space/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| COMBO_ENABLE = yes | |||
diff --git a/keyboards/nimrod/keymaps/default_split_space/config.h b/keyboards/nimrod/keymaps/default_split_space/config.h new file mode 100644 index 000000000..ad0cd6ffd --- /dev/null +++ b/keyboards/nimrod/keymaps/default_split_space/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #ifdef COMBO_ENABLE | ||
| 19 | # define COMBO_COUNT 5 | ||
| 20 | # define COMBO_TERM 150 | ||
| 21 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_split_space/keymap.c b/keyboards/nimrod/keymaps/default_split_space/keymap.c new file mode 100644 index 000000000..8b4fe2add --- /dev/null +++ b/keyboards/nimrod/keymaps/default_split_space/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | enum layers{ | ||
| 19 | _BASE, | ||
| 20 | _NUM_SYM, | ||
| 21 | _NAV | ||
| 22 | }; | ||
| 23 | |||
| 24 | enum combo_events { | ||
| 25 | COMBO_BSPC, | ||
| 26 | COMBO_NUMBAK, | ||
| 27 | COMBO_TAB, | ||
| 28 | COMBO_ESC, | ||
| 29 | COMBO_DEL, | ||
| 30 | }; | ||
| 31 | |||
| 32 | #define KC_CA LCTL_T(KC_A) | ||
| 33 | #define KC_AS LALT_T(KC_S) | ||
| 34 | #define KC_GD LGUI_T(KC_D) | ||
| 35 | #define KC_SF LSFT_T(KC_F) | ||
| 36 | #define KC_SJ RSFT_T(KC_J) | ||
| 37 | #define KC_GK RGUI_T(KC_K) | ||
| 38 | #define KC_AL RALT_T(KC_L) | ||
| 39 | #define KC_CENT RCTL_T(KC_ENT) | ||
| 40 | |||
| 41 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 42 | [_BASE] = LAYOUT_split_space( | ||
| 43 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
| 44 | KC_CA, KC_AS, KC_GD, KC_SF, KC_G, KC_H, KC_SJ, KC_GK, KC_AL, KC_CENT, | ||
| 45 | KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
| 46 | LT(_NUM_SYM, KC_BSPC), LT(_NAV, KC_SPC) | ||
| 47 | ), | ||
| 48 | |||
| 49 | [_NUM_SYM] = LAYOUT_split_space( | ||
| 50 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, | ||
| 51 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_EQUAL, KC_MINS, | ||
| 52 | KC_LCBR, KC_LBRC, KC_LPRN, KC_UNDS, KC_RPRN, KC_RBRC, KC_RCBR, KC_SCLN, KC_QUOTE, KC_BSLASH, | ||
| 53 | KC_TRNS, KC_TRNS | ||
| 54 | ), | ||
| 55 | |||
| 56 | [_NAV] = LAYOUT_split_space( | ||
| 57 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, | ||
| 58 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, | ||
| 59 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 60 | KC_TRNS, KC_TRNS | ||
| 61 | ), | ||
| 62 | |||
| 63 | }; | ||
| 64 | |||
| 65 | #ifdef COMBO_ENABLE | ||
| 66 | const uint16_t PROGMEM combo_bspc[] = {KC_O, KC_P, COMBO_END}; | ||
| 67 | const uint16_t PROGMEM combo_numbak[] = {KC_0, KC_9, COMBO_END}; | ||
| 68 | const uint16_t PROGMEM combo_tab[] = {KC_Q, KC_W, COMBO_END}; | ||
| 69 | const uint16_t PROGMEM combo_esc[] = {KC_E, KC_W, COMBO_END}; | ||
| 70 | const uint16_t PROGMEM combo_del[] = {KC_MINS, KC_EQL, COMBO_END}; | ||
| 71 | |||
| 72 | combo_t key_combos[COMBO_COUNT] = { | ||
| 73 | [COMBO_BSPC] = COMBO(combo_bspc,KC_BSPC), | ||
| 74 | [COMBO_NUMBAK] = COMBO(combo_numbak,KC_BSPC), | ||
| 75 | [COMBO_TAB] = COMBO(combo_tab,KC_TAB), | ||
| 76 | [COMBO_ESC] = COMBO(combo_esc,KC_ESC), | ||
| 77 | [COMBO_DEL] = COMBO(combo_del,KC_DEL), | ||
| 78 | |||
| 79 | }; | ||
| 80 | #endif | ||
diff --git a/keyboards/nimrod/keymaps/default_split_space/readme.md b/keyboards/nimrod/keymaps/default_split_space/readme.md new file mode 100644 index 000000000..aab94d2f0 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_split_space/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # Split Space Nimrod Layout | ||
| 2 | |||
| 3 | This is the layout for a split space bottom row. | ||
diff --git a/keyboards/nimrod/keymaps/default_split_space/rules.mk b/keyboards/nimrod/keymaps/default_split_space/rules.mk new file mode 100644 index 000000000..ab1e43818 --- /dev/null +++ b/keyboards/nimrod/keymaps/default_split_space/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| COMBO_ENABLE = yes | |||
diff --git a/keyboards/nimrod/nimrod.c b/keyboards/nimrod/nimrod.c new file mode 100644 index 000000000..bed03197f --- /dev/null +++ b/keyboards/nimrod/nimrod.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #include "nimrod.h" | ||
diff --git a/keyboards/nimrod/nimrod.h b/keyboards/nimrod/nimrod.h new file mode 100644 index 000000000..253154905 --- /dev/null +++ b/keyboards/nimrod/nimrod.h | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | /* Copyright 2020 cjcodell1 | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | #define XXX KC_NO | ||
| 21 | |||
| 22 | #define LAYOUT_ortho_4x10( \ | ||
| 23 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 24 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 25 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 26 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39 \ | ||
| 27 | ) \ | ||
| 28 | { \ | ||
| 29 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ | ||
| 30 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ | ||
| 31 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ | ||
| 32 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39 } \ | ||
| 33 | } | ||
| 34 | |||
| 35 | #define LAYOUT_left_space( \ | ||
| 36 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 37 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 38 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 39 | K32, K35, K36, K37, K38, K39 \ | ||
| 40 | ) \ | ||
| 41 | { \ | ||
| 42 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ | ||
| 43 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ | ||
| 44 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ | ||
| 45 | { XXX, XXX, K32, XXX, XXX, K35, K36, K37, K38, K39 } \ | ||
| 46 | } | ||
| 47 | |||
| 48 | #define LAYOUT_center_space( \ | ||
| 49 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 50 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 51 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 52 | K30, K31, K34, K37, K38, K39 \ | ||
| 53 | ) \ | ||
| 54 | { \ | ||
| 55 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ | ||
| 56 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ | ||
| 57 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ | ||
| 58 | { K30, K31, XXX, XXX, K34, XXX, XXX, K37, K38, K39 } \ | ||
| 59 | } | ||
| 60 | |||
| 61 | #define LAYOUT_right_space( \ | ||
| 62 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 63 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 64 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 65 | K30, K31, K32, K33, K34, K37 \ | ||
| 66 | ) \ | ||
| 67 | { \ | ||
| 68 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ | ||
| 69 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ | ||
| 70 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ | ||
| 71 | { K30, K31, K32, K33, K34, XXX, XXX, K37, XXX, XXX } \ | ||
| 72 | } | ||
| 73 | |||
| 74 | #define LAYOUT_split_space( \ | ||
| 75 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ | ||
| 76 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ | ||
| 77 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, \ | ||
| 78 | K32, K37 \ | ||
| 79 | ) \ | ||
| 80 | { \ | ||
| 81 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ | ||
| 82 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ | ||
| 83 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ | ||
| 84 | { XXX, XXX, K32, XXX, XXX, XXX, XXX, K37, XXX, XXX } \ | ||
| 85 | } | ||
diff --git a/keyboards/nimrod/readme.md b/keyboards/nimrod/readme.md new file mode 100644 index 000000000..3fb5724ac --- /dev/null +++ b/keyboards/nimrod/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # Nimrod | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The Nimrod is a 4x10 ortholinear keyboard designed by cjcodell1. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Breadtamer](https://github.com/cjcodell1) | ||
| 8 | * Hardware Supported: [Nimrod PCB](https://github.com/cjcodell1/nimrod) | ||
| 9 | * Hardware Availability: [Top and Bottom Plates](https://github.com/cjcodell1/nimrod) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make nimrod:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make nimrod:default:flash | ||
| 18 | |||
| 19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/nimrod/rules.mk b/keyboards/nimrod/rules.mk new file mode 100644 index 000000000..05eec6a66 --- /dev/null +++ b/keyboards/nimrod/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = caterina | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | LAYOUTS = ortho_4x10 | ||
