diff options
| author | QMK Bot <hello@qmk.fm> | 2021-08-22 06:04:52 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-08-22 06:04:52 +0000 |
| commit | 7dfa93d9b6d01757f6583c77055f1ff59d04876e (patch) | |
| tree | 1f0a2b87e276ebbb18f18258eced5b70842b1843 | |
| parent | 34d0376ab9d73a77c50b78b01498710346ba6105 (diff) | |
| parent | 46fb8742692b546901555ffc544e954801ff5340 (diff) | |
| download | qmk_firmware-7dfa93d9b6d01757f6583c77055f1ff59d04876e.tar.gz qmk_firmware-7dfa93d9b6d01757f6583c77055f1ff59d04876e.zip | |
Merge remote-tracking branch 'origin/master' into develop
13 files changed, 495 insertions, 0 deletions
diff --git a/keyboards/checkerboards/quark_squared/config.h b/keyboards/checkerboards/quark_squared/config.h new file mode 100644 index 000000000..89e7eb072 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/config.h | |||
| @@ -0,0 +1,55 @@ | |||
| 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 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x7070 | ||
| 23 | #define PRODUCT_ID 0x5342 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER Nasp | ||
| 26 | #define PRODUCT QUARK² | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 4 | ||
| 30 | #define MATRIX_COLS 12 | ||
| 31 | |||
| 32 | /* key matrix pins */ | ||
| 33 | #define MATRIX_ROW_PINS { C5, C4, C6, C7 } | ||
| 34 | #define MATRIX_COL_PINS { B4, B5, B6, B3, C2, B2, D6, D2, D3, D4, D5, B1 } | ||
| 35 | #define UNUSED_PINS | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | /* Set 0 if debouncing isn't needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 44 | #define LOCKING_SUPPORT_ENABLE | ||
| 45 | |||
| 46 | /* Locking resynchronize hack */ | ||
| 47 | #define LOCKING_RESYNC_ENABLE | ||
| 48 | |||
| 49 | // ws2812 options | ||
| 50 | #define RGB_DI_PIN D0 // pin the DI on the ws2812 is hooked-up to | ||
| 51 | #define RGBLIGHT_ANIMATIONS // run RGB animations | ||
| 52 | #define RGBLED_NUM 14 // number of LEDs | ||
| 53 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | ||
| 54 | #define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation | ||
| 55 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | ||
diff --git a/keyboards/checkerboards/quark_squared/info.json b/keyboards/checkerboards/quark_squared/info.json new file mode 100644 index 000000000..eb9383deb --- /dev/null +++ b/keyboards/checkerboards/quark_squared/info.json | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Quark_Squared", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "nasp", | ||
| 5 | "width": 12, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ortho_2x225u": { | ||
| 9 | "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}] | ||
| 10 | }, | ||
| 11 | "LAYOUT_ortho_2u": { | ||
| 12 | "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}] | ||
| 13 | } | ||
| 14 | } | ||
| 15 | } \ No newline at end of file | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/2u/config.h b/keyboards/checkerboards/quark_squared/keymaps/2u/config.h new file mode 100644 index 000000000..b1498826e --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/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/2u/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/2u/keymap.c new file mode 100644 index 000000000..0892729cf --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/2u/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 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 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_ortho_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, | ||
| 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, | ||
| 40 | KC_GRV, KC_LGUI, KC_LALT, TT(1), KC_SPC, TT(2), CALTDEL, KC_RALT, KC_CAPS | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [1] = LAYOUT_ortho_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, | ||
| 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, _______, _______, _______, | ||
| 59 | KC_ESC, CALTDEL, TSKMGR, _______, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* [2] | ||
| 63 | * ,---------------------------------------------------------------------------------------. | ||
| 64 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 65 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 66 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 67 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 69 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 70 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 71 | * | RESET | | | | | | | | | ||
| 72 | * `---------------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [2] = LAYOUT_ortho_2u( | ||
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 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, | ||
| 78 | RESET, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 79 | ) | ||
| 80 | }; | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/default/config.h b/keyboards/checkerboards/quark_squared/keymaps/default/config.h new file mode 100644 index 000000000..b1498826e --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/default/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/default/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/default/keymap.c new file mode 100644 index 000000000..88922f86c --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/default/keymap.c | |||
| @@ -0,0 +1,80 @@ | |||
| 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 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_ortho_2x225u2u( | ||
| 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, | ||
| 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, | ||
| 40 | KC_GRV, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, CALTDEL, KC_RALT, KC_CAPS | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | [1] = LAYOUT_ortho_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, | ||
| 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, _______, _______, _______, | ||
| 59 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 60 | ), | ||
| 61 | |||
| 62 | /* [2] | ||
| 63 | * ,---------------------------------------------------------------------------------------. | ||
| 64 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 65 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 66 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 67 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 68 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 69 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 70 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 71 | * | RESET | | | | | | | | | ||
| 72 | * `---------------------------------------------------------------------------------------' | ||
| 73 | */ | ||
| 74 | [2] = LAYOUT_ortho_2x225u( | ||
| 75 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 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, | ||
| 78 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 79 | ) | ||
| 80 | }; | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/via/config.h b/keyboards/checkerboards/quark_squared/keymaps/via/config.h new file mode 100644 index 000000000..b1498826e --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/via/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/via/keymap.c b/keyboards/checkerboards/quark_squared/keymaps/via/keymap.c new file mode 100644 index 000000000..928965f97 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/via/keymap.c | |||
| @@ -0,0 +1,102 @@ | |||
| 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 | * |------------+------+------+------+------+------+------+------+------+------+------+------| | ||
| 27 | * | Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | ||
| 28 | * |------------+------+------+------+------+-------------+------+------+------+------+------| | ||
| 29 | * | CTL & ESC | A | S | D | F | G | H | J | K | L | ; | " | | ||
| 30 | * |------------+------+------+------+------+------|------+------+------+------+------+------| | ||
| 31 | * | Shift | Z | X | C | V | B | N | M | , | . | / |Enter | | ||
| 32 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+------| | ||
| 33 | * | PRINT | OS | Alt | Layer | Space & Layer | [ | ] | CAPS | | ||
| 34 | * `-----------------------------------------------------------------------------------------' | ||
| 35 | */ | ||
| 36 | [0] = LAYOUT_ortho_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, | ||
| 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, | ||
| 40 | KC_GRV, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, CALTDEL, KC_RALT, KC_CAPS | ||
| 41 | ), | ||
| 42 | |||
| 43 | /* [1] | ||
| 44 | * ,---------------------------------------------------------------------------------------. | ||
| 45 | * |------------+------+------+------+------+------+------+------+------+------+------+----| | ||
| 46 | * | ~ | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BCKSPC | | ||
| 47 | * |------------+------+------+------+------+-------------+------+------+------+------+----| | ||
| 48 | * | \ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | / | | ||
| 49 | * |------------+------+------+------+------+------|------+------+------+------+------+----| | ||
| 50 | * | | | | | | | | + | = | | | | | ||
| 51 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+----| | ||
| 52 | * | ESC | CTRL-ALT-DEL | TASK | | | '|' | ` | | | ||
| 53 | * `---------------------------------------------------------------------------------------' | ||
| 54 | */ | ||
| 55 | |||
| 56 | [1] = LAYOUT_ortho_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, | ||
| 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, _______, _______, _______, | ||
| 60 | KC_ESC, CALTDEL, TSKMGR, _______, _______, KC_NUBS, KC_GRV, _______ | ||
| 61 | ), | ||
| 62 | |||
| 63 | /* [2] | ||
| 64 | * ,---------------------------------------------------------------------------------------. | ||
| 65 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 66 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 67 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 68 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 69 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 70 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 71 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 72 | * | RESET | | | | | | | | | ||
| 73 | * `---------------------------------------------------------------------------------------' | ||
| 74 | */ | ||
| 75 | |||
| 76 | [2] = LAYOUT_ortho_2x225u( | ||
| 77 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 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, | ||
| 80 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 81 | ), | ||
| 82 | |||
| 83 | /* [3] | ||
| 84 | * ,---------------------------------------------------------------------------------------. | ||
| 85 | * |------------+------+------+------+------+------+------+------+------+------+------+---| | ||
| 86 | * | | | | UP | | | | _ | | [ | ] | | | ||
| 87 | * |------------+------+------+------+------+-------------+------+------+------+------+---| | ||
| 88 | * | | | LEFT | DOWN | RIGHT | | | - | | [ | ] | | | ||
| 89 | * |------------+------+------+------+------+-----+-----+------+------+------+------+-----| | ||
| 90 | * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | | ||
| 91 | * |-------+-------+-------+-------+-------+-------+------+------+------+------+------+---| | ||
| 92 | * | RESET | | | | | | | | | ||
| 93 | * `---------------------------------------------------------------------------------------' | ||
| 94 | */ | ||
| 95 | |||
| 96 | [3] = LAYOUT_ortho_2x225u( | ||
| 97 | _______, _______, _______, KC_UP, _______, _______, _______, KC_UNDS, _______, KC_LBRC, KC_RBRC, _______, | ||
| 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, | ||
| 100 | RESET, _______, _______, _______, _______, _______, _______, _______ | ||
| 101 | ) | ||
| 102 | }; | ||
diff --git a/keyboards/checkerboards/quark_squared/keymaps/via/rules.mk b/keyboards/checkerboards/quark_squared/keymaps/via/rules.mk new file mode 100644 index 000000000..69de2e4c5 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/checkerboards/quark_squared/quark_squared.c b/keyboards/checkerboards/quark_squared/quark_squared.c new file mode 100644 index 000000000..fbd7346cc --- /dev/null +++ b/keyboards/checkerboards/quark_squared/quark_squared.c | |||
| @@ -0,0 +1,17 @@ | |||
| 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 "quark_squared.h" | ||
diff --git a/keyboards/checkerboards/quark_squared/quark_squared.h b/keyboards/checkerboards/quark_squared/quark_squared.h new file mode 100644 index 000000000..d3d884221 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/quark_squared.h | |||
| @@ -0,0 +1,46 @@ | |||
| 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 | #include "quantum.h" | ||
| 20 | |||
| 21 | #define XXX KC_NO | ||
| 22 | |||
| 23 | |||
| 24 | #define LAYOUT_ortho_2x225u( \ | ||
| 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, \ | ||
| 27 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | ||
| 28 | k30, k31, k33, k34, k36, k38, k39, k3B \ | ||
| 29 | ) { \ | ||
| 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 }, \ | ||
| 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 } \ | ||
| 34 | } | ||
| 35 | |||
| 36 | #define LAYOUT_ortho_2u( \ | ||
| 37 | 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 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, \ | ||
| 40 | k30, k31, k33, k34, k35, k36, k38, k39, k3B \ | ||
| 41 | ) { \ | ||
| 42 | { 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 | { 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 | } | ||
diff --git a/keyboards/checkerboards/quark_squared/readme.md b/keyboards/checkerboards/quark_squared/readme.md new file mode 100644 index 000000000..bbbe2bfb5 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Quark_Squared | ||
| 2 | |||
| 3 |  | ||
| 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. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Nasp](https://github.com/npspears) | ||
| 8 | * Hardware Supported: Planck | ||
| 9 | * Hardware Availability: https://www.checkerboards.xyz/Quark2_p_35.html | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make checkerboards:quark_squared:default | ||
| 14 | |||
| 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). | ||
diff --git a/keyboards/checkerboards/quark_squared/rules.mk b/keyboards/checkerboards/quark_squared/rules.mk new file mode 100644 index 000000000..5e96711c4 --- /dev/null +++ b/keyboards/checkerboards/quark_squared/rules.mk | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u2 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | UNICODE_ENABLE = yes # Unicode | ||
| 24 | |||
| 25 | # Disable unsupported hardware | ||
| 26 | AUDIO_SUPPORTED = no | ||
| 27 | BACKLIGHT_SUPPORTED = no | ||
