diff options
| author | Danny <nooges@users.noreply.github.com> | 2020-06-23 05:05:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-23 02:05:44 -0700 |
| commit | 3028662fa3b86be55e13875e82ec81969fca03be (patch) | |
| tree | 8aa5fddecd345b96cd55050165645672d35dc173 /keyboards/keebio | |
| parent | aea2d6845a99973d7a1663382bcc7a0d0e6067e0 (diff) | |
| download | qmk_firmware-3028662fa3b86be55e13875e82ec81969fca03be.tar.gz qmk_firmware-3028662fa3b86be55e13875e82ec81969fca03be.zip | |
[Keyboard] Add KBO-5000 keyboard (#9381)
* Initial fork of Sinc
* Setup keymaps, layouts, and encoders
* Add ANSI configurator layout
* Add ISO layout for configurator
* Add all layout option for configurator
* Fix spacing
* Remove extra line
* Remove unneeded ifdef
Diffstat (limited to 'keyboards/keebio')
| -rw-r--r-- | keyboards/keebio/kbo5000/config.h | 21 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/info.json | 339 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/kbo5000.c | 1 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/kbo5000.h | 7 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/keymaps/default/keymap.c | 58 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/keymaps/iso/keymap.c | 58 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/keymaps/via/config.h | 3 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/keymaps/via/keymap.c | 58 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/keymaps/via/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/readme.md | 20 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/rev1/config.h | 65 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/rev1/rev1.c | 32 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/rev1/rev1.h | 73 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/rev1/rules.mk | 3 | ||||
| -rw-r--r-- | keyboards/keebio/kbo5000/rules.mk | 34 |
15 files changed, 775 insertions, 0 deletions
diff --git a/keyboards/keebio/kbo5000/config.h b/keyboards/keebio/kbo5000/config.h new file mode 100644 index 000000000..cfb6bf4ff --- /dev/null +++ b/keyboards/keebio/kbo5000/config.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #include "config_common.h" | ||
diff --git a/keyboards/keebio/kbo5000/info.json b/keyboards/keebio/kbo5000/info.json new file mode 100644 index 000000000..222587c26 --- /dev/null +++ b/keyboards/keebio/kbo5000/info.json | |||
| @@ -0,0 +1,339 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "KBO-5000", | ||
| 3 | "url": "https://keeb.io", | ||
| 4 | "maintainer": "nooges", | ||
| 5 | "width": 20.5, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ansi": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0}, | ||
| 11 | {"label":"F1", "x":2, "y":0}, | ||
| 12 | {"label":"F2", "x":3, "y":0}, | ||
| 13 | {"label":"F3", "x":4, "y":0}, | ||
| 14 | {"label":"F4", "x":5, "y":0}, | ||
| 15 | {"label":"F5", "x":6.5, "y":0}, | ||
| 16 | {"label":"F6", "x":7.5, "y":0}, | ||
| 17 | |||
| 18 | {"label":"F7", "x":10, "y":0}, | ||
| 19 | {"label":"F8", "x":11, "y":0}, | ||
| 20 | {"label":"F9", "x":12.5, "y":0}, | ||
| 21 | {"label":"F10", "x":13.5, "y":0}, | ||
| 22 | {"label":"F11", "x":14.5, "y":0}, | ||
| 23 | {"label":"F12", "x":15.5, "y":0}, | ||
| 24 | {"label":"Prt Sc", "x":17.5, "y":0}, | ||
| 25 | {"label":"Scr Lk", "x":18.5, "y":0}, | ||
| 26 | {"label":"Pause", "x":19.5, "y":0}, | ||
| 27 | |||
| 28 | {"label":"F13", "x":0, "y":1.25}, | ||
| 29 | {"label":"~", "x":1.5, "y":1.25}, | ||
| 30 | {"label":"!", "x":2.5, "y":1.25}, | ||
| 31 | {"label":"@", "x":3.5, "y":1.25}, | ||
| 32 | {"label":"#", "x":4.5, "y":1.25}, | ||
| 33 | {"label":"$", "x":5.5, "y":1.25}, | ||
| 34 | {"label":"%", "x":6.5, "y":1.25}, | ||
| 35 | {"label":"^", "x":7.5, "y":1.25}, | ||
| 36 | |||
| 37 | {"label":"&", "x":10, "y":1.25}, | ||
| 38 | {"label":"*", "x":11, "y":1.25}, | ||
| 39 | {"label":"(", "x":12, "y":1.25}, | ||
| 40 | {"label":")", "x":13, "y":1.25}, | ||
| 41 | {"label":"_", "x":14, "y":1.25}, | ||
| 42 | {"label":"+", "x":15, "y":1.25}, | ||
| 43 | {"label":"Del", "x":16, "y":1.25}, | ||
| 44 | {"label":"Bksp", "x":17, "y":1.25}, | ||
| 45 | {"label":"Ins", "x":18.5, "y":1.25}, | ||
| 46 | {"label":"Pg Up", "x":19.5, "y":1.25}, | ||
| 47 | |||
| 48 | {"label":"F14", "x":0, "y":2.25}, | ||
| 49 | {"label":"Tab", "x":1.5, "y":2.25, "w":1.5}, | ||
| 50 | {"label":"Q", "x":3, "y":2.25}, | ||
| 51 | {"label":"W", "x":4, "y":2.25}, | ||
| 52 | {"label":"E", "x":5, "y":2.25}, | ||
| 53 | {"label":"R", "x":6, "y":2.25}, | ||
| 54 | {"label":"T", "x":7, "y":2.25}, | ||
| 55 | |||
| 56 | {"label":"Y", "x":9.5, "y":2.25}, | ||
| 57 | {"label":"U", "x":10.5, "y":2.25}, | ||
| 58 | {"label":"I", "x":11.5, "y":2.25}, | ||
| 59 | {"label":"O", "x":12.5, "y":2.25}, | ||
| 60 | {"label":"P", "x":13.5, "y":2.25}, | ||
| 61 | {"label":"{", "x":14.5, "y":2.25}, | ||
| 62 | {"label":"}", "x":15.5, "y":2.25}, | ||
| 63 | {"label":"|", "x":16.5, "y":2.25, "w":1.5}, | ||
| 64 | {"label":"Del", "x":18.5, "y":2.25}, | ||
| 65 | {"label":"Pg Dn", "x":19.5, "y":2.25}, | ||
| 66 | |||
| 67 | {"label":"F15", "x":0, "y":3.25}, | ||
| 68 | {"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75}, | ||
| 69 | {"label":"A", "x":3.25, "y":3.25}, | ||
| 70 | {"label":"S", "x":4.25, "y":3.25}, | ||
| 71 | {"label":"D", "x":5.25, "y":3.25}, | ||
| 72 | {"label":"F", "x":6.25, "y":3.25}, | ||
| 73 | {"label":"G", "x":7.25, "y":3.25}, | ||
| 74 | |||
| 75 | {"label":"H", "x":9.75, "y":3.25}, | ||
| 76 | {"label":"J", "x":10.75, "y":3.25}, | ||
| 77 | {"label":"K", "x":11.75, "y":3.25}, | ||
| 78 | {"label":"L", "x":12.75, "y":3.25}, | ||
| 79 | {"label":":", "x":13.75, "y":3.25}, | ||
| 80 | {"label":"\"", "x":14.75, "y":3.25}, | ||
| 81 | {"label":"Enter", "x":15.75, "y":3.25, "w":2.25}, | ||
| 82 | {"label":"Home", "x":18.5, "y":3.25}, | ||
| 83 | {"label":"End", "x":19.5, "y":3.25}, | ||
| 84 | |||
| 85 | {"label":"F16", "x":0, "y":4.25}, | ||
| 86 | {"label":"Shift", "x":1.5, "y":4.25, "w":2.25}, | ||
| 87 | {"label":"Z", "x":3.75, "y":4.25}, | ||
| 88 | {"label":"X", "x":4.75, "y":4.25}, | ||
| 89 | {"label":"C", "x":5.75, "y":4.25}, | ||
| 90 | {"label":"V", "x":6.75, "y":4.25}, | ||
| 91 | {"label":"B", "x":7.75, "y":4.25}, | ||
| 92 | {"label":"N", "x":10.25, "y":4.25}, | ||
| 93 | {"label":"M", "x":11.25, "y":4.25}, | ||
| 94 | {"label":"<", "x":12.25, "y":4.25}, | ||
| 95 | {"label":">", "x":13.25, "y":4.25}, | ||
| 96 | {"label":"?", "x":14.25, "y":4.25}, | ||
| 97 | {"label":"Shift", "x":15.25, "y":4.25, "w":1.75}, | ||
| 98 | {"label":"Up", "x":18.5, "y":4.25}, | ||
| 99 | |||
| 100 | {"label":"F17", "x":0, "y":5.25}, | ||
| 101 | {"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25}, | ||
| 102 | {"label":"Win", "x":2.75, "y":5.25}, | ||
| 103 | {"label":"Alt", "x":3.75, "y":5.25, "w":1.25}, | ||
| 104 | {"label":"Fn", "x":5, "y":5.25, "w":1.25}, | ||
| 105 | {"label":"Space", "x":6.25, "y":5.25}, | ||
| 106 | {"label":"Fn", "x":7.25, "y":5.25, "w":1.25}, | ||
| 107 | {"label":"Fn", "x":10, "y":5.25, "w":1.25}, | ||
| 108 | {"label":"Space", "x":11.25, "y":5.25, "w":2.25}, | ||
| 109 | {"label":"Alt", "x":13.5, "y":5.25, "w":1.25}, | ||
| 110 | {"label":"Win", "x":14.75, "y":5.25}, | ||
| 111 | {"label":"Ctrl", "x":15.75, "y":5.25, "w":1.25}, | ||
| 112 | {"label":"Left", "x":17.5, "y":5.25}, | ||
| 113 | {"label":"Down", "x":18.5, "y":5.25}, | ||
| 114 | {"label":"Right", "x":19.5, "y":5.25} | ||
| 115 | ] | ||
| 116 | }, | ||
| 117 | "LAYOUT_iso": { | ||
| 118 | "layout": [ | ||
| 119 | {"label":"Esc", "x":0, "y":0}, | ||
| 120 | {"label":"F1", "x":2, "y":0}, | ||
| 121 | {"label":"F2", "x":3, "y":0}, | ||
| 122 | {"label":"F3", "x":4, "y":0}, | ||
| 123 | {"label":"F4", "x":5, "y":0}, | ||
| 124 | {"label":"F5", "x":6.5, "y":0}, | ||
| 125 | {"label":"F6", "x":7.5, "y":0}, | ||
| 126 | |||
| 127 | {"label":"F7", "x":10, "y":0}, | ||
| 128 | {"label":"F8", "x":11, "y":0}, | ||
| 129 | {"label":"F9", "x":12.5, "y":0}, | ||
| 130 | {"label":"F10", "x":13.5, "y":0}, | ||
| 131 | {"label":"F11", "x":14.5, "y":0}, | ||
| 132 | {"label":"F12", "x":15.5, "y":0}, | ||
| 133 | {"label":"Prt Sc", "x":17.5, "y":0}, | ||
| 134 | {"label":"Scr Lk", "x":18.5, "y":0}, | ||
| 135 | {"label":"Pause", "x":19.5, "y":0}, | ||
| 136 | |||
| 137 | {"label":"F13", "x":0, "y":1.25}, | ||
| 138 | {"label":"~", "x":1.5, "y":1.25}, | ||
| 139 | {"label":"!", "x":2.5, "y":1.25}, | ||
| 140 | {"label":"@", "x":3.5, "y":1.25}, | ||
| 141 | {"label":"#", "x":4.5, "y":1.25}, | ||
| 142 | {"label":"$", "x":5.5, "y":1.25}, | ||
| 143 | {"label":"%", "x":6.5, "y":1.25}, | ||
| 144 | {"label":"^", "x":7.5, "y":1.25}, | ||
| 145 | |||
| 146 | {"label":"&", "x":10, "y":1.25}, | ||
| 147 | {"label":"*", "x":11, "y":1.25}, | ||
| 148 | {"label":"(", "x":12, "y":1.25}, | ||
| 149 | {"label":")", "x":13, "y":1.25}, | ||
| 150 | {"label":"_", "x":14, "y":1.25}, | ||
| 151 | {"label":"+", "x":15, "y":1.25}, | ||
| 152 | {"label":"Del", "x":16, "y":1.25}, | ||
| 153 | {"label":"Bksp", "x":17, "y":1.25}, | ||
| 154 | {"label":"Ins", "x":18.5, "y":1.25}, | ||
| 155 | {"label":"Pg Up", "x":19.5, "y":1.25}, | ||
| 156 | |||
| 157 | {"label":"F14", "x":0, "y":2.25}, | ||
| 158 | {"label":"Tab", "x":1.5, "y":2.25, "w":1.5}, | ||
| 159 | {"label":"Q", "x":3, "y":2.25}, | ||
| 160 | {"label":"W", "x":4, "y":2.25}, | ||
| 161 | {"label":"E", "x":5, "y":2.25}, | ||
| 162 | {"label":"R", "x":6, "y":2.25}, | ||
| 163 | {"label":"T", "x":7, "y":2.25}, | ||
| 164 | |||
| 165 | {"label":"Y", "x":9.5, "y":2.25}, | ||
| 166 | {"label":"U", "x":10.5, "y":2.25}, | ||
| 167 | {"label":"I", "x":11.5, "y":2.25}, | ||
| 168 | {"label":"O", "x":12.5, "y":2.25}, | ||
| 169 | {"label":"P", "x":13.5, "y":2.25}, | ||
| 170 | {"label":"{", "x":14.5, "y":2.25}, | ||
| 171 | {"label":"}", "x":15.5, "y":2.25}, | ||
| 172 | {"label":"Del", "x":18.5, "y":2.25}, | ||
| 173 | {"label":"Pg Dn", "x":19.5, "y":2.25}, | ||
| 174 | |||
| 175 | {"label":"F15", "x":0, "y":3.25}, | ||
| 176 | {"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75}, | ||
| 177 | {"label":"A", "x":3.25, "y":3.25}, | ||
| 178 | {"label":"S", "x":4.25, "y":3.25}, | ||
| 179 | {"label":"D", "x":5.25, "y":3.25}, | ||
| 180 | {"label":"F", "x":6.25, "y":3.25}, | ||
| 181 | {"label":"G", "x":7.25, "y":3.25}, | ||
| 182 | |||
| 183 | {"label":"H", "x":9.75, "y":3.25}, | ||
| 184 | {"label":"J", "x":10.75, "y":3.25}, | ||
| 185 | {"label":"K", "x":11.75, "y":3.25}, | ||
| 186 | {"label":"L", "x":12.75, "y":3.25}, | ||
| 187 | {"label":":", "x":13.75, "y":3.25}, | ||
| 188 | {"label":"\"", "x":14.75, "y":3.25}, | ||
| 189 | {"label":"#", "x":15.75, "y":3.25}, | ||
| 190 | {"label":"Enter", "x":16.75, "y":2.25, "w":1.25, "h":2}, | ||
| 191 | {"label":"Home", "x":18.5, "y":3.25}, | ||
| 192 | {"label":"End", "x":19.5, "y":3.25}, | ||
| 193 | |||
| 194 | {"label":"F16", "x":0, "y":4.25}, | ||
| 195 | {"label":"Shift", "x":1.5, "y":4.25, "w":1.25}, | ||
| 196 | {"label":"\\", "x":2.75, "y":4.25}, | ||
| 197 | {"label":"Z", "x":3.75, "y":4.25}, | ||
| 198 | {"label":"X", "x":4.75, "y":4.25}, | ||
| 199 | {"label":"C", "x":5.75, "y":4.25}, | ||
| 200 | {"label":"V", "x":6.75, "y":4.25}, | ||
| 201 | {"label":"B", "x":7.75, "y":4.25}, | ||
| 202 | {"label":"N", "x":10.25, "y":4.25}, | ||
| 203 | {"label":"M", "x":11.25, "y":4.25}, | ||
| 204 | {"label":"<", "x":12.25, "y":4.25}, | ||
| 205 | {"label":">", "x":13.25, "y":4.25}, | ||
| 206 | {"label":"?", "x":14.25, "y":4.25}, | ||
| 207 | {"label":"Shift", "x":15.25, "y":4.25, "w":1.75}, | ||
| 208 | {"label":"Up", "x":18.5, "y":4.25}, | ||
| 209 | |||
| 210 | {"label":"F17", "x":0, "y":5.25}, | ||
| 211 | {"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25}, | ||
| 212 | {"label":"Win", "x":2.75, "y":5.25}, | ||
| 213 | {"label":"Alt", "x":3.75, "y":5.25, "w":1.25}, | ||
| 214 | {"label":"Fn", "x":5, "y":5.25, "w":1.25}, | ||
| 215 | {"label":"Space", "x":6.25, "y":5.25}, | ||
| 216 | {"label":"Fn", "x":7.25, "y":5.25, "w":1.25}, | ||
| 217 | {"label":"Fn", "x":10, "y":5.25, "w":1.25}, | ||
| 218 | {"label":"Space", "x":11.25, "y":5.25, "w":2.25}, | ||
| 219 | {"label":"Alt", "x":13.5, "y":5.25, "w":1.25}, | ||
| 220 | {"label":"Win", "x":14.75, "y":5.25}, | ||
| 221 | {"label":"Ctrl", "x":15.75, "y":5.25, "w":1.25}, | ||
| 222 | {"label":"Left", "x":17.5, "y":5.25}, | ||
| 223 | {"label":"Down", "x":18.5, "y":5.25}, | ||
| 224 | {"label":"Right", "x":19.5, "y":5.25} | ||
| 225 | ] | ||
| 226 | }, | ||
| 227 | "LAYOUT_all": { | ||
| 228 | "layout": [ | ||
| 229 | {"label":"Esc", "x":0, "y":0}, | ||
| 230 | {"label":"F1", "x":2, "y":0}, | ||
| 231 | {"label":"F2", "x":3, "y":0}, | ||
| 232 | {"label":"F3", "x":4, "y":0}, | ||
| 233 | {"label":"F4", "x":5, "y":0}, | ||
| 234 | {"label":"F5", "x":6.5, "y":0}, | ||
| 235 | {"label":"F6", "x":7.5, "y":0}, | ||
| 236 | |||
| 237 | {"label":"F7", "x":10, "y":0}, | ||
| 238 | {"label":"F8", "x":11, "y":0}, | ||
| 239 | {"label":"F9", "x":12.5, "y":0}, | ||
| 240 | {"label":"F10", "x":13.5, "y":0}, | ||
| 241 | {"label":"F11", "x":14.5, "y":0}, | ||
| 242 | {"label":"F12", "x":15.5, "y":0}, | ||
| 243 | {"label":"Prt Sc", "x":17.5, "y":0}, | ||
| 244 | {"label":"Scr Lk", "x":18.5, "y":0}, | ||
| 245 | {"label":"Pause", "x":19.5, "y":0}, | ||
| 246 | |||
| 247 | {"label":"F13", "x":0, "y":1.25}, | ||
| 248 | {"label":"~", "x":1.5, "y":1.25}, | ||
| 249 | {"label":"!", "x":2.5, "y":1.25}, | ||
| 250 | {"label":"@", "x":3.5, "y":1.25}, | ||
| 251 | {"label":"#", "x":4.5, "y":1.25}, | ||
| 252 | {"label":"$", "x":5.5, "y":1.25}, | ||
| 253 | {"label":"%", "x":6.5, "y":1.25}, | ||
| 254 | {"label":"^", "x":7.5, "y":1.25}, | ||
| 255 | |||
| 256 | {"label":"&", "x":10, "y":1.25}, | ||
| 257 | {"label":"*", "x":11, "y":1.25}, | ||
| 258 | {"label":"(", "x":12, "y":1.25}, | ||
| 259 | {"label":")", "x":13, "y":1.25}, | ||
| 260 | {"label":"_", "x":14, "y":1.25}, | ||
| 261 | {"label":"+", "x":15, "y":1.25}, | ||
| 262 | {"label":"Del", "x":16, "y":1.25}, | ||
| 263 | {"label":"Bksp", "x":17, "y":1.25}, | ||
| 264 | {"label":"Ins", "x":18.5, "y":1.25}, | ||
| 265 | {"label":"Pg Up", "x":19.5, "y":1.25}, | ||
| 266 | |||
| 267 | {"label":"F14", "x":0, "y":2.25}, | ||
| 268 | {"label":"Tab", "x":1.5, "y":2.25, "w":1.5}, | ||
| 269 | {"label":"Q", "x":3, "y":2.25}, | ||
| 270 | {"label":"W", "x":4, "y":2.25}, | ||
| 271 | {"label":"E", "x":5, "y":2.25}, | ||
| 272 | {"label":"R", "x":6, "y":2.25}, | ||
| 273 | {"label":"T", "x":7, "y":2.25}, | ||
| 274 | |||
| 275 | {"label":"Y", "x":9.5, "y":2.25}, | ||
| 276 | {"label":"U", "x":10.5, "y":2.25}, | ||
| 277 | {"label":"I", "x":11.5, "y":2.25}, | ||
| 278 | {"label":"O", "x":12.5, "y":2.25}, | ||
| 279 | {"label":"P", "x":13.5, "y":2.25}, | ||
| 280 | {"label":"{", "x":14.5, "y":2.25}, | ||
| 281 | {"label":"}", "x":15.5, "y":2.25}, | ||
| 282 | {"label":"|", "x":16.5, "y":2.25, "w":1.5}, | ||
| 283 | {"label":"Del", "x":18.5, "y":2.25}, | ||
| 284 | {"label":"Pg Dn", "x":19.5, "y":2.25}, | ||
| 285 | |||
| 286 | {"label":"F15", "x":0, "y":3.25}, | ||
| 287 | {"label":"Caps Lock", "x":1.5, "y":3.25, "w":1.75}, | ||
| 288 | {"label":"A", "x":3.25, "y":3.25}, | ||
| 289 | {"label":"S", "x":4.25, "y":3.25}, | ||
| 290 | {"label":"D", "x":5.25, "y":3.25}, | ||
| 291 | {"label":"F", "x":6.25, "y":3.25}, | ||
| 292 | {"label":"G", "x":7.25, "y":3.25}, | ||
| 293 | |||
| 294 | {"label":"H", "x":9.75, "y":3.25}, | ||
| 295 | {"label":"J", "x":10.75, "y":3.25}, | ||
| 296 | {"label":"K", "x":11.75, "y":3.25}, | ||
| 297 | {"label":"L", "x":12.75, "y":3.25}, | ||
| 298 | {"label":":", "x":13.75, "y":3.25}, | ||
| 299 | {"label":"\"", "x":14.75, "y":3.25}, | ||
| 300 | {"label":"#", "x":15.75, "y":3.25}, | ||
| 301 | {"label":"Enter", "x":16.75, "y":3.25, "w":1.25}, | ||
| 302 | {"label":"Home", "x":18.5, "y":3.25}, | ||
| 303 | {"label":"End", "x":19.5, "y":3.25}, | ||
| 304 | |||
| 305 | {"label":"F16", "x":0, "y":4.25}, | ||
| 306 | {"label":"Shift", "x":1.5, "y":4.25, "w":1.25}, | ||
| 307 | {"label":"\\", "x":2.75, "y":4.25}, | ||
| 308 | {"label":"Z", "x":3.75, "y":4.25}, | ||
| 309 | {"label":"X", "x":4.75, "y":4.25}, | ||
| 310 | {"label":"C", "x":5.75, "y":4.25}, | ||
| 311 | {"label":"V", "x":6.75, "y":4.25}, | ||
| 312 | {"label":"B", "x":7.75, "y":4.25}, | ||
| 313 | {"label":"N", "x":10.25, "y":4.25}, | ||
| 314 | {"label":"M", "x":11.25, "y":4.25}, | ||
| 315 | {"label":"<", "x":12.25, "y":4.25}, | ||
| 316 | {"label":">", "x":13.25, "y":4.25}, | ||
| 317 | {"label":"?", "x":14.25, "y":4.25}, | ||
| 318 | {"label":"Shift", "x":15.25, "y":4.25, "w":1.75}, | ||
| 319 | {"label":"Up", "x":18.5, "y":4.25}, | ||
| 320 | |||
| 321 | {"label":"F17", "x":0, "y":5.25}, | ||
| 322 | {"label":"Ctrl", "x":1.5, "y":5.25, "w":1.25}, | ||
| 323 | {"label":"Win", "x":2.75, "y":5.25}, | ||
| 324 | {"label":"Alt", "x":3.75, "y":5.25, "w":1.25}, | ||
| 325 | {"label":"Fn", "x":5, "y":5.25, "w":1.25}, | ||
| 326 | {"label":"Space", "x":6.25, "y":5.25}, | ||
| 327 | {"label":"Fn", "x":7.25, "y":5.25, "w":1.25}, | ||
| 328 | {"label":"Fn", "x":10, "y":5.25, "w":1.25}, | ||
| 329 | {"label":"Space", "x":11.25, "y":5.25, "w":2.25}, | ||
| 330 | {"label":"Alt", "x":13.5, "y":5.25, "w":1.25}, | ||
| 331 | {"label":"Win", "x":14.75, "y":5.25}, | ||
| 332 | {"label":"Ctrl", "x":15.75, "y":5.25, "w":1.25}, | ||
| 333 | {"label":"Left", "x":17.5, "y":5.25}, | ||
| 334 | {"label":"Down", "x":18.5, "y":5.25}, | ||
| 335 | {"label":"Right", "x":19.5, "y":5.25} | ||
| 336 | ] | ||
| 337 | } | ||
| 338 | } | ||
| 339 | } | ||
diff --git a/keyboards/keebio/kbo5000/kbo5000.c b/keyboards/keebio/kbo5000/kbo5000.c new file mode 100644 index 000000000..c46093537 --- /dev/null +++ b/keyboards/keebio/kbo5000/kbo5000.c | |||
| @@ -0,0 +1 @@ | |||
| #include "kbo5000.h" | |||
diff --git a/keyboards/keebio/kbo5000/kbo5000.h b/keyboards/keebio/kbo5000/kbo5000.h new file mode 100644 index 000000000..33f1998eb --- /dev/null +++ b/keyboards/keebio/kbo5000/kbo5000.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #ifdef KEYBOARD_keebio_kbo5000_rev1 | ||
| 6 | #include "rev1.h" | ||
| 7 | #endif | ||
diff --git a/keyboards/keebio/kbo5000/keymaps/default/keymap.c b/keyboards/keebio/kbo5000/keymaps/default/keymap.c new file mode 100644 index 000000000..00e218989 --- /dev/null +++ b/keyboards/keebio/kbo5000/keymaps/default/keymap.c | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | enum encoder_names { | ||
| 4 | LEFT_HALF_ENC = 0, | ||
| 5 | RIGHT_HALF_ENC1 = 2, | ||
| 6 | RIGHT_HALF_ENC2, | ||
| 7 | }; | ||
| 8 | |||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 10 | [0] = LAYOUT_ansi( | ||
| 11 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, | ||
| 12 | KC_F13, KC_GRV, 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_DEL, KC_BSPC, KC_INS, KC_PGUP, | ||
| 13 | KC_F14, 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, KC_DEL, KC_PGDN, | ||
| 14 | KC_F15, 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, KC_HOME, KC_END, | ||
| 15 | KC_F16, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
| 16 | KC_F17, KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 17 | ), | ||
| 18 | |||
| 19 | [1] = LAYOUT_ansi( | ||
| 20 | BL_STEP, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 21 | RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 22 | RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 23 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 24 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 26 | ), | ||
| 27 | |||
| 28 | [2] = LAYOUT_ansi( | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 35 | ) | ||
| 36 | }; | ||
| 37 | |||
| 38 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 39 | if (index == LEFT_HALF_ENC) { | ||
| 40 | if (clockwise) { | ||
| 41 | tap_code(KC_PGDN); | ||
| 42 | } else { | ||
| 43 | tap_code(KC_PGUP); | ||
| 44 | } | ||
| 45 | } else if (index == RIGHT_HALF_ENC1) { | ||
| 46 | if (clockwise) { | ||
| 47 | tap_code(KC_VOLU); | ||
| 48 | } else { | ||
| 49 | tap_code(KC_VOLD); | ||
| 50 | } | ||
| 51 | } else if (index == RIGHT_HALF_ENC2) { | ||
| 52 | if (clockwise) { | ||
| 53 | tap_code(KC_DOWN); | ||
| 54 | } else { | ||
| 55 | tap_code(KC_UP); | ||
| 56 | } | ||
| 57 | } | ||
| 58 | } | ||
diff --git a/keyboards/keebio/kbo5000/keymaps/iso/keymap.c b/keyboards/keebio/kbo5000/keymaps/iso/keymap.c new file mode 100644 index 000000000..e2c334672 --- /dev/null +++ b/keyboards/keebio/kbo5000/keymaps/iso/keymap.c | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | enum encoder_names { | ||
| 4 | LEFT_HALF_ENC = 0, | ||
| 5 | RIGHT_HALF_ENC1 = 2, | ||
| 6 | RIGHT_HALF_ENC2, | ||
| 7 | }; | ||
| 8 | |||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 10 | [0] = LAYOUT_iso( | ||
| 11 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, | ||
| 12 | KC_F13, KC_GRV, 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_DEL, KC_BSPC, KC_INS, KC_PGUP, | ||
| 13 | KC_F14, 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_DEL, KC_PGDN, | ||
| 14 | KC_F15, 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, KC_ENT, KC_HOME, KC_END, | ||
| 15 | KC_F16, 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, KC_UP, | ||
| 16 | KC_F17, KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 17 | ), | ||
| 18 | |||
| 19 | [1] = LAYOUT_iso( | ||
| 20 | BL_STEP, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 21 | RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 22 | RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 23 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 24 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 26 | ), | ||
| 27 | |||
| 28 | [2] = LAYOUT_iso( | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 35 | ) | ||
| 36 | }; | ||
| 37 | |||
| 38 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 39 | if (index == LEFT_HALF_ENC) { | ||
| 40 | if (clockwise) { | ||
| 41 | tap_code(KC_PGDN); | ||
| 42 | } else { | ||
| 43 | tap_code(KC_PGUP); | ||
| 44 | } | ||
| 45 | } else if (index == RIGHT_HALF_ENC1) { | ||
| 46 | if (clockwise) { | ||
| 47 | tap_code(KC_VOLU); | ||
| 48 | } else { | ||
| 49 | tap_code(KC_VOLD); | ||
| 50 | } | ||
| 51 | } else if (index == RIGHT_HALF_ENC2) { | ||
| 52 | if (clockwise) { | ||
| 53 | tap_code(KC_DOWN); | ||
| 54 | } else { | ||
| 55 | tap_code(KC_UP); | ||
| 56 | } | ||
| 57 | } | ||
| 58 | } | ||
diff --git a/keyboards/keebio/kbo5000/keymaps/via/config.h b/keyboards/keebio/kbo5000/keymaps/via/config.h new file mode 100644 index 000000000..a3b77a5b4 --- /dev/null +++ b/keyboards/keebio/kbo5000/keymaps/via/config.h | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #define DYNAMIC_KEYMAP_LAYER_COUNT 3 | ||
diff --git a/keyboards/keebio/kbo5000/keymaps/via/keymap.c b/keyboards/keebio/kbo5000/keymaps/via/keymap.c new file mode 100644 index 000000000..692358c48 --- /dev/null +++ b/keyboards/keebio/kbo5000/keymaps/via/keymap.c | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | enum encoder_names { | ||
| 4 | LEFT_HALF_ENC = 0, | ||
| 5 | RIGHT_HALF_ENC1 = 2, | ||
| 6 | RIGHT_HALF_ENC2, | ||
| 7 | }; | ||
| 8 | |||
| 9 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 10 | [0] = LAYOUT_all( | ||
| 11 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, | ||
| 12 | KC_F13, KC_GRV, 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_DEL, KC_BSPC, KC_INS, KC_PGUP, | ||
| 13 | KC_F14, 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, KC_DEL, KC_PGDN, | ||
| 14 | KC_F15, 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, KC_ENT, KC_HOME, KC_END, | ||
| 15 | KC_F16, 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, KC_UP, | ||
| 16 | KC_F17, KC_LCTL, KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(1), KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 17 | ), | ||
| 18 | |||
| 19 | [1] = LAYOUT_all( | ||
| 20 | BL_STEP, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 21 | RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 22 | RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 23 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 24 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 26 | ), | ||
| 27 | |||
| 28 | [2] = LAYOUT_all( | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 35 | ) | ||
| 36 | }; | ||
| 37 | |||
| 38 | void encoder_update_user(uint8_t index, bool clockwise) { | ||
| 39 | if (index == LEFT_HALF_ENC) { | ||
| 40 | if (clockwise) { | ||
| 41 | tap_code(KC_PGDN); | ||
| 42 | } else { | ||
| 43 | tap_code(KC_PGUP); | ||
| 44 | } | ||
| 45 | } else if (index == RIGHT_HALF_ENC1) { | ||
| 46 | if (clockwise) { | ||
| 47 | tap_code(KC_VOLU); | ||
| 48 | } else { | ||
| 49 | tap_code(KC_VOLD); | ||
| 50 | } | ||
| 51 | } else if (index == RIGHT_HALF_ENC2) { | ||
| 52 | if (clockwise) { | ||
| 53 | tap_code(KC_DOWN); | ||
| 54 | } else { | ||
| 55 | tap_code(KC_UP); | ||
| 56 | } | ||
| 57 | } | ||
| 58 | } | ||
diff --git a/keyboards/keebio/kbo5000/keymaps/via/rules.mk b/keyboards/keebio/kbo5000/keymaps/via/rules.mk new file mode 100644 index 000000000..4b1bcabda --- /dev/null +++ b/keyboards/keebio/kbo5000/keymaps/via/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | CONSOLE_ENABLE = yes | ||
| 3 | LTO_ENABLE = yes | ||
diff --git a/keyboards/keebio/kbo5000/readme.md b/keyboards/keebio/kbo5000/readme.md new file mode 100644 index 000000000..1f1f63889 --- /dev/null +++ b/keyboards/keebio/kbo5000/readme.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # KBO-5000 | ||
| 2 | |||
| 3 | A split staggered keyboard designed to be like the G80-5000, made and sold by Keebio. [More info at Keebio](https://keeb.io). | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [Bakingpy/nooges](https://github.com/nooges) | ||
| 6 | * Hardware Availability: [Keebio](https://keeb.io/) | ||
| 7 | |||
| 8 | Make example for this keyboard (after setting up your build environment): | ||
| 9 | |||
| 10 | make keebio/kbo5000/rev1:default | ||
| 11 | |||
| 12 | Example of flashing this keyboard: | ||
| 13 | |||
| 14 | make keebio/kbo5000/rev1:default:flash | ||
| 15 | |||
| 16 | Handedness detection is already hardwired onto the PCB, so no need to deal with `EE_HANDS` or flashing .eep files. | ||
| 17 | |||
| 18 | See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. | ||
| 19 | |||
| 20 | A build guide for this keyboard can be found here: [Keebio Build Guides](https://docs.keeb.io) | ||
diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h new file mode 100644 index 000000000..085bfa47b --- /dev/null +++ b/keyboards/keebio/kbo5000/rev1/config.h | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 3 | Copyright 2015 Jack Humbert | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0xCB10 | ||
| 23 | #define PRODUCT_ID 0x126A | ||
| 24 | #define DEVICE_VER 0x0100 | ||
| 25 | #define MANUFACTURER Keebio | ||
| 26 | #define PRODUCT KBO-5000 Rev. 1 | ||
| 27 | #define DESCRIPTION Split staggered keyboard | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | // Rows are doubled-up | ||
| 31 | #define MATRIX_ROWS 12 | ||
| 32 | #define MATRIX_COLS 10 | ||
| 33 | |||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | // wiring of each half | ||
| 36 | #define MATRIX_ROW_PINS { B1, B2, C7, B4, D7, B0 } | ||
| 37 | #define MATRIX_COL_PINS { F4, NO_PIN, F0, B7, B3, D2, D3, D5, D4, NO_PIN } | ||
| 38 | #define MATRIX_ROW_PINS_RIGHT { B3, B2, B6, B4, D7, B0 } | ||
| 39 | #define MATRIX_COL_PINS_RIGHT { F1, F0, F4, F5, F6, D5, D2, D3, B7, B1 } | ||
| 40 | #define SPLIT_HAND_PIN F7 | ||
| 41 | #define ENCODERS_PAD_A { F5, NO_PIN } | ||
| 42 | #define ENCODERS_PAD_B { F6, NO_PIN } | ||
| 43 | #define ENCODERS_PAD_A_RIGHT { D6, C7 } | ||
| 44 | #define ENCODERS_PAD_B_RIGHT { D4, C6 } | ||
| 45 | |||
| 46 | /* Set 0 if debouncing isn't needed */ | ||
| 47 | #define DEBOUNCE 5 | ||
| 48 | |||
| 49 | #define BACKLIGHT_PIN B5 | ||
| 50 | #define CAPS_LOCK_LED_PIN B6 | ||
| 51 | |||
| 52 | /* serial.c configuration for split keyboard */ | ||
| 53 | #define SOFT_SERIAL_PIN D0 | ||
| 54 | |||
| 55 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 56 | #define LOCKING_SUPPORT_ENABLE | ||
| 57 | /* Locking resynchronize hack */ | ||
| 58 | #define LOCKING_RESYNC_ENABLE | ||
| 59 | |||
| 60 | /* ws2812 RGB LED */ | ||
| 61 | #define RGB_DI_PIN E6 | ||
| 62 | #define RGBLIGHT_ANIMATIONS | ||
| 63 | #define RGBLED_NUM 16 // Number of LEDs | ||
| 64 | #define RGBLED_SPLIT { 8, 8 } | ||
| 65 | #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } | ||
diff --git a/keyboards/keebio/kbo5000/rev1/rev1.c b/keyboards/keebio/kbo5000/rev1/rev1.c new file mode 100644 index 000000000..fafad9b6a --- /dev/null +++ b/keyboards/keebio/kbo5000/rev1/rev1.c | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | #include "kbo5000.h" | ||
| 2 | #include "split_util.h" | ||
| 3 | |||
| 4 | void matrix_init_kb(void) { | ||
| 5 | setPinOutput(CAPS_LOCK_LED_PIN); | ||
| 6 | matrix_init_user(); | ||
| 7 | } | ||
| 8 | |||
| 9 | bool led_update_kb(led_t led_state) { | ||
| 10 | // Only update if left half | ||
| 11 | if (isLeftHand && led_update_user(led_state)) { | ||
| 12 | writePin(CAPS_LOCK_LED_PIN, !led_state.caps_lock); | ||
| 13 | } | ||
| 14 | return true; | ||
| 15 | } | ||
| 16 | |||
| 17 | void eeconfig_init_kb(void) { | ||
| 18 | #ifdef BACKLIGHT_ENABLE | ||
| 19 | backlight_enable(); | ||
| 20 | backlight_level(3); | ||
| 21 | #endif | ||
| 22 | #ifdef RGBLIGHT_ENABLE | ||
| 23 | rgblight_enable(); // Enable RGB by default | ||
| 24 | rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness | ||
| 25 | #ifdef RGBLIGHT_ANIMATIONS | ||
| 26 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default | ||
| 27 | #endif | ||
| 28 | #endif | ||
| 29 | |||
| 30 | eeconfig_update_kb(0); | ||
| 31 | eeconfig_init_user(); | ||
| 32 | } | ||
diff --git a/keyboards/keebio/kbo5000/rev1/rev1.h b/keyboards/keebio/kbo5000/rev1/rev1.h new file mode 100644 index 000000000..63239d346 --- /dev/null +++ b/keyboards/keebio/kbo5000/rev1/rev1.h | |||
| @@ -0,0 +1,73 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "kbo5000.h" | ||
| 4 | #include "quantum.h" | ||
| 5 | |||
| 6 | #define LAYOUT_ansi( \ | ||
| 7 | LF1, LF4, LF5, LF6, LF7, LF8, LF9, RF1, RF2, RF4, RF5, RF6, RF7, RF8, RF9, RF10, \ | ||
| 8 | LA1, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10, \ | ||
| 9 | LB1, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, RB10, \ | ||
| 10 | LC1, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC8, RC9, RC10, \ | ||
| 11 | LD1, LD3, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD9, \ | ||
| 12 | LE1, LE3, LE4, LE5, LE6, LE7, LE8, RE1, RE2, RE3, RE4, RE7, RE8, RE9, RE10 \ | ||
| 13 | ) \ | ||
| 14 | { \ | ||
| 15 | { LA1, KC_NO, LA3, LA4, LA5, LA6, LA7, LA8, LA9, KC_NO }, \ | ||
| 16 | { LB1, KC_NO, LB3, LB4, LB5, LB6, LB7, LB8, KC_NO, KC_NO }, \ | ||
| 17 | { LC1, KC_NO, LC3, LC4, LC5, LC6, LC7, LC8, KC_NO, KC_NO }, \ | ||
| 18 | { LD1, KC_NO, LD3, KC_NO, LD5, LD6, LD7, LD8, LD9, KC_NO }, \ | ||
| 19 | { LE1, KC_NO, LE3, LE4, LE5, LE6, LE7, LE8, KC_NO, KC_NO }, \ | ||
| 20 | { LF1, KC_NO, KC_NO, LF4, LF5, LF6, LF7, LF8, LF9, KC_NO }, \ | ||
| 21 | { RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10 }, \ | ||
| 22 | { RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, RB10 }, \ | ||
| 23 | { RC1, RC2, RC3, RC4, RC5, RC6, KC_NO, RC8, RC9, RC10 }, \ | ||
| 24 | { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, KC_NO, RD9, KC_NO }, \ | ||
| 25 | { RE1, RE2, RE3, RE4, KC_NO, KC_NO, RE7, RE8, RE9, RE10 }, \ | ||
| 26 | { RF1, RF2, KC_NO, RF4, RF5, RF6, RF7, RF8, RF9, RF10 } \ | ||
| 27 | } | ||
| 28 | |||
| 29 | #define LAYOUT_iso( \ | ||
| 30 | LF1, LF4, LF5, LF6, LF7, LF8, LF9, RF1, RF2, RF4, RF5, RF6, RF7, RF8, RF9, RF10, \ | ||
| 31 | LA1, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10, \ | ||
| 32 | LB1, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB9, RB10, \ | ||
| 33 | LC1, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC7, RC8, RC9, RC10, \ | ||
| 34 | LD1, LD3, LD4, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD9, \ | ||
| 35 | LE1, LE3, LE4, LE5, LE6, LE7, LE8, RE1, RE2, RE3, RE4, RE7, RE8, RE9, RE10 \ | ||
| 36 | ) \ | ||
| 37 | { \ | ||
| 38 | { LA1, KC_NO, LA3, LA4, LA5, LA6, LA7, LA8, LA9, KC_NO }, \ | ||
| 39 | { LB1, KC_NO, LB3, LB4, LB5, LB6, LB7, LB8, KC_NO, KC_NO }, \ | ||
| 40 | { LC1, KC_NO, LC3, LC4, LC5, LC6, LC7, LC8, KC_NO, KC_NO }, \ | ||
| 41 | { LD1, KC_NO, LD3, LD4, LD5, LD6, LD7, LD8, LD9, KC_NO }, \ | ||
| 42 | { LE1, KC_NO, LE3, LE4, LE5, LE6, LE7, LE8, KC_NO, KC_NO }, \ | ||
| 43 | { LF1, KC_NO, KC_NO, LF4, LF5, LF6, LF7, LF8, LF9, KC_NO }, \ | ||
| 44 | { RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10 }, \ | ||
| 45 | { RB1, RB2, RB3, RB4, RB5, RB6, RB7, KC_NO, RB9, RB10 }, \ | ||
| 46 | { RC1, RC2, RC3, RC4, RC5, RC6, RC7, RC8, RC9, RC10 }, \ | ||
| 47 | { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, KC_NO, RD9, KC_NO }, \ | ||
| 48 | { RE1, RE2, RE3, RE4, KC_NO, KC_NO, RE7, RE8, RE9, RE10 }, \ | ||
| 49 | { RF1, RF2, KC_NO, RF4, RF5, RF6, RF7, RF8, RF9, RF10 } \ | ||
| 50 | } | ||
| 51 | |||
| 52 | #define LAYOUT_all( \ | ||
| 53 | LF1, LF4, LF5, LF6, LF7, LF8, LF9, RF1, RF2, RF4, RF5, RF6, RF7, RF8, RF9, RF10, \ | ||
| 54 | LA1, LA3, LA4, LA5, LA6, LA7, LA8, LA9, RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10, \ | ||
| 55 | LB1, LB3, LB4, LB5, LB6, LB7, LB8, RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, RB10, \ | ||
| 56 | LC1, LC3, LC4, LC5, LC6, LC7, LC8, RC1, RC2, RC3, RC4, RC5, RC6, RC7, RC8, RC9, RC10, \ | ||
| 57 | LD1, LD3, LD4, LD5, LD6, LD7, LD8, LD9, RD1, RD2, RD3, RD4, RD5, RD7, RD9, \ | ||
| 58 | LE1, LE3, LE4, LE5, LE6, LE7, LE8, RE1, RE2, RE3, RE4, RE7, RE8, RE9, RE10 \ | ||
| 59 | ) \ | ||
| 60 | { \ | ||
| 61 | { LA1, KC_NO, LA3, LA4, LA5, LA6, LA7, LA8, LA9, KC_NO }, \ | ||
| 62 | { LB1, KC_NO, LB3, LB4, LB5, LB6, LB7, LB8, KC_NO, KC_NO }, \ | ||
| 63 | { LC1, KC_NO, LC3, LC4, LC5, LC6, LC7, LC8, KC_NO, KC_NO }, \ | ||
| 64 | { LD1, KC_NO, LD3, LD4, LD5, LD6, LD7, LD8, LD9, KC_NO }, \ | ||
| 65 | { LE1, KC_NO, LE3, LE4, LE5, LE6, LE7, LE8, KC_NO, KC_NO }, \ | ||
| 66 | { LF1, KC_NO, KC_NO, LF4, LF5, LF6, LF7, LF8, LF9, KC_NO }, \ | ||
| 67 | { RA1, RA2, RA3, RA4, RA5, RA6, RA7, RA8, RA9, RA10 }, \ | ||
| 68 | { RB1, RB2, RB3, RB4, RB5, RB6, RB7, RB8, RB9, RB10 }, \ | ||
| 69 | { RC1, RC2, RC3, RC4, RC5, RC6, RC7, RC8, RC9, RC10 }, \ | ||
| 70 | { RD1, RD2, RD3, RD4, RD5, KC_NO, RD7, KC_NO, RD9, KC_NO }, \ | ||
| 71 | { RE1, RE2, RE3, RE4, KC_NO, KC_NO, RE7, RE8, RE9, RE10 }, \ | ||
| 72 | { RF1, RF2, KC_NO, RF4, RF5, RF6, RF7, RF8, RF9, RF10 } \ | ||
| 73 | } | ||
diff --git a/keyboards/keebio/kbo5000/rev1/rules.mk b/keyboards/keebio/kbo5000/rev1/rules.mk new file mode 100644 index 000000000..32e788159 --- /dev/null +++ b/keyboards/keebio/kbo5000/rev1/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | BACKLIGHT_ENABLE = yes | ||
| 2 | RGBLIGHT_ENABLE = yes | ||
| 3 | ENCODER_ENABLE = yes | ||
diff --git a/keyboards/keebio/kbo5000/rules.mk b/keyboards/keebio/kbo5000/rules.mk new file mode 100644 index 000000000..5292231d5 --- /dev/null +++ b/keyboards/keebio/kbo5000/rules.mk | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = yes # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 23 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 24 | MIDI_ENABLE = no # MIDI controls | ||
| 25 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 26 | UNICODE_ENABLE = no # Unicode | ||
| 27 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 28 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
| 29 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 30 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 31 | LTO_ENABLE = yes | ||
| 32 | SPLIT_KEYBOARD = yes | ||
| 33 | |||
| 34 | DEFAULT_FOLDER = keebio/kbo5000/rev1 | ||
