diff options
| author | npspears <40127181+npspears@users.noreply.github.com> | 2021-12-26 21:32:06 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-27 14:32:06 +1100 |
| commit | e90974d810579c58969cc82abae34892aa312e20 (patch) | |
| tree | 126a6e8b60028dfa256e8b35a0072b238ecb7ea9 | |
| parent | f7619600e3dca4270e86bd7e133ac9d63ee400f4 (diff) | |
| download | qmk_firmware-e90974d810579c58969cc82abae34892aa312e20.tar.gz qmk_firmware-e90974d810579c58969cc82abae34892aa312e20.zip | |
add 5-row support for an existing board, Quark^2 (#15188)
* add support for 5-row Quark^2
* add support for 5-row Quark^2
* add support for 5-row Quark^2
* add support for 5-row Quark^2
* Update keymap.c
* Update keymap.c
* Update keymap.c
* add 5-row Quark^2 keymaps
* add 5-row Quark^2 keymaps
* Apply suggestions from code review
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update info.json
* Fix typo
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
11 files changed, 270 insertions, 22 deletions
diff --git a/keyboards/checkerboards/quark_squared/config.h b/keyboards/checkerboards/quark_squared/config.h index 89e7eb072..32546097f 100644 --- a/keyboards/checkerboards/quark_squared/config.h +++ b/keyboards/checkerboards/quark_squared/config.h | |||
| @@ -26,11 +26,11 @@ | |||
| 26 | #define PRODUCT QUARK² | 26 | #define PRODUCT QUARK² |
| 27 | 27 | ||
| 28 | /* key matrix size */ | 28 | /* key matrix size */ |
| 29 | #define MATRIX_ROWS 4 | 29 | #define MATRIX_ROWS 5 |
| 30 | #define MATRIX_COLS 12 | 30 | #define MATRIX_COLS 12 |
| 31 | 31 | ||
| 32 | /* key matrix pins */ | 32 | /* key matrix pins */ |
| 33 | #define MATRIX_ROW_PINS { C5, C4, C6, C7 } | 33 | #define MATRIX_ROW_PINS { C5, C4, C6, C7, B7 } |
| 34 | #define MATRIX_COL_PINS { B4, B5, B6, B3, C2, B2, D6, D2, D3, D4, D5, B1 } | 34 | #define MATRIX_COL_PINS { B4, B5, B6, B3, C2, B2, D6, D2, D3, D4, D5, B1 } |
| 35 | #define UNUSED_PINS | 35 | #define UNUSED_PINS |
| 36 | 36 | ||
diff --git a/keyboards/checkerboards/quark_squared/info.json b/keyboards/checkerboards/quark_squared/info.json index 76f68353b..aec07bb7a 100644 --- a/keyboards/checkerboards/quark_squared/info.json +++ b/keyboards/checkerboards/quark_squared/info.json | |||
| @@ -1,13 +1,19 @@ | |||
| 1 | { | 1 | { |
| 2 | "keyboard_name": "Quark_Squared", | 2 | "keyboard_name": "Quark_Squared", |
| 3 | "url": "", | 3 | "url": "https://www.checkerboards.xyz/Quark2_p_35.html", |
| 4 | "maintainer": "nasp", | 4 | "maintainer": "nasp", |
| 5 | "layouts": { | 5 | "layouts": { |
| 6 | "LAYOUT_ortho_2x225u": { | 6 | "LAYOUT_ortho_4x12_2x225u": { |
| 7 | "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"Ctrl", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3, "w":1.25}, {"label":"Alt", "x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":2.25}, {"x":6, "y":3, "w":2.25}, {"label":"Alt", "x":8.25, "y":3, "w":1.25}, {"label":"Super", "x":9.5, "y":3, "w":1.25}, {"label":"Ctrl", "x":10.75, "y":3, "w":1.25}] | 7 | "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"Ctrl", "x":0, "y":3, "w":1.25}, {"label":"Super", "x":1.25, "y":3, "w":1.25}, {"label":"Alt", "x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":2.25}, {"x":6, "y":3, "w":2.25}, {"label":"Alt", "x":8.25, "y":3, "w":1.25}, {"label":"Super", "x":9.5, "y":3, "w":1.25}, {"label":"Ctrl", "x":10.75, "y":3, "w":1.25}] |
| 8 | }, | 8 | }, |
| 9 | "LAYOUT_ortho_2u": { | 9 | "LAYOUT_4_2u": { |
| 10 | "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"Ctrl", "x":0, "y":3, "w":1.25}, {"label":"Alt", "x":1.25, "y":3, "w":1.25}, {"label":"Super", "x":2.5, "y":3, "w":1.25}, {"label":"⇓", "x":3.75, "y":3, "w":1.25}, {"x":5, "y":3, "w":2}, {"label":"←", "x":7, "y":3, "w":1.25}, {"label":"↓", "x":8.25, "y":3, "w":1.25}, {"label":"↑", "x":9.5, "y":3, "w":1.25}, {"label":"→", "x":10.75, "y":3, "w":1.25}] | 10 | "layout": [{"label":"Tab", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back Space", "x":11, "y":0}, {"label":"Esc", "x":0, "y":1}, {"label":"A", "x":1, "y":1}, {"label":"S", "x":2, "y":1}, {"label":"D", "x":3, "y":1}, {"label":"F", "x":4, "y":1}, {"label":"G", "x":5, "y":1}, {"label":"H", "x":6, "y":1}, {"label":"J", "x":7, "y":1}, {"label":"K", "x":8, "y":1}, {"label":"L", "x":9, "y":1}, {"label":";", "x":10, "y":1}, {"label":"'", "x":11, "y":1}, {"label":"Shift", "x":0, "y":2}, {"label":"Z", "x":1, "y":2}, {"label":"X", "x":2, "y":2}, {"label":"C", "x":3, "y":2}, {"label":"V", "x":4, "y":2}, {"label":"B", "x":5, "y":2}, {"label":"N", "x":6, "y":2}, {"label":"M", "x":7, "y":2}, {"label":",", "x":8, "y":2}, {"label":".", "x":9, "y":2}, {"label":"/", "x":10, "y":2}, {"label":"Return", "x":11, "y":2}, {"label":"Ctrl", "x":0, "y":3, "w":1.25}, {"label":"Alt", "x":1.25, "y":3, "w":1.25}, {"label":"Super", "x":2.5, "y":3, "w":1.25}, {"label":"⇓", "x":3.75, "y":3, "w":1.25}, {"x":5, "y":3, "w":2}, {"label":"←", "x":7, "y":3, "w":1.25}, {"label":"↓", "x":8.25, "y":3, "w":1.25}, {"label":"↑", "x":9.5, "y":3, "w":1.25}, {"label":"→", "x":10.75, "y":3, "w":1.25}] |
| 11 | }, | ||
| 12 | "LAYOUT_5_2x225u": { | ||
| 13 | "layout": [{"label":"-", "x":0, "y":0}, {"label":"1", "x":1, "y":0}, {"label":"2", "x":2, "y":0}, {"label":"3", "x":3, "y":0}, {"label":"4", "x":4, "y":0}, {"label":"5", "x":5, "y":0}, {"label":"6", "x":6, "y":0}, {"label":"7", "x":7, "y":0}, {"label":"8", "x":8, "y":0}, {"label":"9", "x":9, "y":0}, {"label":"0", "x":10, "y":0}, {"label":"+", "x":11, "y":0}, {"label":"Tab", "x":0, "y":1}, {"label":"Q", "x":1, "y":1}, {"label":"W", "x":2, "y":1}, {"label":"E", "x":3, "y":1}, {"label":"R", "x":4, "y":1}, {"label":"T", "x":5, "y":1}, {"label":"Y", "x":6, "y":1}, {"label":"U", "x":7, "y":1}, {"label":"I", "x":8, "y":1}, {"label":"O", "x":9, "y":1}, {"label":"P", "x":10, "y":1}, {"label":"Back Space", "x":11, "y":1}, {"label":"Esc", "x":0, "y":2}, {"label":"A", "x":1, "y":2}, {"label":"S", "x":2, "y":2}, {"label":"D", "x":3, "y":2}, {"label":"F", "x":4, "y":2}, {"label":"G", "x":5, "y":2}, {"label":"H", "x":6, "y":2}, {"label":"J", "x":7, "y":2}, {"label":"K", "x":8, "y":2}, {"label":"L", "x":9, "y":2}, {"label":";", "x":10, "y":2}, {"label":"'", "x":11, "y":2}, {"label":"Shift", "x":0, "y":3}, {"label":"Z", "x":1, "y":3}, {"label":"X", "x":2, "y":3}, {"label":"C", "x":3, "y":3}, {"label":"V", "x":4, "y":3}, {"label":"B", "x":5, "y":3}, {"label":"N", "x":6, "y":3}, {"label":"M", "x":7, "y":3}, {"label":",", "x":8, "y":3}, {"label":".", "x":9, "y":3}, {"label":"/", "x":10, "y":3}, {"label":"Return", "x":11, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Super", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":2.25}, {"x":6, "y":4, "w":2.25}, {"label":"Alt", "x":8.25, "y":4, "w":1.25}, {"label":"Super", "x":9.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":10.75, "y":4, "w":1.25}] | ||
| 14 | }, | ||
| 15 | "LAYOUT_5_2u": { | ||
| 16 | "layout": [{"label":"-", "x":0, "y":0}, {"label":"1", "x":1, "y":0}, {"label":"2", "x":2, "y":0}, {"label":"3", "x":3, "y":0}, {"label":"4", "x":4, "y":0}, {"label":"5", "x":5, "y":0}, {"label":"6", "x":6, "y":0}, {"label":"7", "x":7, "y":0}, {"label":"8", "x":8, "y":0}, {"label":"9", "x":9, "y":0}, {"label":"0", "x":10, "y":0}, {"label":"+", "x":11, "y":0}, {"label":"Tab", "x":0, "y":1}, {"label":"Q", "x":1, "y":1}, {"label":"W", "x":2, "y":1}, {"label":"E", "x":3, "y":1}, {"label":"R", "x":4, "y":1}, {"label":"T", "x":5, "y":1}, {"label":"Y", "x":6, "y":1}, {"label":"U", "x":7, "y":1}, {"label":"I", "x":8, "y":1}, {"label":"O", "x":9, "y":1}, {"label":"P", "x":10, "y":1}, {"label":"Back Space", "x":11, "y":1}, {"label":"Esc", "x":0, "y":2}, {"label":"A", "x":1, "y":2}, {"label":"S", "x":2, "y":2}, {"label":"D", "x":3, "y":2}, {"label":"F", "x":4, "y":2}, {"label":"G", "x":5, "y":2}, {"label":"H", "x":6, "y":2}, {"label":"J", "x":7, "y":2}, {"label":"K", "x":8, "y":2}, {"label":"L", "x":9, "y":2}, {"label":";", "x":10, "y":2}, {"label":"'", "x":11, "y":2}, {"label":"Shift", "x":0, "y":3}, {"label":"Z", "x":1, "y":3}, {"label":"X", "x":2, "y":3}, {"label":"C", "x":3, "y":3}, {"label":"V", "x":4, "y":3}, {"label":"B", "x":5, "y":3}, {"label":"N", "x":6, "y":3}, {"label":"M", "x":7, "y":3}, {"label":",", "x":8, "y":3}, {"label":".", "x":9, "y":3}, {"label":"/", "x":10, "y":3}, {"label":"Return", "x":11, "y":3}, {"label":"Ctrl", "x":0, "y":4, "w":1.25}, {"label":"Super", "x":1.25, "y":4, "w":1.25}, {"label":"Alt", "x":2.5, "y":4, "w":1.25}, {"label":"⇓", "x":3.75, "y":4, "w":1.25}, {"x":5, "y":4, "w":2}, {"label":"⇑", "x":7, "y":4, "w":1.25}, {"label":"Alt", "x":8.25, "y":4, "w":1.25}, {"label":"Super", "x":9.5, "y":4, "w":1.25}, {"label":"Ctrl", "x":10.75, "y":4, "w":1.25}] | ||
| 11 | } | 17 | } |
| 12 | } | 18 | } |
| 13 | } | 19 | } |
diff --git a/keyboards/checkerboards/quark_squared/keymaps/2u/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/2u/keymap.c index 0892729cf..0f37a1d08 100644 --- a/keyboards/checkerboards/quark_squared/keymaps/2u/keymap.c +++ b/keyboards/checkerboards/quark_squared/keymaps/2u/keymap.c | |||
| @@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | |
| 34 | * `-----------------------------------------------------------------------------------------' | 34 | * `-----------------------------------------------------------------------------------------' |
| 35 | */ | 35 | */ |
| 36 | [0] = LAYOUT_ortho_2u( | 36 | [0] = LAYOUT_4_2u( |
| 37 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | 37 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
| 38 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | 38 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, |
| @@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | |
| 53 | * `---------------------------------------------------------------------------------------' | 53 | * `---------------------------------------------------------------------------------------' |
| 54 | */ | 54 | */ |
| 55 | [1] = LAYOUT_ortho_2u( | 55 | [1] = LAYOUT_4_2u( |
| 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, |
| 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, |
| 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, |
| @@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 71 | * | RESET | | | | | | | | | 71 | * | RESET | | | | | | | | |
| 72 | * `---------------------------------------------------------------------------------------' | 72 | * `---------------------------------------------------------------------------------------' |
| 73 | */ | 73 | */ |
| 74 | [2] = LAYOUT_ortho_2u( | 74 | [2] = LAYOUT_4_2u( |
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, |
| 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, |
| 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, |
diff --git a/keyboards/checkerboards/quark_squared/keymaps/5_2u/config.h b/keyboards/checkerboards/quark_squared/keymaps/5_2u/config.h new file mode 100644 index 000000000..b1498826e --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/5_2u/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/5_2u/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/5_2u/keymap.c new file mode 100644 index 000000000..d7f7ff378 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/5_2u/keymap.c | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | /* Copyright 2021 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 27 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 28 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 29 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 30 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 31 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 32 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 33 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 34 | * | OS | Alt | Layer | Space & Layer | [ | ] | | ||
| 35 | * `-----------------------------------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | [0] = LAYOUT_5_2u( | ||
| 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_GRV, KC_LGUI, KC_LALT, TT(1), KC_SPC, TT(2), KC_TILD, KC_LBRC, KC_RBRC | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 48 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 49 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 50 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 51 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 52 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 53 | * | | | | | | | | + | = | | | | | ||
| 54 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 55 | * | ESC | CTRL-ALT-DEL | | | '|' | ` | | ||
| 56 | * `---------------------------------------------------------------------------------------' | ||
| 57 | */ | ||
| 58 | [1] = LAYOUT_5_2u( | ||
| 59 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 63 | KC_ESC, CALTDEL, _______, _______, _______, _______, _______, KC_NUBS, KC_GRV | ||
| 64 | ), | ||
| 65 | |||
| 66 | /* [2] | ||
| 67 | * ,---------------------------------------------------------------------------------------. | ||
| 68 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 69 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 70 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 71 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 72 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 73 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 74 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 75 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 76 | * | RESET | | | | | | | ||
| 77 | * `---------------------------------------------------------------------------------------' | ||
| 78 | */ | ||
| 79 | [2] = LAYOUT_5_2u( | ||
| 80 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 84 | RESET, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 85 | ) | ||
| 86 | }; | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/5_2x225u/config.h b/keyboards/checkerboards/quark_squared/keymaps/5_2x225u/config.h new file mode 100644 index 000000000..b1498826e --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/5_2x225u/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define TAPPING_TOGGLE 2 | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/5_2x225u/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/5_2x225u/keymap.c new file mode 100644 index 000000000..e116732b7 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/5_2x225u/keymap.c | |||
| @@ -0,0 +1,86 @@ | |||
| 1 | /* Copyright 2021 Nathan Spears | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | // Defines for task manager and such | ||
| 20 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 21 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | /* [0] | ||
| 25 | * ,-----------------------------------------------------------------------------------------. | ||
| 26 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 27 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 28 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 29 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 30 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 31 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 32 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 33 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 34 | * | OS | Alt | Layer | Space & Layer | [ | ] | | ||
| 35 | * `-----------------------------------------------------------------------------------------' | ||
| 36 | */ | ||
| 37 | [0] = LAYOUT_5_2x225u( | ||
| 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, | ||
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 41 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | ||
| 42 | KC_GRV, KC_LGUI, KC_LALT, TT(1), LT(2, KC_SPC), KC_TILD, KC_LBRC, KC_RBRC | ||
| 43 | ), | ||
| 44 | |||
| 45 | /* [1] | ||
| 46 | * ,---------------------------------------------------------------------------------------. | ||
| 47 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 48 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 49 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 50 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 51 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 52 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 53 | * | | | | | | | | + | = | | | | | ||
| 54 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 55 | * | ESC | CTRL-ALT-DEL | | | '|' | ` | | ||
| 56 | * `---------------------------------------------------------------------------------------' | ||
| 57 | */ | ||
| 58 | [1] = LAYOUT_5_2x225u( | ||
| 59 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 60 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | ||
| 61 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | ||
| 62 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_EQL, _______, _______, _______, | ||
| 63 | KC_ESC, CALTDEL, _______, _______, _______, _______, KC_NUBS, KC_GRV | ||
| 64 | ), | ||
| 65 | |||
| 66 | /* [2] | ||
| 67 | * ,---------------------------------------------------------------------------------------. | ||
| 68 | * | = | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | | ||
| 69 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 70 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 71 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 72 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 73 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 74 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 75 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 76 | * | RESET | | | | | | | ||
| 77 | * `---------------------------------------------------------------------------------------' | ||
| 78 | */ | ||
| 79 | [2] = LAYOUT_5_2x225u( | ||
| 80 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 81 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 82 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | ||
| 83 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
| 84 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 85 | ) | ||
| 86 | }; | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/default/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/default/keymap.c index 56aa2ea6b..8601c7660 100644 --- a/keyboards/checkerboards/quark_squared/keymaps/default/keymap.c +++ b/keyboards/checkerboards/quark_squared/keymaps/default/keymap.c | |||
| @@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | |
| 34 | * `-----------------------------------------------------------------------------------------' | 34 | * `-----------------------------------------------------------------------------------------' |
| 35 | */ | 35 | */ |
| 36 | [0] = LAYOUT_ortho_2x225u( | 36 | [0] = LAYOUT_4_2x225u( |
| 37 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | 37 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
| 38 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | 38 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, |
| @@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | |
| 53 | * `---------------------------------------------------------------------------------------' | 53 | * `---------------------------------------------------------------------------------------' |
| 54 | */ | 54 | */ |
| 55 | [1] = LAYOUT_ortho_2x225u( | 55 | [1] = LAYOUT_4_2x225u( |
| 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | 56 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, |
| 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | 57 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, |
| 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | 58 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, |
| @@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 71 | * | RESET | | | | | | | | | 71 | * | RESET | | | | | | | | |
| 72 | * `---------------------------------------------------------------------------------------' | 72 | * `---------------------------------------------------------------------------------------' |
| 73 | */ | 73 | */ |
| 74 | [2] = LAYOUT_ortho_2x225u( | 74 | [2] = LAYOUT_4_2x225u( |
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, |
| 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | 76 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, |
| 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | 77 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, |
diff --git a/keyboards/checkerboards/quark_squared/keymaps/via/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/via/keymap.c index 928965f97..37baf408d 100644 --- a/keyboards/checkerboards/quark_squared/keymaps/via/keymap.c +++ b/keyboards/checkerboards/quark_squared/keymaps/via/keymap.c | |||
| @@ -33,7 +33,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | |
| 34 | * `-----------------------------------------------------------------------------------------' | 34 | * `-----------------------------------------------------------------------------------------' |
| 35 | */ | 35 | */ |
| 36 | [0] = LAYOUT_ortho_2x225u( | 36 | [0] = LAYOUT_4_2x225u( |
| 37 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | 37 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
| 38 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | 38 | CTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, | 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, |
| @@ -53,7 +53,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 53 | * `---------------------------------------------------------------------------------------' | 53 | * `---------------------------------------------------------------------------------------' |
| 54 | */ | 54 | */ |
| 55 | 55 | ||
| 56 | [1] = LAYOUT_ortho_2x225u( | 56 | [1] = LAYOUT_4_2x225u( |
| 57 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, | 57 | KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, |
| 58 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, | 58 | KC_SLSH, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSLS, |
| 59 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, | 59 | _______, _______, _______, _______, _______, _______, _______, KC_PPLS, KC_EQL, _______, _______, _______, |
| @@ -73,7 +73,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 73 | * `---------------------------------------------------------------------------------------' | 73 | * `---------------------------------------------------------------------------------------' |
| 74 | */ | 74 | */ |
| 75 | 75 | ||
| 76 | [2] = LAYOUT_ortho_2x225u( | 76 | [2] = LAYOUT_4_2x225u( |
| 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, |
| 78 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | 78 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, |
| 79 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | 79 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, |
| @@ -93,7 +93,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 93 | * `---------------------------------------------------------------------------------------' | 93 | * `---------------------------------------------------------------------------------------' |
| 94 | */ | 94 | */ |
| 95 | 95 | ||
| 96 | [3] = LAYOUT_ortho_2x225u( | 96 | [3] = LAYOUT_4_2x225u( |
| 97 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | 97 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, |
| 98 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, | 98 | _______, _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, KC_MINS, _______, KC_LCBR, KC_RCBR, _______, |
| 99 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | 99 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, |
diff --git a/keyboards/checkerboards/quark_squared/quark_squared.h b/keyboards/checkerboards/quark_squared/quark_squared.h index d3d884221..27f69d1db 100644 --- a/keyboards/checkerboards/quark_squared/quark_squared.h +++ b/keyboards/checkerboards/quark_squared/quark_squared.h | |||
| @@ -21,26 +21,56 @@ | |||
| 21 | #define XXX KC_NO | 21 | #define XXX KC_NO |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | #define LAYOUT_ortho_2x225u( \ | 24 | #define LAYOUT_4_2x225u( \ |
| 25 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ | 25 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 26 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ | 26 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 27 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | 27 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 28 | k30, k31, k33, k34, k36, k38, k39, k3B \ | 28 | k30, k31, k33, k34, k36, k38, k39, k3B \ |
| 29 | ) { \ | 29 | ) { \ |
| 30 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ | 30 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 31 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ | 31 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 32 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ | 32 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 33 | { k30, k31, XXX, k33, k34, XXX, k36, XXX, k38, k39, XXX, k3B } \ | 33 | { k30, k31, XXX, k33, k34, XXX, k36, XXX, k38, k39, XXX, k3B }, \ |
| 34 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ | ||
| 34 | } | 35 | } |
| 35 | 36 | ||
| 36 | #define LAYOUT_ortho_2u( \ | 37 | #define LAYOUT_4_2u( \ |
| 37 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ | 38 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ |
| 38 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ | 39 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ |
| 39 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | 40 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ |
| 40 | k30, k31, k33, k34, k35, k36, k38, k39, k3B \ | 41 | k30, k31, k33, k34, k35, k36, k38, k39, k3B \ |
| 41 | ) { \ | 42 | ) { \ |
| 42 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ | 43 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ |
| 43 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ | 44 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ |
| 44 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ | 45 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ |
| 45 | { k30, k31, XXX, k33, k34, k35, k36, XXX, k38, k39, XXX, k3B } \ | 46 | { k30, k31, XXX, k33, k34, k35, k36, XXX, k38, k39, XXX, k3B }, \ |
| 47 | { XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX, XXX } \ | ||
| 48 | } | ||
| 49 | |||
| 50 | #define LAYOUT_5_2x225u( \ | ||
| 51 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ | ||
| 52 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ | ||
| 53 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | ||
| 54 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, \ | ||
| 55 | k40, k41, k43, k44, k46, k48, k49, k4B \ | ||
| 56 | ) { \ | ||
| 57 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ | ||
| 58 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ | ||
| 59 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ | ||
| 60 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \ | ||
| 61 | { k40, k41, XXX, k43, k44, XXX, k46, XXX, k48, k49, XXX, k4B } \ | ||
| 62 | } | ||
| 63 | |||
| 64 | #define LAYOUT_5_2u( \ | ||
| 65 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, \ | ||
| 66 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, \ | ||
| 67 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | ||
| 68 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, \ | ||
| 69 | k40, k41, k43, k44, k45, k46, k48, k49, k4B \ | ||
| 70 | ) { \ | ||
| 71 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B }, \ | ||
| 72 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B }, \ | ||
| 73 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B }, \ | ||
| 74 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B }, \ | ||
| 75 | { k40, k41, XXX, k43, k44, k45, k46, XXX, k48, k49, XXX, k4B } \ | ||
| 46 | } | 76 | } |
diff --git a/keyboards/checkerboards/quark_squared/readme.md b/keyboards/checkerboards/quark_squared/readme.md index bbbe2bfb5..8677710dd 100644 --- a/keyboards/checkerboards/quark_squared/readme.md +++ b/keyboards/checkerboards/quark_squared/readme.md | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 |  | 3 |  |
| 4 | 4 | ||
| 5 | The Quark² PCB is a hotswap version of the Quark PCB. Just like the OG, it has a modified layout than a traditonal 4x12 ortholinear keyboard. | 5 | The Quark² PCB is a hotswap version of the Quark PCB. Just like the OG, it has a modified layout than a traditonal 4x12 and 5x12 ortholinear keyboard. |
| 6 | 6 | ||
| 7 | * Keyboard Maintainer: [Nasp](https://github.com/npspears) | 7 | * Keyboard Maintainer: [Nasp](https://github.com/npspears) |
| 8 | * Hardware Supported: Planck | 8 | * Hardware Supported: Planck |
| @@ -11,5 +11,7 @@ The Quark² PCB is a hotswap version of the Quark PCB. Just like the OG, it has | |||
| 11 | Make example for this keyboard (after setting up your build environment): | 11 | Make example for this keyboard (after setting up your build environment): |
| 12 | 12 | ||
| 13 | make checkerboards:quark_squared:default | 13 | make checkerboards:quark_squared:default |
| 14 | |||
| 15 | These boards may be reset into bootloader either via the reset hardware button (on the back of the PCB near the USB connector) or through a configured RESET shortcut inserted into the keymap. | ||
| 14 | 16 | ||
| 15 | 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). | 17 | 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). |
