diff options
| author | Felix Jen <fjen@felixjen.com> | 2021-01-01 18:44:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-01 16:44:45 -0800 |
| commit | 8da9219c1616aa77781af60d16721b1706b28f04 (patch) | |
| tree | d2fe17cb810121c20c14d17b4c1aa239820582c2 /keyboards/lucid/kbd8x_hs | |
| parent | d321cb3f8bcdd2ab15c13785f6fc4dd3474ec1ec (diff) | |
| download | qmk_firmware-8da9219c1616aa77781af60d16721b1706b28f04.tar.gz qmk_firmware-8da9219c1616aa77781af60d16721b1706b28f04.zip | |
[Keyboard] Added Phantom Solder PCB and KBD8X HS PCB Variants (#11282)
* Added config for phantom solder all layout via only
* fixed matrix def
* Added KBD8X
* changed info name
* lowercase instances of LAYOUT_ALL and edited rules.mk
* edited kbd8x results
* fixed kbd8x rules
* removed trailing comma in kbd8x info
* Update keyboards/lucid/kbd8x_hs/config.h
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/lucid/kbd8x_hs/kbd8x_hs.h
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/lucid/kbd8x_hs/readme.md
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/lucid/kbd8x_hs/rules.mk
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/lucid/phantom_solder/info.json
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/lucid/phantom_solder/readme.md
Co-authored-by: Joel Challis <git@zvecr.com>
* Update keyboards/lucid/phantom_solder/rules.mk
Co-authored-by: Joel Challis <git@zvecr.com>
* Fixed info.json key mismatch
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/lucid/kbd8x_hs')
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/config.h | 105 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/info.json | 298 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/kbd8x_hs.h | 67 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/kbx8s_hs.c | 14 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/keymaps/default/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/keymaps/default_7u/keymap.c | 41 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/keymaps/via/keymap.c | 61 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/readme.md | 11 | ||||
| -rw-r--r-- | keyboards/lucid/kbd8x_hs/rules.mk | 26 |
10 files changed, 665 insertions, 0 deletions
diff --git a/keyboards/lucid/kbd8x_hs/config.h b/keyboards/lucid/kbd8x_hs/config.h new file mode 100644 index 000000000..a7e63aa07 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/config.h | |||
| @@ -0,0 +1,105 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <hello@lucidkb.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 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x7667 // Lucid | ||
| 24 | #define PRODUCT_ID 0x0003 // KBD8X Hotswap PCB's | ||
| 25 | #define DEVICE_VER 0x0001 // Version 1 | ||
| 26 | #define MANUFACTURER Lucid | ||
| 27 | #define PRODUCT KBD8X_HS | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 6 | ||
| 31 | #define MATRIX_COLS 17 | ||
| 32 | |||
| 33 | /* | ||
| 34 | * Keyboard Matrix Assignments | ||
| 35 | * | ||
| 36 | * Change this to how you wired your keyboard | ||
| 37 | * COLS: AVR pins used for columns, left to right | ||
| 38 | * ROWS: AVR pins used for rows, top to bottom | ||
| 39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 41 | *å | ||
| 42 | */ | ||
| 43 | |||
| 44 | // Checked with Eagle Schematic | ||
| 45 | #define MATRIX_ROW_PINS { B4, B5, B6, C0, E1, E0 } | ||
| 46 | #define MATRIX_COL_PINS { F2, F3, F4, F5, F6, F7, A0, A1, A2, A3, A4, A5, A6, A7, D5, D7, D7 } | ||
| 47 | #define UNUSED_PINS | ||
| 48 | |||
| 49 | /* COL2ROW or ROW2COL */ | ||
| 50 | #define DIODE_DIRECTION COL2ROW | ||
| 51 | |||
| 52 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 53 | #define DEBOUNCE 5 | ||
| 54 | |||
| 55 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 56 | //#define MATRIX_HAS_GHOST | ||
| 57 | |||
| 58 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 59 | #define LOCKING_SUPPORT_ENABLE | ||
| 60 | /* Locking resynchronize hack */ | ||
| 61 | #define LOCKING_RESYNC_ENABLE | ||
| 62 | |||
| 63 | /* Define Indicator LED's */ | ||
| 64 | #define LED_CAPS_LOCK_PIN B7 | ||
| 65 | |||
| 66 | /* Define less important options */ | ||
| 67 | |||
| 68 | /* | ||
| 69 | * Force NKRO | ||
| 70 | * | ||
| 71 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 72 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 73 | * makefile for this to work.) | ||
| 74 | * | ||
| 75 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 76 | * until the next keyboard reset. | ||
| 77 | * | ||
| 78 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 79 | * fully operational during normal computer usage. | ||
| 80 | * | ||
| 81 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 82 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 83 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 84 | * power-up. | ||
| 85 | * | ||
| 86 | */ | ||
| 87 | //#define FORCE_NKRO | ||
| 88 | |||
| 89 | /* | ||
| 90 | * Feature disable options | ||
| 91 | * These options are also useful to firmware size reduction. | ||
| 92 | */ | ||
| 93 | |||
| 94 | /* disable debug print */ | ||
| 95 | //#define NO_DEBUG | ||
| 96 | |||
| 97 | /* disable print */ | ||
| 98 | //#define NO_PRINT | ||
| 99 | |||
| 100 | /* disable action features */ | ||
| 101 | //#define NO_ACTION_LAYER | ||
| 102 | //#define NO_ACTION_TAPPING | ||
| 103 | //#define NO_ACTION_ONESHOT | ||
| 104 | #define NO_ACTION_MACRO | ||
| 105 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/lucid/kbd8x_hs/info.json b/keyboards/lucid/kbd8x_hs/info.json new file mode 100644 index 000000000..c8e81f545 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/info.json | |||
| @@ -0,0 +1,298 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "KBD8X Hotswap PCB's", | ||
| 3 | "url": "http://www.lucidkb.com", | ||
| 4 | "maintainer": "Lucid", | ||
| 5 | "width": 18.25, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_tkl_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 | {"label":"F7", "x":8.5, "y":0}, | ||
| 18 | {"label":"F8", "x":9.5, "y":0}, | ||
| 19 | {"label":"F9", "x":11, "y":0}, | ||
| 20 | {"label":"F10", "x":12, "y":0}, | ||
| 21 | {"label":"F11", "x":13, "y":0}, | ||
| 22 | {"label":"F12", "x":14, "y":0}, | ||
| 23 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 24 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 25 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 26 | |||
| 27 | {"label":"~", "x":0, "y":1.25}, | ||
| 28 | {"label":"!", "x":1, "y":1.25}, | ||
| 29 | {"label":"@", "x":2, "y":1.25}, | ||
| 30 | {"label":"#", "x":3, "y":1.25}, | ||
| 31 | {"label":"$", "x":4, "y":1.25}, | ||
| 32 | {"label":"%", "x":5, "y":1.25}, | ||
| 33 | {"label":"^", "x":6, "y":1.25}, | ||
| 34 | {"label":"&", "x":7, "y":1.25}, | ||
| 35 | {"label":"*", "x":8, "y":1.25}, | ||
| 36 | {"label":"(", "x":9, "y":1.25}, | ||
| 37 | {"label":")", "x":10, "y":1.25}, | ||
| 38 | {"label":"_", "x":11, "y":1.25}, | ||
| 39 | {"label":"+", "x":12, "y":1.25}, | ||
| 40 | {"label":"Back Space", "x":13, "y":1.25, "w": 2}, | ||
| 41 | {"label":"Insert", "x":15.25, "y":1.25}, | ||
| 42 | {"label":"Home", "x":16.25, "y":1.25}, | ||
| 43 | {"label":"PgUp", "x":17.25, "y":1.25}, | ||
| 44 | |||
| 45 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 46 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 47 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 48 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 49 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 50 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 51 | {"label":"Y", "x":6.5, "y":2.25}, | ||
| 52 | {"label":"U", "x":7.5, "y":2.25}, | ||
| 53 | {"label":"I", "x":8.5, "y":2.25}, | ||
| 54 | {"label":"O", "x":9.5, "y":2.25}, | ||
| 55 | {"label":"P", "x":10.5, "y":2.25}, | ||
| 56 | {"label":"{", "x":11.5, "y":2.25}, | ||
| 57 | {"label":"}", "x":12.5, "y":2.25}, | ||
| 58 | {"label":"|", "x":13.5, "y":2.25, "w":1.5}, | ||
| 59 | {"label":"Delete", "x":15.25, "y":2.25}, | ||
| 60 | {"label":"End", "x":16.25, "y":2.25}, | ||
| 61 | {"label":"PgDn", "x":17.25, "y":2.25}, | ||
| 62 | |||
| 63 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 64 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 65 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 66 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 67 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 68 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 69 | {"label":"H", "x":6.75, "y":3.25}, | ||
| 70 | {"label":"J", "x":7.75, "y":3.25}, | ||
| 71 | {"label":"K", "x":8.75, "y":3.25}, | ||
| 72 | {"label":"L", "x":9.75, "y":3.25}, | ||
| 73 | {"label":":", "x":10.75, "y":3.25}, | ||
| 74 | {"label":"SQ", "x":11.75, "y":3.25}, | ||
| 75 | {"label":"Enter", "x":12.75, "y":3.25, "w":2.25}, | ||
| 76 | |||
| 77 | {"label":"Shift", "x":0, "y":4.25, "w":2.25}, | ||
| 78 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 79 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 80 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 81 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 82 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 83 | {"label":"N", "x":7.25, "y":4.25}, | ||
| 84 | {"label":"M", "x":8.25, "y":4.25}, | ||
| 85 | {"label":"<", "x":9.25, "y":4.25}, | ||
| 86 | {"label":">", "x":10.25, "y":4.25}, | ||
| 87 | {"label":"?", "x":11.25, "y":4.25}, | ||
| 88 | {"label":"Shift", "x":12.25, "y":4.25, "w":2.75}, | ||
| 89 | {"label":"\u2191", "x":16.25, "y":4.25}, | ||
| 90 | |||
| 91 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 92 | {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, | ||
| 93 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, | ||
| 94 | {"x":3.75, "y":5.25, "w":6.25}, | ||
| 95 | {"label":"Alt", "x":10, "y":5.25, "w":1.25}, | ||
| 96 | {"label":"Win", "x":11.25, "y":5.25, "w":1.25}, | ||
| 97 | {"label":"Menu", "x":12.5, "y":5.25, "w":1.25}, | ||
| 98 | {"label":"Ctrl", "x":13.75, "y":5.25, "w":1.25}, | ||
| 99 | {"label":"\u2190", "x":15.25, "y":5.25}, | ||
| 100 | {"label":"\u2193", "x":16.25, "y":5.25}, | ||
| 101 | {"label":"\u2192", "x":17.25, "y":5.25} | ||
| 102 | ] | ||
| 103 | }, | ||
| 104 | |||
| 105 | "LAYOUT_tkl_ansi_7u": { | ||
| 106 | "layout": [ | ||
| 107 | {"label":"Esc", "x":0, "y":0}, | ||
| 108 | {"label":"F1", "x":2, "y":0}, | ||
| 109 | {"label":"F2", "x":3, "y":0}, | ||
| 110 | {"label":"F3", "x":4, "y":0}, | ||
| 111 | {"label":"F4", "x":5, "y":0}, | ||
| 112 | {"label":"F5", "x":6.5, "y":0}, | ||
| 113 | {"label":"F6", "x":7.5, "y":0}, | ||
| 114 | {"label":"F7", "x":8.5, "y":0}, | ||
| 115 | {"label":"F8", "x":9.5, "y":0}, | ||
| 116 | {"label":"F9", "x":11, "y":0}, | ||
| 117 | {"label":"F10", "x":12, "y":0}, | ||
| 118 | {"label":"F11", "x":13, "y":0}, | ||
| 119 | {"label":"F12", "x":14, "y":0}, | ||
| 120 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 121 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 122 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 123 | |||
| 124 | {"label":"~", "x":0, "y":1.25}, | ||
| 125 | {"label":"!", "x":1, "y":1.25}, | ||
| 126 | {"label":"@", "x":2, "y":1.25}, | ||
| 127 | {"label":"#", "x":3, "y":1.25}, | ||
| 128 | {"label":"$", "x":4, "y":1.25}, | ||
| 129 | {"label":"%", "x":5, "y":1.25}, | ||
| 130 | {"label":"^", "x":6, "y":1.25}, | ||
| 131 | {"label":"&", "x":7, "y":1.25}, | ||
| 132 | {"label":"*", "x":8, "y":1.25}, | ||
| 133 | {"label":"(", "x":9, "y":1.25}, | ||
| 134 | {"label":")", "x":10, "y":1.25}, | ||
| 135 | {"label":"_", "x":11, "y":1.25}, | ||
| 136 | {"label":"+", "x":12, "y":1.25}, | ||
| 137 | {"label":"Back Space", "x":13, "y":1.25, "w": 2}, | ||
| 138 | {"label":"Insert", "x":15.25, "y":1.25}, | ||
| 139 | {"label":"Home", "x":16.25, "y":1.25}, | ||
| 140 | {"label":"PgUp", "x":17.25, "y":1.25}, | ||
| 141 | |||
| 142 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 143 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 144 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 145 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 146 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 147 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 148 | {"label":"Y", "x":6.5, "y":2.25}, | ||
| 149 | {"label":"U", "x":7.5, "y":2.25}, | ||
| 150 | {"label":"I", "x":8.5, "y":2.25}, | ||
| 151 | {"label":"O", "x":9.5, "y":2.25}, | ||
| 152 | {"label":"P", "x":10.5, "y":2.25}, | ||
| 153 | {"label":"{", "x":11.5, "y":2.25}, | ||
| 154 | {"label":"}", "x":12.5, "y":2.25}, | ||
| 155 | {"label":"|", "x":13.5, "y":2.25, "w":1.5}, | ||
| 156 | {"label":"Delete", "x":15.25, "y":2.25}, | ||
| 157 | {"label":"End", "x":16.25, "y":2.25}, | ||
| 158 | {"label":"PgDn", "x":17.25, "y":2.25}, | ||
| 159 | |||
| 160 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 161 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 162 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 163 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 164 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 165 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 166 | {"label":"H", "x":6.75, "y":3.25}, | ||
| 167 | {"label":"J", "x":7.75, "y":3.25}, | ||
| 168 | {"label":"K", "x":8.75, "y":3.25}, | ||
| 169 | {"label":"L", "x":9.75, "y":3.25}, | ||
| 170 | {"label":":", "x":10.75, "y":3.25}, | ||
| 171 | {"label":"SQ", "x":11.75, "y":3.25}, | ||
| 172 | {"label":"Enter", "x":12.75, "y":3.25, "w":2.25}, | ||
| 173 | |||
| 174 | {"label":"Shift", "x":0, "y":4.25, "w":2.25}, | ||
| 175 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 176 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 177 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 178 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 179 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 180 | {"label":"N", "x":7.25, "y":4.25}, | ||
| 181 | {"label":"M", "x":8.25, "y":4.25}, | ||
| 182 | {"label":"<", "x":9.25, "y":4.25}, | ||
| 183 | {"label":">", "x":10.25, "y":4.25}, | ||
| 184 | {"label":"?", "x":11.25, "y":4.25}, | ||
| 185 | {"label":"Shift", "x":12.25, "y":4.25, "w":2.75}, | ||
| 186 | {"label":"\u2191", "x":16.25, "y":4.25}, | ||
| 187 | |||
| 188 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.5}, | ||
| 189 | {"label":"Win", "x":1.5, "y":5.25}, | ||
| 190 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.5}, | ||
| 191 | {"x":4, "y":5.25, "w":7}, | ||
| 192 | {"label":"Alt", "x":11, "y":5.25, "w":1.5}, | ||
| 193 | {"label":"Win", "x":12.5, "y":5.25, "w":1}, | ||
| 194 | {"label":"Ctrl", "x":13.5, "y":5.25, "w":1.5}, | ||
| 195 | {"label":"\u2190", "x":15.25, "y":5.25}, | ||
| 196 | {"label":"\u2193", "x":16.25, "y":5.25}, | ||
| 197 | {"label":"\u2192", "x":17.25, "y":5.25} | ||
| 198 | ] | ||
| 199 | }, | ||
| 200 | |||
| 201 | "LAYOUT_tkl_all": { | ||
| 202 | "layout": [ | ||
| 203 | {"label":"Esc", "x":0, "y":0}, | ||
| 204 | {"label":"F1", "x":2, "y":0}, | ||
| 205 | {"label":"F2", "x":3, "y":0}, | ||
| 206 | {"label":"F3", "x":4, "y":0}, | ||
| 207 | {"label":"F4", "x":5, "y":0}, | ||
| 208 | {"label":"F5", "x":6.5, "y":0}, | ||
| 209 | {"label":"F6", "x":7.5, "y":0}, | ||
| 210 | {"label":"F7", "x":8.5, "y":0}, | ||
| 211 | {"label":"F8", "x":9.5, "y":0}, | ||
| 212 | {"label":"F9", "x":11, "y":0}, | ||
| 213 | {"label":"F10", "x":12, "y":0}, | ||
| 214 | {"label":"F11", "x":13, "y":0}, | ||
| 215 | {"label":"F12", "x":14, "y":0}, | ||
| 216 | {"label":"PrtSc", "x":15.25, "y":0}, | ||
| 217 | {"label":"Scroll Lock", "x":16.25, "y":0}, | ||
| 218 | {"label":"Pause", "x":17.25, "y":0}, | ||
| 219 | |||
| 220 | {"label":"~", "x":0, "y":1.25}, | ||
| 221 | {"label":"!", "x":1, "y":1.25}, | ||
| 222 | {"label":"@", "x":2, "y":1.25}, | ||
| 223 | {"label":"#", "x":3, "y":1.25}, | ||
| 224 | {"label":"$", "x":4, "y":1.25}, | ||
| 225 | {"label":"%", "x":5, "y":1.25}, | ||
| 226 | {"label":"^", "x":6, "y":1.25}, | ||
| 227 | {"label":"&", "x":7, "y":1.25}, | ||
| 228 | {"label":"*", "x":8, "y":1.25}, | ||
| 229 | {"label":"(", "x":9, "y":1.25}, | ||
| 230 | {"label":")", "x":10, "y":1.25}, | ||
| 231 | {"label":"_", "x":11, "y":1.25}, | ||
| 232 | {"label":"+", "x":12, "y":1.25}, | ||
| 233 | {"label":"Back Space", "x":13, "y":1.25, "w": 2}, | ||
| 234 | {"label":"Insert", "x":15.25, "y":1.25}, | ||
| 235 | {"label":"Home", "x":16.25, "y":1.25}, | ||
| 236 | {"label":"PgUp", "x":17.25, "y":1.25}, | ||
| 237 | |||
| 238 | {"label":"Tab", "x":0, "y":2.25, "w":1.5}, | ||
| 239 | {"label":"Q", "x":1.5, "y":2.25}, | ||
| 240 | {"label":"W", "x":2.5, "y":2.25}, | ||
| 241 | {"label":"E", "x":3.5, "y":2.25}, | ||
| 242 | {"label":"R", "x":4.5, "y":2.25}, | ||
| 243 | {"label":"T", "x":5.5, "y":2.25}, | ||
| 244 | {"label":"Y", "x":6.5, "y":2.25}, | ||
| 245 | {"label":"U", "x":7.5, "y":2.25}, | ||
| 246 | {"label":"I", "x":8.5, "y":2.25}, | ||
| 247 | {"label":"O", "x":9.5, "y":2.25}, | ||
| 248 | {"label":"P", "x":10.5, "y":2.25}, | ||
| 249 | {"label":"{", "x":11.5, "y":2.25}, | ||
| 250 | {"label":"}", "x":12.5, "y":2.25}, | ||
| 251 | {"label":"|", "x":13.5, "y":2.25, "w":1.5}, | ||
| 252 | {"label":"Delete", "x":15.25, "y":2.25}, | ||
| 253 | {"label":"End", "x":16.25, "y":2.25}, | ||
| 254 | {"label":"PgDn", "x":17.25, "y":2.25}, | ||
| 255 | |||
| 256 | {"label":"Caps Lock", "x":0, "y":3.25, "w":1.75}, | ||
| 257 | {"label":"A", "x":1.75, "y":3.25}, | ||
| 258 | {"label":"S", "x":2.75, "y":3.25}, | ||
| 259 | {"label":"D", "x":3.75, "y":3.25}, | ||
| 260 | {"label":"F", "x":4.75, "y":3.25}, | ||
| 261 | {"label":"G", "x":5.75, "y":3.25}, | ||
| 262 | {"label":"H", "x":6.75, "y":3.25}, | ||
| 263 | {"label":"J", "x":7.75, "y":3.25}, | ||
| 264 | {"label":"K", "x":8.75, "y":3.25}, | ||
| 265 | {"label":"L", "x":9.75, "y":3.25}, | ||
| 266 | {"label":":", "x":10.75, "y":3.25}, | ||
| 267 | {"label":"SQ", "x":11.75, "y":3.25}, | ||
| 268 | {"label":"Enter", "x":12.75, "y":3.25, "w":2.25}, | ||
| 269 | |||
| 270 | {"label":"Shift", "x":0, "y":4.25, "w":2.25}, | ||
| 271 | {"label":"Z", "x":2.25, "y":4.25}, | ||
| 272 | {"label":"X", "x":3.25, "y":4.25}, | ||
| 273 | {"label":"C", "x":4.25, "y":4.25}, | ||
| 274 | {"label":"V", "x":5.25, "y":4.25}, | ||
| 275 | {"label":"B", "x":6.25, "y":4.25}, | ||
| 276 | {"label":"N", "x":7.25, "y":4.25}, | ||
| 277 | {"label":"M", "x":8.25, "y":4.25}, | ||
| 278 | {"label":"<", "x":9.25, "y":4.25}, | ||
| 279 | {"label":">", "x":10.25, "y":4.25}, | ||
| 280 | {"label":"?", "x":11.25, "y":4.25}, | ||
| 281 | {"label":"Shift", "x":12.25, "y":4.25, "w":2.75}, | ||
| 282 | {"label":"\u2191", "x":16.25, "y":4.25}, | ||
| 283 | |||
| 284 | {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, | ||
| 285 | {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, | ||
| 286 | {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, | ||
| 287 | {"x":3.75, "y":5.25, "w":6.25}, | ||
| 288 | {"label":"Alt", "x":10, "y":5.25, "w":1.25}, | ||
| 289 | {"label":"Win", "x":11.25, "y":5.25, "w":1.25}, | ||
| 290 | {"label":"Menu", "x":12.5, "y":5.25, "w":1.25}, | ||
| 291 | {"label":"Ctrl", "x":13.75, "y":5.25, "w":1.25}, | ||
| 292 | {"label":"\u2190", "x":15.25, "y":5.25}, | ||
| 293 | {"label":"\u2193", "x":16.25, "y":5.25}, | ||
| 294 | {"label":"\u2192", "x":17.25, "y":5.25} | ||
| 295 | ] | ||
| 296 | } | ||
| 297 | } | ||
| 298 | } | ||
diff --git a/keyboards/lucid/kbd8x_hs/kbd8x_hs.h b/keyboards/lucid/kbd8x_hs/kbd8x_hs.h new file mode 100644 index 000000000..565bc43a6 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/kbd8x_hs.h | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <hello@lucidkb.com> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #pragma once | ||
| 16 | |||
| 17 | #include "quantum.h" | ||
| 18 | /* === TKL ANSI w/ 6.25U Space === */ | ||
| 19 | #define LAYOUT_tkl_ansi( \ | ||
| 20 | K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \ | ||
| 21 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, \ | ||
| 22 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, \ | ||
| 23 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, \ | ||
| 24 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4C, K4F, \ | ||
| 25 | K50, K51, K52, K55, K59, K5A, K5B, K5D, K5E, K5F, K5G \ | ||
| 26 | ) { \ | ||
| 27 | { K00, KC_NO, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G }, \ | ||
| 28 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G }, \ | ||
| 29 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G }, \ | ||
| 30 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, KC_NO, KC_NO, KC_NO }, \ | ||
| 31 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, KC_NO, K4C, KC_NO, KC_NO, K4F, KC_NO }, \ | ||
| 32 | { K50, K51, K52, KC_NO, KC_NO, K55, KC_NO, KC_NO, KC_NO, K59, K5A, K5B, KC_NO, K5D, K5E, K5F, K5G } \ | ||
| 33 | } | ||
| 34 | |||
| 35 | /* === TKL ANSI w/ 7U Space === */ | ||
| 36 | #define LAYOUT_tkl_ansi_7u( \ | ||
| 37 | K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \ | ||
| 38 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, \ | ||
| 39 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, \ | ||
| 40 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, \ | ||
| 41 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4C, K4F, \ | ||
| 42 | K50, K51, K52, K55, K5A, K5B, K5D, K5E, K5F, K5G \ | ||
| 43 | ) { \ | ||
| 44 | { K00, KC_NO, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G }, \ | ||
| 45 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G }, \ | ||
| 46 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G }, \ | ||
| 47 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, KC_NO, KC_NO, KC_NO }, \ | ||
| 48 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, KC_NO, K4C, KC_NO, KC_NO, K4F, KC_NO }, \ | ||
| 49 | { K50, K51, K52, KC_NO, KC_NO, K55, KC_NO, KC_NO, KC_NO, KC_NO, K5A, K5B, KC_NO, K5D, K5E, K5F, K5G } \ | ||
| 50 | } | ||
| 51 | |||
| 52 | /* === All used matrix spots populated === */ | ||
| 53 | #define LAYOUT_tkl_all( \ | ||
| 54 | K00, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G, \ | ||
| 55 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G, \ | ||
| 56 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G, \ | ||
| 57 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, \ | ||
| 58 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4C, K4F, \ | ||
| 59 | K50, K51, K52, K55, K59, K5A, K5B, K5D, K5E, K5F, K5G \ | ||
| 60 | ) { \ | ||
| 61 | { K00, KC_NO, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, K0F, K0G }, \ | ||
| 62 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, K1G }, \ | ||
| 63 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, K2F, K2G }, \ | ||
| 64 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, KC_NO, KC_NO, KC_NO }, \ | ||
| 65 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, KC_NO, K4C, KC_NO, KC_NO, K4F, KC_NO }, \ | ||
| 66 | { K50, K51, K52, KC_NO, KC_NO, K55, KC_NO, KC_NO, KC_NO, K59, K5A, K5B, KC_NO, K5D, K5E, K5F, K5G } \ | ||
| 67 | } | ||
diff --git a/keyboards/lucid/kbd8x_hs/kbx8s_hs.c b/keyboards/lucid/kbd8x_hs/kbx8s_hs.c new file mode 100644 index 000000000..52e4ed539 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/kbx8s_hs.c | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <hello@lucidkb.com> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | #include "kbd8x_hs.h" | ||
diff --git a/keyboards/lucid/kbd8x_hs/keymaps/default/keymap.c b/keyboards/lucid/kbd8x_hs/keymaps/default/keymap.c new file mode 100644 index 000000000..30ff6137c --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/keymaps/default/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <hello@lucidkb.com> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | enum layers { | ||
| 18 | _LAYER0, | ||
| 19 | _LAYER1, | ||
| 20 | }; | ||
| 21 | |||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | |||
| 24 | [_LAYER0] = LAYOUT_tkl_ansi( | ||
| 25 | 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, | ||
| 26 | 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_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 27 | 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_END, KC_PGDN, | ||
| 28 | 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, | ||
| 29 | 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, | ||
| 30 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 31 | ), | ||
| 32 | |||
| 33 | [_LAYER1] = LAYOUT_tkl_ansi( | ||
| 34 | 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, KC_TRNS, | ||
| 35 | 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, KC_TRNS, KC_TRNS, | ||
| 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, 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, | ||
| 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 | ||
| 40 | ) | ||
| 41 | }; | ||
diff --git a/keyboards/lucid/kbd8x_hs/keymaps/default_7u/keymap.c b/keyboards/lucid/kbd8x_hs/keymaps/default_7u/keymap.c new file mode 100644 index 000000000..0c6a1d971 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/keymaps/default_7u/keymap.c | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <hello@lucidkb.com> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | enum layers { | ||
| 18 | _LAYER0, | ||
| 19 | _LAYER1, | ||
| 20 | }; | ||
| 21 | |||
| 22 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 23 | |||
| 24 | [_LAYER0] = LAYOUT_tkl_ansi_7u( | ||
| 25 | 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, | ||
| 26 | 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_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 27 | 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_END, KC_PGDN, | ||
| 28 | 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, | ||
| 29 | 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, | ||
| 30 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 31 | ), | ||
| 32 | |||
| 33 | [_LAYER1] = LAYOUT_tkl_ansi_7u( | ||
| 34 | 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, KC_TRNS, | ||
| 35 | 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, KC_TRNS, KC_TRNS, | ||
| 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, 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, | ||
| 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 | ||
| 40 | ) | ||
| 41 | }; | ||
diff --git a/keyboards/lucid/kbd8x_hs/keymaps/via/keymap.c b/keyboards/lucid/kbd8x_hs/keymaps/via/keymap.c new file mode 100644 index 000000000..70acb644a --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/keymaps/via/keymap.c | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 <hello@lucidkb.org> | ||
| 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 | This program is distributed in the hope that it will be useful, | ||
| 8 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 9 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 10 | GNU General Public License for more details. | ||
| 11 | You should have received a copy of the GNU General Public License | ||
| 12 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 13 | */ | ||
| 14 | |||
| 15 | #include QMK_KEYBOARD_H | ||
| 16 | |||
| 17 | enum layers { | ||
| 18 | _LAYER0, | ||
| 19 | _LAYER1, | ||
| 20 | _LAYER2, | ||
| 21 | _LAYER3, | ||
| 22 | }; | ||
| 23 | |||
| 24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 25 | |||
| 26 | [_LAYER0] = LAYOUT_tkl_all( | ||
| 27 | 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, | ||
| 28 | 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_BSPC, KC_INS, KC_HOME, KC_PGUP, | ||
| 29 | 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_END, KC_PGDN, | ||
| 30 | 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, | ||
| 31 | 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, | ||
| 32 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
| 33 | ), | ||
| 34 | |||
| 35 | [_LAYER1] = LAYOUT_tkl_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, 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, 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, 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, | ||
| 40 | 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, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 42 | ), | ||
| 43 | |||
| 44 | [_LAYER2] = LAYOUT_tkl_all( | ||
| 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, 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, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | 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, KC_TRNS, KC_TRNS, | ||
| 48 | 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, | ||
| 49 | 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, | ||
| 50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 51 | ), | ||
| 52 | |||
| 53 | [_LAYER3] = LAYOUT_tkl_all( | ||
| 54 | 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, KC_TRNS, | ||
| 55 | 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, KC_TRNS, KC_TRNS, | ||
| 56 | 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, KC_TRNS, KC_TRNS, | ||
| 57 | 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, | ||
| 58 | 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, | ||
| 59 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 60 | ) | ||
| 61 | }; \ No newline at end of file | ||
diff --git a/keyboards/lucid/kbd8x_hs/keymaps/via/rules.mk b/keyboards/lucid/kbd8x_hs/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/lucid/kbd8x_hs/readme.md b/keyboards/lucid/kbd8x_hs/readme.md new file mode 100644 index 000000000..7f992ebbf --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/readme.md | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | # KBD8X Replacement Hotswap PCB by Lucid | ||
| 2 | |||
| 3 | The following is the QMK Firmware for the KBD8X Replacement Hotswap PCB by [LucidKB](http://www.lucidkb.cm). | ||
| 4 | * Keyboard Maintainer: Lucid | ||
| 5 | * Hardware Supported: KBD8X_HS | ||
| 6 | |||
| 7 | Make example for this keyboard (after setting up your build environment): | ||
| 8 | |||
| 9 | make lucid/kbd8x_hs:default | ||
| 10 | |||
| 11 | 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/lucid/kbd8x_hs/rules.mk b/keyboards/lucid/kbd8x_hs/rules.mk new file mode 100644 index 000000000..a6dd88ac1 --- /dev/null +++ b/keyboards/lucid/kbd8x_hs/rules.mk | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = at90usb646 | ||
| 3 | |||
| 4 | # Processor frequency | ||
| 5 | F_CPU = 8000000 | ||
| 6 | |||
| 7 | # Bootloader selection | ||
| 8 | BOOTLOADER = atmel-dfu | ||
| 9 | |||
| 10 | # Build Options | ||
| 11 | # change yes to no to disable | ||
| 12 | # | ||
| 13 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 14 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 15 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 16 | CONSOLE_ENABLE = no # Console for debug | ||
| 17 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 18 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 19 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 20 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 21 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 22 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 23 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 24 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 25 | AUDIO_ENABLE = no # Audio output | ||
| 26 | KEYBOARD_LOCK_ENABLE = yes | ||
