diff options
| author | 4pplet <mail@4pplet.com> | 2021-10-02 17:17:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-02 08:17:54 -0700 |
| commit | 0acedbe09fb5e92fa5df722799aebc3edd9e2c8d (patch) | |
| tree | ca79eaf4a1bed1aa9e7f154923363217cb3a23cd | |
| parent | 875bbd31dc46d14a3a87d633081d1ba9c1225923 (diff) | |
| download | qmk_firmware-0acedbe09fb5e92fa5df722799aebc3edd9e2c8d.tar.gz qmk_firmware-0acedbe09fb5e92fa5df722799aebc3edd9e2c8d.zip | |
[Keyboard] Adding kbnordic nordic60 (#14555)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: 4pplet <4pplet@protonmail.com>
Co-authored-by: 4pplet <stefan.ess@gmail.com>
| -rw-r--r-- | keyboards/kbnordic/nordic60/info.json | 212 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/keymaps/all/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/keymaps/default_ansi/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/keymaps/via/keymap.c | 48 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/readme.md | 20 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/rev_a/config.h | 61 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/rev_a/readme.md | 12 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/rev_a/rev_a.c | 17 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/rev_a/rev_a.h | 64 | ||||
| -rw-r--r-- | keyboards/kbnordic/nordic60/rev_a/rules.mk | 21 |
12 files changed, 558 insertions, 0 deletions
diff --git a/keyboards/kbnordic/nordic60/info.json b/keyboards/kbnordic/nordic60/info.json new file mode 100644 index 000000000..266e7fde4 --- /dev/null +++ b/keyboards/kbnordic/nordic60/info.json | |||
| @@ -0,0 +1,212 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Nordic60 Rev A", | ||
| 3 | "url": "kbnordic.se", | ||
| 4 | "maintainer": "4pplet", | ||
| 5 | "layouts": { | ||
| 6 | |||
| 7 | "LAYOUT_iso": { | ||
| 8 | "layout": [ | ||
| 9 | { "label": "~", "x": 0, "y": 0 }, | ||
| 10 | { "label": "!", "x": 1, "y": 0 }, | ||
| 11 | { "label": "@", "x": 2, "y": 0 }, | ||
| 12 | { "label": "#", "x": 3, "y": 0 }, | ||
| 13 | { "label": "$", "x": 4, "y": 0 }, | ||
| 14 | { "label": "%", "x": 5, "y": 0 }, | ||
| 15 | { "label": "^", "x": 6, "y": 0 }, | ||
| 16 | { "label": "&", "x": 7, "y": 0 }, | ||
| 17 | { "label": "*", "x": 8, "y": 0 }, | ||
| 18 | { "label": "(", "x": 9, "y": 0 }, | ||
| 19 | { "label": ")", "x": 10, "y": 0 }, | ||
| 20 | { "label": "_", "x": 11, "y": 0 }, | ||
| 21 | { "label": "+", "x": 12, "y": 0 }, | ||
| 22 | { "label": "Backspace", "w": 2, "x": 13, "y": 0 }, | ||
| 23 | { "label": "Tab", "w": 1.5, "x": 0, "y": 1 }, | ||
| 24 | { "label": "Q", "x": 1.5, "y": 1 }, | ||
| 25 | { "label": "W", "x": 2.5, "y": 1 }, | ||
| 26 | { "label": "E", "x": 3.5, "y": 1 }, | ||
| 27 | { "label": "R", "x": 4.5, "y": 1 }, | ||
| 28 | { "label": "T", "x": 5.5, "y": 1 }, | ||
| 29 | { "label": "Y", "x": 6.5, "y": 1 }, | ||
| 30 | { "label": "U", "x": 7.5, "y": 1 }, | ||
| 31 | { "label": "I", "x": 8.5, "y": 1 }, | ||
| 32 | { "label": "O", "x": 9.5, "y": 1 }, | ||
| 33 | { "label": "P", "x": 10.5, "y": 1 }, | ||
| 34 | { "label": "{", "x": 11.5, "y": 1 }, | ||
| 35 | { "label": "}", "x": 12.5, "y": 1 }, | ||
| 36 | { "h": 2, "label": "ISO", "w": 1.25, "x": 13.75, "y": 1 }, | ||
| 37 | { "label": "Caps Lock", "w": 1.75, "x": 0, "y": 2 }, | ||
| 38 | { "label": "A", "x": 1.75, "y": 2 }, | ||
| 39 | { "label": "S", "x": 2.75, "y": 2 }, | ||
| 40 | { "label": "D", "x": 3.75, "y": 2 }, | ||
| 41 | { "label": "F", "x": 4.75, "y": 2 }, | ||
| 42 | { "label": "G", "x": 5.75, "y": 2 }, | ||
| 43 | { "label": "H", "x": 6.75, "y": 2 }, | ||
| 44 | { "label": "J", "x": 7.75, "y": 2 }, | ||
| 45 | { "label": "K", "x": 8.75, "y": 2 }, | ||
| 46 | { "label": "L", "x": 9.75, "y": 2 }, | ||
| 47 | { "label": ":", "x": 10.75, "y": 2 }, | ||
| 48 | { "label": "\"", "x": 11.75, "y": 2 }, | ||
| 49 | { "label": "ISO", "x": 12.75, "y": 2 }, | ||
| 50 | { "label": "Shift", "w": 1.25, "x": 0, "y": 3 }, | ||
| 51 | { "label": "ISO", "x": 1.25, "y": 3 }, | ||
| 52 | { "label": "Z", "x": 2.25, "y": 3 }, | ||
| 53 | { "label": "X", "x": 3.25, "y": 3 }, | ||
| 54 | { "label": "C", "x": 4.25, "y": 3 }, | ||
| 55 | { "label": "V", "x": 5.25, "y": 3 }, | ||
| 56 | { "label": "B", "x": 6.25, "y": 3 }, | ||
| 57 | { "label": "N", "x": 7.25, "y": 3 }, | ||
| 58 | { "label": "M", "x": 8.25, "y": 3 }, | ||
| 59 | { "label": "<", "x": 9.25, "y": 3 }, | ||
| 60 | { "label": ">", "x": 10.25, "y": 3 }, | ||
| 61 | { "label": "?", "x": 11.25, "y": 3 }, | ||
| 62 | { "label": "Shift", "w": 1.75, "x": 12.25, "y": 3 }, | ||
| 63 | { "label": "Fn", "x": 14, "y": 3 }, | ||
| 64 | { "label": "Ctrl", "w": 1.25, "x": 0, "y": 4 }, | ||
| 65 | { "label": "Win", "w": 1.25, "x": 1.25, "y": 4 }, | ||
| 66 | { "label": "Alt", "w": 1.25, "x": 2.5, "y": 4 }, | ||
| 67 | { "w": 6.25, "x": 3.75, "y": 4 }, | ||
| 68 | { "label": "Alt", "w": 1.25, "x": 10, "y": 4 }, | ||
| 69 | { "label": "Win", "w": 1.25, "x": 11.25, "y": 4 }, | ||
| 70 | { "label": "Menu", "w": 1.25, "x": 12.5, "y": 4 }, | ||
| 71 | { "label": "Ctrl", "w": 1.25, "x": 13.75, "y": 4 } | ||
| 72 | ] | ||
| 73 | }, | ||
| 74 | |||
| 75 | "LAYOUT_ansi": { | ||
| 76 | "layout": [ | ||
| 77 | { "label": "~", "x": 0, "y": 0 }, | ||
| 78 | { "label": "!", "x": 1, "y": 0 }, | ||
| 79 | { "label": "@", "x": 2, "y": 0 }, | ||
| 80 | { "label": "#", "x": 3, "y": 0 }, | ||
| 81 | { "label": "$", "x": 4, "y": 0 }, | ||
| 82 | { "label": "%", "x": 5, "y": 0 }, | ||
| 83 | { "label": "^", "x": 6, "y": 0 }, | ||
| 84 | { "label": "&", "x": 7, "y": 0 }, | ||
| 85 | { "label": "*", "x": 8, "y": 0 }, | ||
| 86 | { "label": "(", "x": 9, "y": 0 }, | ||
| 87 | { "label": ")", "x": 10, "y": 0 }, | ||
| 88 | { "label": "_", "x": 11, "y": 0 }, | ||
| 89 | { "label": "+", "x": 12, "y": 0 }, | ||
| 90 | { "label": "Backspace", "w": 2, "x": 13, "y": 0 }, | ||
| 91 | { "label": "Tab", "w": 1.5, "x": 0, "y": 1 }, | ||
| 92 | { "label": "Q", "x": 1.5, "y": 1 }, | ||
| 93 | { "label": "W", "x": 2.5, "y": 1 }, | ||
| 94 | { "label": "E", "x": 3.5, "y": 1 }, | ||
| 95 | { "label": "R", "x": 4.5, "y": 1 }, | ||
| 96 | { "label": "T", "x": 5.5, "y": 1 }, | ||
| 97 | { "label": "Y", "x": 6.5, "y": 1 }, | ||
| 98 | { "label": "U", "x": 7.5, "y": 1 }, | ||
| 99 | { "label": "I", "x": 8.5, "y": 1 }, | ||
| 100 | { "label": "O", "x": 9.5, "y": 1 }, | ||
| 101 | { "label": "P", "x": 10.5, "y": 1 }, | ||
| 102 | { "label": "{", "x": 11.5, "y": 1 }, | ||
| 103 | { "label": "}", "x": 12.5, "y": 1 }, | ||
| 104 | { "label": "|", "w": 1.5, "x": 13.5, "y": 1 }, | ||
| 105 | { "label": "Caps Lock", "w": 1.75, "x": 0, "y": 2 }, | ||
| 106 | { "label": "A", "x": 1.75, "y": 2 }, | ||
| 107 | { "label": "S", "x": 2.75, "y": 2 }, | ||
| 108 | { "label": "D", "x": 3.75, "y": 2 }, | ||
| 109 | { "label": "F", "x": 4.75, "y": 2 }, | ||
| 110 | { "label": "G", "x": 5.75, "y": 2 }, | ||
| 111 | { "label": "H", "x": 6.75, "y": 2 }, | ||
| 112 | { "label": "J", "x": 7.75, "y": 2 }, | ||
| 113 | { "label": "K", "x": 8.75, "y": 2 }, | ||
| 114 | { "label": "L", "x": 9.75, "y": 2 }, | ||
| 115 | { "label": ":", "x": 10.75, "y": 2 }, | ||
| 116 | { "label": "\"", "x": 11.75, "y": 2 }, | ||
| 117 | { "label": "Enter", "w": 2.25, "x": 12.75, "y": 2 }, | ||
| 118 | { "label": "Shift", "w": 2.25, "x": 0, "y": 3 }, | ||
| 119 | { "label": "Z", "x": 2.25, "y": 3 }, | ||
| 120 | { "label": "X", "x": 3.25, "y": 3 }, | ||
| 121 | { "label": "C", "x": 4.25, "y": 3 }, | ||
| 122 | { "label": "V", "x": 5.25, "y": 3 }, | ||
| 123 | { "label": "B", "x": 6.25, "y": 3 }, | ||
| 124 | { "label": "N", "x": 7.25, "y": 3 }, | ||
| 125 | { "label": "M", "x": 8.25, "y": 3 }, | ||
| 126 | { "label": "<", "x": 9.25, "y": 3 }, | ||
| 127 | { "label": ">", "x": 10.25, "y": 3 }, | ||
| 128 | { "label": "?", "x": 11.25, "y": 3 }, | ||
| 129 | { "label": "Shift", "w": 1.75, "x": 12.25, "y": 3 }, | ||
| 130 | { "label": "Fn", "x": 14, "y": 3 }, | ||
| 131 | { "label": "Ctrl", "w": 1.25, "x": 0, "y": 4 }, | ||
| 132 | { "label": "Win", "w": 1.25, "x": 1.25, "y": 4 }, | ||
| 133 | { "label": "Alt", "w": 1.25, "x": 2.5, "y": 4 }, | ||
| 134 | { "w": 6.25, "x": 3.75, "y": 4 }, | ||
| 135 | { "label": "Alt", "w": 1.25, "x": 10, "y": 4 }, | ||
| 136 | { "label": "Win", "w": 1.25, "x": 11.25, "y": 4 }, | ||
| 137 | { "label": "Menu", "w": 1.25, "x": 12.5, "y": 4 }, | ||
| 138 | { "label": "Ctrl", "w": 1.25, "x": 13.75, "y": 4 } | ||
| 139 | ] | ||
| 140 | }, | ||
| 141 | "LAYOUT_all": { | ||
| 142 | "layout": [ | ||
| 143 | { "label": "~", "x": 0, "y": 0 }, | ||
| 144 | { "label": "!", "x": 1, "y": 0 }, | ||
| 145 | { "label": "@", "x": 2, "y": 0 }, | ||
| 146 | { "label": "#", "x": 3, "y": 0 }, | ||
| 147 | { "label": "$", "x": 4, "y": 0 }, | ||
| 148 | { "label": "%", "x": 5, "y": 0 }, | ||
| 149 | { "label": "^", "x": 6, "y": 0 }, | ||
| 150 | { "label": "&", "x": 7, "y": 0 }, | ||
| 151 | { "label": "*", "x": 8, "y": 0 }, | ||
| 152 | { "label": "(", "x": 9, "y": 0 }, | ||
| 153 | { "label": ")", "x": 10, "y": 0 }, | ||
| 154 | { "label": "_", "x": 11, "y": 0 }, | ||
| 155 | { "label": "+", "x": 12, "y": 0 }, | ||
| 156 | { "x": 13, "y": 0 }, | ||
| 157 | { "x": 14, "y": 0 }, | ||
| 158 | { "label": "Tab", "w": 1.5, "x": 0, "y": 1 }, | ||
| 159 | { "label": "Q", "x": 1.5, "y": 1 }, | ||
| 160 | { "label": "W", "x": 2.5, "y": 1 }, | ||
| 161 | { "label": "E", "x": 3.5, "y": 1 }, | ||
| 162 | { "label": "R", "x": 4.5, "y": 1 }, | ||
| 163 | { "label": "T", "x": 5.5, "y": 1 }, | ||
| 164 | { "label": "Y", "x": 6.5, "y": 1 }, | ||
| 165 | { "label": "U", "x": 7.5, "y": 1 }, | ||
| 166 | { "label": "I", "x": 8.5, "y": 1 }, | ||
| 167 | { "label": "O", "x": 9.5, "y": 1 }, | ||
| 168 | { "label": "P", "x": 10.5, "y": 1 }, | ||
| 169 | { "label": "{", "x": 11.5, "y": 1 }, | ||
| 170 | { "label": "}", "x": 12.5, "y": 1 }, | ||
| 171 | { "label": "|", "w": 1.5, "x": 13.5, "y": 1 }, | ||
| 172 | { "label": "Caps Lock", "w": 1.75, "x": 0, "y": 2 }, | ||
| 173 | { "label": "A", "x": 1.75, "y": 2 }, | ||
| 174 | { "label": "S", "x": 2.75, "y": 2 }, | ||
| 175 | { "label": "D", "x": 3.75, "y": 2 }, | ||
| 176 | { "label": "F", "x": 4.75, "y": 2 }, | ||
| 177 | { "label": "G", "x": 5.75, "y": 2 }, | ||
| 178 | { "label": "H", "x": 6.75, "y": 2 }, | ||
| 179 | { "label": "J", "x": 7.75, "y": 2 }, | ||
| 180 | { "label": "K", "x": 8.75, "y": 2 }, | ||
| 181 | { "label": "L", "x": 9.75, "y": 2 }, | ||
| 182 | { "label": ":", "x": 10.75, "y": 2 }, | ||
| 183 | { "label": "\"", "x": 11.75, "y": 2 }, | ||
| 184 | { "label": "Enter", "w": 2.25, "x": 12.75, "y": 2 }, | ||
| 185 | { "label": "Shift", "w": 1.25, "x": 0, "y": 3 }, | ||
| 186 | { "label": "ISO", "x": 1.25, "y": 3 }, | ||
| 187 | { "label": "Z", "x": 2.25, "y": 3 }, | ||
| 188 | { "label": "X", "x": 3.25, "y": 3 }, | ||
| 189 | { "label": "C", "x": 4.25, "y": 3 }, | ||
| 190 | { "label": "V", "x": 5.25, "y": 3 }, | ||
| 191 | { "label": "B", "x": 6.25, "y": 3 }, | ||
| 192 | { "label": "N", "x": 7.25, "y": 3 }, | ||
| 193 | { "label": "M", "x": 8.25, "y": 3 }, | ||
| 194 | { "label": "<", "x": 9.25, "y": 3 }, | ||
| 195 | { "label": ">", "x": 10.25, "y": 3 }, | ||
| 196 | { "label": "?", "x": 11.25, "y": 3 }, | ||
| 197 | { "label": "Shift", "w": 1.75, "x": 12.25, "y": 3 }, | ||
| 198 | { "label": "Fn", "x": 14, "y": 3 }, | ||
| 199 | { "label": "Ctrl", "w": 1.25, "x": 0, "y": 4 }, | ||
| 200 | { "label": "Win", "w": 1.25, "x": 1.25, "y": 4 }, | ||
| 201 | { "label": "Alt", "w": 1.25, "x": 2.5, "y": 4 }, | ||
| 202 | { "w": 6.25, "x": 3.75, "y": 4 }, | ||
| 203 | { "label": "Alt", "w": 1.25, "x": 10, "y": 4 }, | ||
| 204 | { "label": "Win", "w": 1.25, "x": 11.25, "y": 4 }, | ||
| 205 | { "label": "Menu", "w": 1.25, "x": 12.5, "y": 4 }, | ||
| 206 | { "label": "Ctrl", "w": 1.25, "x": 13.75, "y": 4 } | ||
| 207 | ] | ||
| 208 | } | ||
| 209 | |||
| 210 | |||
| 211 | } | ||
| 212 | } | ||
diff --git a/keyboards/kbnordic/nordic60/keymaps/all/keymap.c b/keyboards/kbnordic/nordic60/keymaps/all/keymap.c new file mode 100644 index 000000000..57475e95e --- /dev/null +++ b/keyboards/kbnordic/nordic60/keymaps/all/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | // main layer | ||
| 21 | [0] = LAYOUT_all( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_NUHS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 25 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL), | ||
| 27 | // basic function layer | ||
| 28 | [1] = LAYOUT_all( | ||
| 29 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 34 | }; | ||
diff --git a/keyboards/kbnordic/nordic60/keymaps/default/keymap.c b/keyboards/kbnordic/nordic60/keymaps/default/keymap.c new file mode 100644 index 000000000..715fdaaca --- /dev/null +++ b/keyboards/kbnordic/nordic60/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | // main layer | ||
| 21 | [0] = LAYOUT_iso( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, | ||
| 25 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL), | ||
| 27 | // basic function layer | ||
| 28 | [1] = LAYOUT_iso( | ||
| 29 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 34 | }; | ||
diff --git a/keyboards/kbnordic/nordic60/keymaps/default_ansi/keymap.c b/keyboards/kbnordic/nordic60/keymaps/default_ansi/keymap.c new file mode 100644 index 000000000..1ebde8e18 --- /dev/null +++ b/keyboards/kbnordic/nordic60/keymaps/default_ansi/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | // main layer | ||
| 21 | [0] = LAYOUT_ansi( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL), | ||
| 27 | // basic function layer | ||
| 28 | [1] = LAYOUT_ansi( | ||
| 29 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 34 | }; | ||
diff --git a/keyboards/kbnordic/nordic60/keymaps/via/keymap.c b/keyboards/kbnordic/nordic60/keymaps/via/keymap.c new file mode 100644 index 000000000..f8fe78c26 --- /dev/null +++ b/keyboards/kbnordic/nordic60/keymaps/via/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | // main layer | ||
| 21 | [0] = LAYOUT_all( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_NO, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_NUHS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 25 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL), | ||
| 27 | // basic function layer | ||
| 28 | [1] = LAYOUT_all( | ||
| 29 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 34 | // extra layer for VIA | ||
| 35 | [2] = LAYOUT_all( | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 41 | // extra layer for VIA | ||
| 42 | [3] = LAYOUT_all( | ||
| 43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 48 | }; | ||
diff --git a/keyboards/kbnordic/nordic60/keymaps/via/rules.mk b/keyboards/kbnordic/nordic60/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/kbnordic/nordic60/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/kbnordic/nordic60/readme.md b/keyboards/kbnordic/nordic60/readme.md new file mode 100644 index 000000000..7b4f29d22 --- /dev/null +++ b/keyboards/kbnordic/nordic60/readme.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # nordic60 | ||
| 2 | |||
| 3 | PCB designed for kbnordic.se | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [4pplet](https://github.com/4pplet) | ||
| 6 | * Hardware Supported: nordic60 | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make kbnordic/nordic60/rev_a:default | ||
| 11 | |||
| 12 | 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). | ||
| 13 | |||
| 14 | ## Bootloader | ||
| 15 | |||
| 16 | Enter the bootloader in 3 ways: | ||
| 17 | |||
| 18 | * **Bootmagic reset**: Hold down the ESC key | ||
| 19 | * **Physical reset button**: Briefly press the button on the back of the PCB (S301) or short the two pads in the "RST" header. | ||
| 20 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/kbnordic/nordic60/rev_a/config.h b/keyboards/kbnordic/nordic60/rev_a/config.h new file mode 100644 index 000000000..be555417d --- /dev/null +++ b/keyboards/kbnordic/nordic60/rev_a/config.h | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x4445 | ||
| 23 | #define PRODUCT_ID 0x0001 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER KBNORDIC | ||
| 26 | #define PRODUCT Nordic60 Rev A | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 5 | ||
| 30 | #define MATRIX_COLS 14 | ||
| 31 | // ROWS: Top to bottom, COLS: Left to right | ||
| 32 | |||
| 33 | #define MATRIX_ROW_PINS {C2,D0,B0,D6,D5} | ||
| 34 | #define MATRIX_COL_PINS {C4,C5,D2,C6,C7,B7,B6,B5,B4,B3,B2,B1,D1,D4} | ||
| 35 | |||
| 36 | /* COL2ROW or ROW2COL */ | ||
| 37 | #define DIODE_DIRECTION COL2ROW | ||
| 38 | |||
| 39 | /* define if matrix has ghost */ | ||
| 40 | //#define MATRIX_HAS_GHOST | ||
| 41 | |||
| 42 | /* Set 0 if debouncing isn't needed */ | ||
| 43 | #define DEBOUNCE 5 | ||
| 44 | |||
| 45 | #define RGB_DI_PIN D3 | ||
| 46 | #define RGBLED_NUM 16 | ||
| 47 | #define BACKLIGHT_LEVELS 5 | ||
| 48 | |||
| 49 | #define RGBLIGHT_HUE_STEP 8 | ||
| 50 | #define RGBLIGHT_SAT_STEP 8 | ||
| 51 | #define RGBLIGHT_VAL_STEP 8 | ||
| 52 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 53 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 54 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 55 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 56 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 57 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 58 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 59 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 60 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 61 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/kbnordic/nordic60/rev_a/readme.md b/keyboards/kbnordic/nordic60/rev_a/readme.md new file mode 100644 index 000000000..230a84a61 --- /dev/null +++ b/keyboards/kbnordic/nordic60/rev_a/readme.md | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | # nordic60 | ||
| 2 | |||
| 3 | PCB designed for kbnordic.se | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [4pplet](https://github.com/4pplet) | ||
| 6 | * Hardware Supported: nordic60 | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make kbnordic/nordic60/rev_a:default | ||
| 11 | |||
| 12 | 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/kbnordic/nordic60/rev_a/rev_a.c b/keyboards/kbnordic/nordic60/rev_a/rev_a.c new file mode 100644 index 000000000..7c9222081 --- /dev/null +++ b/keyboards/kbnordic/nordic60/rev_a/rev_a.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #include "rev_a.h" | ||
diff --git a/keyboards/kbnordic/nordic60/rev_a/rev_a.h b/keyboards/kbnordic/nordic60/rev_a/rev_a.h new file mode 100644 index 000000000..9b925efaa --- /dev/null +++ b/keyboards/kbnordic/nordic60/rev_a/rev_a.h | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define LAYOUT_all( \ | ||
| 22 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k1d, \ | ||
| 23 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, \ | ||
| 24 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \ | ||
| 25 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 26 | k40, k41, k42, k46, k4a, k4b, k4c, k4d \ | ||
| 27 | ) \ | ||
| 28 | { \ | ||
| 29 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \ | ||
| 30 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \ | ||
| 31 | {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \ | ||
| 32 | {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \ | ||
| 33 | {k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4a, k4b, k4c, k4d}, \ | ||
| 34 | } | ||
| 35 | |||
| 36 | #define LAYOUT_iso( \ | ||
| 37 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k1d, \ | ||
| 38 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2d, \ | ||
| 39 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
| 40 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 41 | k40, k41, k42, k46, k4a, k4b, k4c, k4d \ | ||
| 42 | ) \ | ||
| 43 | { \ | ||
| 44 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO}, \ | ||
| 45 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \ | ||
| 46 | {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \ | ||
| 47 | {k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \ | ||
| 48 | {k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4a, k4b, k4c, k4d}, \ | ||
| 49 | } | ||
| 50 | |||
| 51 | #define LAYOUT_ansi( \ | ||
| 52 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k1d, \ | ||
| 53 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k2c, \ | ||
| 54 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \ | ||
| 55 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 56 | k40, k41, k42, k46, k4a, k4b, k4c, k4d \ | ||
| 57 | ) \ | ||
| 58 | { \ | ||
| 59 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, KC_NO}, \ | ||
| 60 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \ | ||
| 61 | {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d}, \ | ||
| 62 | {k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \ | ||
| 63 | {k40, k41, k42, KC_NO, KC_NO, KC_NO, k46, KC_NO, KC_NO, KC_NO, k4a, k4b, k4c, k4d}, \ | ||
| 64 | } | ||
diff --git a/keyboards/kbnordic/nordic60/rev_a/rules.mk b/keyboards/kbnordic/nordic60/rev_a/rules.mk new file mode 100644 index 000000000..895a77853 --- /dev/null +++ b/keyboards/kbnordic/nordic60/rev_a/rules.mk | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u2 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 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 = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | AUDIO_ENABLE = no # Audio output | ||
