diff options
| author | Ivan Gromov <38141348+key10iq@users.noreply.github.com> | 2022-02-21 10:16:23 +0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-20 22:16:23 -0800 |
| commit | 9bf25d1cd5f7616d30b000d50c51acd9dfaacd41 (patch) | |
| tree | f8dc78cd445e96a22f23b5e0757bf1ddd4bb8530 /keyboards | |
| parent | 2d1d44edb701a47571d8ad2a07cb0899f255849e (diff) | |
| download | qmk_firmware-9bf25d1cd5f7616d30b000d50c51acd9dfaacd41.tar.gz qmk_firmware-9bf25d1cd5f7616d30b000d50c51acd9dfaacd41.zip | |
[Keyboard] Add Monoflex 60 keyboard (#16234)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards')
| -rw-r--r-- | keyboards/monoflex60/config.h | 42 | ||||
| -rw-r--r-- | keyboards/monoflex60/info.json | 217 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/60_iso_tsangan/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/60_tsangan_hhkb/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/default/keymap.c | 34 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/via/keymap.c | 48 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/monoflex60/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/monoflex60/monoflex60.c | 17 | ||||
| -rw-r--r-- | keyboards/monoflex60/monoflex60.h | 102 | ||||
| -rw-r--r-- | keyboards/monoflex60/readme.md | 29 | ||||
| -rw-r--r-- | keyboards/monoflex60/rules.mk | 19 |
13 files changed, 579 insertions, 0 deletions
diff --git a/keyboards/monoflex60/config.h b/keyboards/monoflex60/config.h new file mode 100644 index 000000000..6e0281002 --- /dev/null +++ b/keyboards/monoflex60/config.h | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 0xDEB4 | ||
| 24 | #define PRODUCT_ID 0x60EB | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER SanitGo Customs | ||
| 27 | #define PRODUCT Monoflex 60 | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 5 | ||
| 31 | #define MATRIX_COLS 14 | ||
| 32 | |||
| 33 | /* key matrix pins */ | ||
| 34 | #define MATRIX_ROW_PINS { D1, D0, D3, D2, D5 } | ||
| 35 | #define MATRIX_COL_PINS { B7, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4} | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/monoflex60/info.json b/keyboards/monoflex60/info.json new file mode 100644 index 000000000..7a4fb9944 --- /dev/null +++ b/keyboards/monoflex60/info.json | |||
| @@ -0,0 +1,217 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Monoflex 60", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "keyten", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT_all": { | ||
| 7 | "layout": [ | ||
| 8 | {"x": 0, "y": 0}, | ||
| 9 | {"x": 1, "y": 0}, | ||
| 10 | {"x": 2, "y": 0}, | ||
| 11 | {"x": 3, "y": 0}, | ||
| 12 | {"x": 4, "y": 0}, | ||
| 13 | {"x": 5, "y": 0}, | ||
| 14 | {"x": 6, "y": 0}, | ||
| 15 | {"x": 7, "y": 0}, | ||
| 16 | {"x": 8, "y": 0}, | ||
| 17 | {"x": 9, "y": 0}, | ||
| 18 | {"x": 10, "y": 0}, | ||
| 19 | {"x": 11, "y": 0}, | ||
| 20 | {"x": 12, "y": 0}, | ||
| 21 | {"x": 13, "y": 0}, | ||
| 22 | {"x": 14, "y": 0}, | ||
| 23 | |||
| 24 | {"x": 0, "y": 1, "w": 1.5}, | ||
| 25 | {"x": 1.5, "y": 1}, | ||
| 26 | {"x": 2.5, "y": 1}, | ||
| 27 | {"x": 3.5, "y": 1}, | ||
| 28 | {"x": 4.5, "y": 1}, | ||
| 29 | {"x": 5.5, "y": 1}, | ||
| 30 | {"x": 6.5, "y": 1}, | ||
| 31 | {"x": 7.5, "y": 1}, | ||
| 32 | {"x": 8.5, "y": 1}, | ||
| 33 | {"x": 9.5, "y": 1}, | ||
| 34 | {"x": 10.5, "y": 1}, | ||
| 35 | {"x": 11.5, "y": 1}, | ||
| 36 | {"x": 12.5, "y": 1}, | ||
| 37 | {"x": 13.5, "y": 1, "w": 1.5}, | ||
| 38 | |||
| 39 | {"x": 0, "y": 2, "w": 1.75}, | ||
| 40 | {"x": 1.75, "y": 2}, | ||
| 41 | {"x": 2.75, "y": 2}, | ||
| 42 | {"x": 3.75, "y": 2}, | ||
| 43 | {"x": 4.75, "y": 2}, | ||
| 44 | {"x": 5.75, "y": 2}, | ||
| 45 | {"x": 6.75, "y": 2}, | ||
| 46 | {"x": 7.75, "y": 2}, | ||
| 47 | {"x": 8.75, "y": 2}, | ||
| 48 | {"x": 9.75, "y": 2}, | ||
| 49 | {"x": 10.75, "y": 2}, | ||
| 50 | {"x": 11.75, "y": 2}, | ||
| 51 | {"x": 12.75, "y": 2, "w": 2.25}, | ||
| 52 | |||
| 53 | {"x":0, "y":3, "w":1.25}, | ||
| 54 | {"x":1.25, "y":3}, | ||
| 55 | {"x":2.25, "y":3}, | ||
| 56 | {"x":3.25, "y":3}, | ||
| 57 | {"x":4.25, "y":3}, | ||
| 58 | {"x":5.25, "y":3}, | ||
| 59 | {"x":6.25, "y":3}, | ||
| 60 | {"x":7.25, "y":3}, | ||
| 61 | {"x":8.25, "y":3}, | ||
| 62 | {"x":9.25, "y":3}, | ||
| 63 | {"x":10.25, "y":3}, | ||
| 64 | {"x":11.25, "y":3}, | ||
| 65 | {"x":12.25, "y":3, "w":1.75}, | ||
| 66 | {"x":14, "y":3}, | ||
| 67 | |||
| 68 | {"x": 0, "y": 4, "w": 1.5}, | ||
| 69 | {"x": 1.5, "y": 4}, | ||
| 70 | {"x": 2.5, "y": 4, "w": 1.5}, | ||
| 71 | {"x": 4, "y": 4, "w": 7}, | ||
| 72 | {"x": 11, "y": 4, "w": 1.5}, | ||
| 73 | {"x": 12.5, "y": 4}, | ||
| 74 | {"x": 13.5, "y": 4, "w": 1.5} | ||
| 75 | ] | ||
| 76 | }, | ||
| 77 | "LAYOUT_60_tsangan_hhkb": { | ||
| 78 | "layout": [ | ||
| 79 | {"x": 0, "y": 0}, | ||
| 80 | {"x": 1, "y": 0}, | ||
| 81 | {"x": 2, "y": 0}, | ||
| 82 | {"x": 3, "y": 0}, | ||
| 83 | {"x": 4, "y": 0}, | ||
| 84 | {"x": 5, "y": 0}, | ||
| 85 | {"x": 6, "y": 0}, | ||
| 86 | {"x": 7, "y": 0}, | ||
| 87 | {"x": 8, "y": 0}, | ||
| 88 | {"x": 9, "y": 0}, | ||
| 89 | {"x": 10, "y": 0}, | ||
| 90 | {"x": 11, "y": 0}, | ||
| 91 | {"x": 12, "y": 0}, | ||
| 92 | {"x": 13, "y": 0}, | ||
| 93 | {"x": 14, "y": 0}, | ||
| 94 | |||
| 95 | {"x": 0, "y": 1, "w": 1.5}, | ||
| 96 | {"x": 1.5, "y": 1}, | ||
| 97 | {"x": 2.5, "y": 1}, | ||
| 98 | {"x": 3.5, "y": 1}, | ||
| 99 | {"x": 4.5, "y": 1}, | ||
| 100 | {"x": 5.5, "y": 1}, | ||
| 101 | {"x": 6.5, "y": 1}, | ||
| 102 | {"x": 7.5, "y": 1}, | ||
| 103 | {"x": 8.5, "y": 1}, | ||
| 104 | {"x": 9.5, "y": 1}, | ||
| 105 | {"x": 10.5, "y": 1}, | ||
| 106 | {"x": 11.5, "y": 1}, | ||
| 107 | {"x": 12.5, "y": 1}, | ||
| 108 | {"x": 13.5, "y": 1, "w": 1.5}, | ||
| 109 | |||
| 110 | {"x": 0, "y": 2, "w": 1.75}, | ||
| 111 | {"x": 1.75, "y": 2}, | ||
| 112 | {"x": 2.75, "y": 2}, | ||
| 113 | {"x": 3.75, "y": 2}, | ||
| 114 | {"x": 4.75, "y": 2}, | ||
| 115 | {"x": 5.75, "y": 2}, | ||
| 116 | {"x": 6.75, "y": 2}, | ||
| 117 | {"x": 7.75, "y": 2}, | ||
| 118 | {"x": 8.75, "y": 2}, | ||
| 119 | {"x": 9.75, "y": 2}, | ||
| 120 | {"x": 10.75, "y": 2}, | ||
| 121 | {"x": 11.75, "y": 2}, | ||
| 122 | {"x": 12.75, "y": 2, "w": 2.25}, | ||
| 123 | |||
| 124 | {"x": 0, "y": 3, "w": 2.25}, | ||
| 125 | {"x": 2.25, "y": 3}, | ||
| 126 | {"x": 3.25, "y": 3}, | ||
| 127 | {"x": 4.25, "y": 3}, | ||
| 128 | {"x": 5.25, "y": 3}, | ||
| 129 | {"x": 6.25, "y": 3}, | ||
| 130 | {"x": 7.25, "y": 3}, | ||
| 131 | {"x": 8.25, "y": 3}, | ||
| 132 | {"x": 9.25, "y": 3}, | ||
| 133 | {"x": 10.25, "y": 3}, | ||
| 134 | {"x": 11.25, "y": 3}, | ||
| 135 | {"x": 12.25, "y": 3, "w": 1.75}, | ||
| 136 | {"x": 14, "y": 3}, | ||
| 137 | |||
| 138 | {"x": 0, "y": 4, "w": 1.5}, | ||
| 139 | {"x": 1.5, "y": 4}, | ||
| 140 | {"x": 2.5, "y": 4, "w": 1.5}, | ||
| 141 | {"x": 4, "y": 4, "w": 7}, | ||
| 142 | {"x": 11, "y": 4, "w": 1.5}, | ||
| 143 | {"x": 12.5, "y": 4}, | ||
| 144 | {"x": 13.5, "y": 4, "w": 1.5} | ||
| 145 | ] | ||
| 146 | }, | ||
| 147 | "LAYOUT_60_iso_tsangan": { | ||
| 148 | "layout": [ | ||
| 149 | {"x":0, "y":0}, | ||
| 150 | {"x":1, "y":0}, | ||
| 151 | {"x":2, "y":0}, | ||
| 152 | {"x":3, "y":0}, | ||
| 153 | {"x":4, "y":0}, | ||
| 154 | {"x":5, "y":0}, | ||
| 155 | {"x":6, "y":0}, | ||
| 156 | {"x":7, "y":0}, | ||
| 157 | {"x":8, "y":0}, | ||
| 158 | {"x":9, "y":0}, | ||
| 159 | {"x":10, "y":0}, | ||
| 160 | {"x":11, "y":0}, | ||
| 161 | {"x":12, "y":0}, | ||
| 162 | {"x":13, "y":0, "w":2}, | ||
| 163 | |||
| 164 | {"x":0, "y":1, "w":1.5}, | ||
| 165 | {"x":1.5, "y":1}, | ||
| 166 | {"x":2.5, "y":1}, | ||
| 167 | {"x":3.5, "y":1}, | ||
| 168 | {"x":4.5, "y":1}, | ||
| 169 | {"x":5.5, "y":1}, | ||
| 170 | {"x":6.5, "y":1}, | ||
| 171 | {"x":7.5, "y":1}, | ||
| 172 | {"x":8.5, "y":1}, | ||
| 173 | {"x":9.5, "y":1}, | ||
| 174 | {"x":10.5, "y":1}, | ||
| 175 | {"x":11.5, "y":1}, | ||
| 176 | {"x":12.5, "y":1}, | ||
| 177 | {"x":13.75, "y":1, "w":1.25, "h":2}, | ||
| 178 | |||
| 179 | {"x":0, "y":2, "w":1.75}, | ||
| 180 | {"x":1.75, "y":2}, | ||
| 181 | {"x":2.75, "y":2}, | ||
| 182 | {"x":3.75, "y":2}, | ||
| 183 | {"x":4.75, "y":2}, | ||
| 184 | {"x":5.75, "y":2}, | ||
| 185 | {"x":6.75, "y":2}, | ||
| 186 | {"x":7.75, "y":2}, | ||
| 187 | {"x":8.75, "y":2}, | ||
| 188 | {"x":9.75, "y":2}, | ||
| 189 | {"x":10.75, "y":2}, | ||
| 190 | {"x":11.75, "y":2}, | ||
| 191 | {"x":12.75, "y":2}, | ||
| 192 | {"x":0, "y":3, "w":1.25}, | ||
| 193 | |||
| 194 | {"x":1.25, "y":3}, | ||
| 195 | {"x":2.25, "y":3}, | ||
| 196 | {"x":3.25, "y":3}, | ||
| 197 | {"x":4.25, "y":3}, | ||
| 198 | {"x":5.25, "y":3}, | ||
| 199 | {"x":6.25, "y":3}, | ||
| 200 | {"x":7.25, "y":3}, | ||
| 201 | {"x":8.25, "y":3}, | ||
| 202 | {"x":9.25, "y":3}, | ||
| 203 | {"x":10.25, "y":3}, | ||
| 204 | {"x":11.25, "y":3}, | ||
| 205 | {"x":12.25, "y":3, "w":2.75}, | ||
| 206 | |||
| 207 | {"x":0, "y":4, "w":1.5}, | ||
| 208 | {"x":1.5, "y":4}, | ||
| 209 | {"x":2.5, "y":4, "w":1.5}, | ||
| 210 | {"x":4, "y":4, "w":7}, | ||
| 211 | {"x":11, "y":4, "w":1.5}, | ||
| 212 | {"x":12.5, "y":4}, | ||
| 213 | {"x":13.5, "y":4, "w":1.5} | ||
| 214 | ] | ||
| 215 | } | ||
| 216 | } | ||
| 217 | } | ||
diff --git a/keyboards/monoflex60/keymaps/60_iso_tsangan/keymap.c b/keyboards/monoflex60/keymaps/60_iso_tsangan/keymap.c new file mode 100644 index 000000000..deb9f95b2 --- /dev/null +++ b/keyboards/monoflex60/keymaps/60_iso_tsangan/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT_60_iso_tsangan( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, MO(1), | ||
| 25 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL), | ||
| 27 | |||
| 28 | [1] = LAYOUT_60_iso_tsangan( | ||
| 29 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______) | ||
| 34 | }; | ||
diff --git a/keyboards/monoflex60/keymaps/60_tsangan_hhkb/keymap.c b/keyboards/monoflex60/keymaps/60_tsangan_hhkb/keymap.c new file mode 100644 index 000000000..8a5630554 --- /dev/null +++ b/keyboards/monoflex60/keymaps/60_tsangan_hhkb/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT_60_tsangan_hhkb( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_BSPC, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL), | ||
| 27 | |||
| 28 | [1] = LAYOUT_60_tsangan_hhkb( | ||
| 29 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______) | ||
| 34 | }; | ||
diff --git a/keyboards/monoflex60/keymaps/default/keymap.c b/keyboards/monoflex60/keymaps/default/keymap.c new file mode 100644 index 000000000..2572aad35 --- /dev/null +++ b/keyboards/monoflex60/keymaps/default/keymap.c | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT_all( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_BSPC, | ||
| 25 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL), | ||
| 27 | |||
| 28 | [1] = LAYOUT_all( | ||
| 29 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______) | ||
| 34 | }; | ||
diff --git a/keyboards/monoflex60/keymaps/default/readme.md b/keyboards/monoflex60/keymaps/default/readme.md new file mode 100644 index 000000000..146f52292 --- /dev/null +++ b/keyboards/monoflex60/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for Monoflex 60 | |||
diff --git a/keyboards/monoflex60/keymaps/via/keymap.c b/keyboards/monoflex60/keymaps/via/keymap.c new file mode 100644 index 000000000..92fee8dd1 --- /dev/null +++ b/keyboards/monoflex60/keymaps/via/keymap.c | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT_all( | ||
| 22 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_GRV, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_BSPC, | ||
| 25 | KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL), | ||
| 27 | |||
| 28 | [1] = LAYOUT_all( | ||
| 29 | _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______), | ||
| 34 | |||
| 35 | [2] = LAYOUT_all( | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______), | ||
| 41 | |||
| 42 | [3] = LAYOUT_all( | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______, _______) | ||
| 48 | }; | ||
diff --git a/keyboards/monoflex60/keymaps/via/readme.md b/keyboards/monoflex60/keymaps/via/readme.md new file mode 100644 index 000000000..29862d748 --- /dev/null +++ b/keyboards/monoflex60/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The VIA keymap for Monoflex 60 | |||
diff --git a/keyboards/monoflex60/keymaps/via/rules.mk b/keyboards/monoflex60/keymaps/via/rules.mk new file mode 100644 index 000000000..69de2e4c5 --- /dev/null +++ b/keyboards/monoflex60/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/monoflex60/monoflex60.c b/keyboards/monoflex60/monoflex60.c new file mode 100644 index 000000000..075a79125 --- /dev/null +++ b/keyboards/monoflex60/monoflex60.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 "monoflex60.h" | ||
diff --git a/keyboards/monoflex60/monoflex60.h b/keyboards/monoflex60/monoflex60.h new file mode 100644 index 000000000..cac930086 --- /dev/null +++ b/keyboards/monoflex60/monoflex60.h | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | /* Copyright 2022 Ivan Gromov (@key10iq) | ||
| 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 | /* LAYOUT_all | ||
| 24 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
| 25 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │2d │ | ||
| 26 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
| 27 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │ | ||
| 28 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
| 29 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ | ||
| 30 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | ||
| 31 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │3d │ | ||
| 32 | * ├────┴┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤ | ||
| 33 | * │40 │41 │43 │47 │4b │4c │4d │ | ||
| 34 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
| 35 | */ | ||
| 36 | #define LAYOUT_all( \ | ||
| 37 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
| 38 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
| 39 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
| 40 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 41 | k40, k41, k43, k47, k4b, k4c, k4d \ | ||
| 42 | ) { \ | ||
| 43 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ | ||
| 44 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d }, \ | ||
| 45 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d }, \ | ||
| 46 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d }, \ | ||
| 47 | { k40, k41, XXX, k43, XXX, XXX, XXX, k47, XXX, XXX, XXX, k4b, k4c, k4d } \ | ||
| 48 | } | ||
| 49 | |||
| 50 | /* LAYOUT_60_tsangan_hhkb | ||
| 51 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
| 52 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │2d │ | ||
| 53 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┤ | ||
| 54 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │1d │ | ||
| 55 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | ||
| 56 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ | ||
| 57 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | ||
| 58 | * │30 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │3d │ | ||
| 59 | * ├─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┤ | ||
| 60 | * │40 │41 │43 │47 │4b │4c │4d │ | ||
| 61 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
| 62 | */ | ||
| 63 | #define LAYOUT_60_tsangan_hhkb( \ | ||
| 64 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
| 65 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
| 66 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
| 67 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 68 | k40, k41, k43, k47, k4b, k4c, k4d \ | ||
| 69 | ) { \ | ||
| 70 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ | ||
| 71 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d }, \ | ||
| 72 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d }, \ | ||
| 73 | { k30, XXX, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d }, \ | ||
| 74 | { k40, k41, XXX, k43, XXX, XXX, XXX, k47, XXX, XXX, XXX, k4b, k4c, k4d } \ | ||
| 75 | } | ||
| 76 | |||
| 77 | /* LAYOUT_60_iso_tsangan | ||
| 78 | * ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┐ | ||
| 79 | * │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │ | ||
| 80 | * ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┤ | ||
| 81 | * │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │ │ | ||
| 82 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ 1d │ | ||
| 83 | * │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ │ | ||
| 84 | * ├────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┴────┤ | ||
| 85 | * │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │ | ||
| 86 | * ├────┴┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─────┤ | ||
| 87 | * │40 │41 │43 │47 │4b │4c │4d │ | ||
| 88 | * └─────┴───┴─────┴───────────────────────────┴─────┴───┴─────┘ | ||
| 89 | */ | ||
| 90 | #define LAYOUT_60_iso_tsangan( \ | ||
| 91 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
| 92 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
| 93 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, \ | ||
| 94 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, \ | ||
| 95 | k40, k41, k43, k47, k4b, k4c, k4d \ | ||
| 96 | ) { \ | ||
| 97 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ | ||
| 98 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d }, \ | ||
| 99 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, XXX }, \ | ||
| 100 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, XXX }, \ | ||
| 101 | { k40, k41, XXX, k43, XXX, XXX, XXX, k47, XXX, XXX, XXX, k4b, k4c, k4d } \ | ||
| 102 | } | ||
diff --git a/keyboards/monoflex60/readme.md b/keyboards/monoflex60/readme.md new file mode 100644 index 000000000..cfb4e31d1 --- /dev/null +++ b/keyboards/monoflex60/readme.md | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # Monoflex 60 | ||
| 2 | |||
| 3 | Monoflex 60 is a 60% keyboard with leafsping plate. The project failed because of a stupid runner (SantiGo Customs) who didn't know how to manage money. | ||
| 4 | |||
| 5 | Case designed by [Bizunow](https://github.com/Bizunow) and PCB designed by [keyten](https://github.com/key10iq). Also [ILWrites](https://github.com/pikeeb) helped with PCBs production. | ||
| 6 | |||
| 7 |  | ||
| 8 | |||
| 9 | * Keyboard Maintainer: [keyten](https://github.com/key10iq) | ||
| 10 | * Hardware Supported: Monoflex 60 PCB | ||
| 11 | * Hardware Availability: [GB](https://geekhack.org/index.php?topic=110738.0) | ||
| 12 | |||
| 13 | Make example for this keyboard (after setting up your build environment): | ||
| 14 | |||
| 15 | make monoflex60:default | ||
| 16 | |||
| 17 | Flashing example for this keyboard: | ||
| 18 | |||
| 19 | make monoflex60:default:flash | ||
| 20 | |||
| 21 | 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). | ||
| 22 | |||
| 23 | ## Bootloader | ||
| 24 | |||
| 25 | Enter the bootloader in 3 ways: | ||
| 26 | |||
| 27 | * Bootmagic reset: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
| 28 | * Keycode in layout: Press the key mapped to RESET if it is available | ||
| 29 | * Physical reset button: Press the button on the back of the PCB | ||
diff --git a/keyboards/monoflex60/rules.mk b/keyboards/monoflex60/rules.mk new file mode 100644 index 000000000..6983d5c80 --- /dev/null +++ b/keyboards/monoflex60/rules.mk | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | NKRO_ENABLE = yes # Enable N-key Rollover | ||
| 16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output | ||
| 19 | LTO_ENABLE = yes | ||
