diff options
Diffstat (limited to 'keyboards/blank_tehnologii')
12 files changed, 591 insertions, 0 deletions
diff --git a/keyboards/blank_tehnologii/manibus/config.h b/keyboards/blank_tehnologii/manibus/config.h new file mode 100644 index 000000000..e5f1caf24 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/config.h | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 0xFEED | ||
| 23 | #define PRODUCT_ID 0x0000 | ||
| 24 | #define DEVICE_VER 0x0002 | ||
| 25 | #define MANUFACTURER Blank Tehnologii | ||
| 26 | #define PRODUCT Manibus | ||
| 27 | #define EE_HANDS | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 10 | ||
| 31 | #define MATRIX_COLS 7 | ||
| 32 | |||
| 33 | /* define pins */ | ||
| 34 | #define MATRIX_ROW_PINS { F6, F5, F4, B6, D3 } | ||
| 35 | #define MATRIX_COL_PINS { B5, B4, D7, D6, F0, F1, C6 } | ||
| 36 | #define MATRIX_ROW_PINS_RIGHT { D6, D7, B4, F7, E6 } | ||
| 37 | #define MATRIX_COL_PINS_RIGHT { B1, B2, B3, F1, F4, F5, F6 } | ||
| 38 | #define UNUSED_PINS | ||
| 39 | |||
| 40 | /* COL2ROW, ROW2COL*/ | ||
| 41 | #define DIODE_DIRECTION COL2ROW | ||
| 42 | |||
| 43 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 44 | #define DEBOUNCE 2 | ||
| 45 | |||
| 46 | /* serial.c configuration for split keyboard */ | ||
| 47 | #define SOFT_SERIAL_PIN D0 | ||
diff --git a/keyboards/blank_tehnologii/manibus/info.json b/keyboards/blank_tehnologii/manibus/info.json new file mode 100644 index 000000000..8a6892344 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/info.json | |||
| @@ -0,0 +1,84 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Manibus", | ||
| 3 | "url": "https://blank.computer/", | ||
| 4 | "maintainer": "SamuraiKek", | ||
| 5 | "width": 14, | ||
| 6 | "height": 4.75, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | {"label":"Esc", "x":0, "y":0.75}, | ||
| 11 | {"label":"1", "x":1, "y":0.5}, | ||
| 12 | {"label":"2", "x":2, "y":0.25}, | ||
| 13 | {"label":"3", "x":3, "y":0}, | ||
| 14 | {"label":"4", "x":4, "y":0.25}, | ||
| 15 | {"label":"5", "x":5, "y":0.25}, | ||
| 16 | |||
| 17 | {"label":"6", "x":9, "y":0.25}, | ||
| 18 | {"label":"7", "x":10, "y":0.25}, | ||
| 19 | {"label":"8", "x":11, "y":0}, | ||
| 20 | {"label":"9", "x":12, "y":0.25}, | ||
| 21 | {"label":"0", "x":13, "y":0.5}, | ||
| 22 | {"label":"-", "x":14, "y":0.75}, | ||
| 23 | |||
| 24 | {"label":"Tab", "x":0, "y":1.75}, | ||
| 25 | {"label":"Q", "x":1, "y":1.5}, | ||
| 26 | {"label":"W", "x":2, "y":1.25}, | ||
| 27 | {"label":"E", "x":3, "y":1}, | ||
| 28 | {"label":"R", "x":4, "y":1.25}, | ||
| 29 | {"label":"T", "x":5, "y":1.25}, | ||
| 30 | |||
| 31 | {"label":"Y", "x":9, "y":1.25}, | ||
| 32 | {"label":"U", "x":10, "y":1.25}, | ||
| 33 | {"label":"I", "x":11, "y":1}, | ||
| 34 | {"label":"O", "x":12, "y":1.25}, | ||
| 35 | {"label":"P", "x":13, "y":1.5}, | ||
| 36 | {"label":"=", "x":14, "y":1.75}, | ||
| 37 | |||
| 38 | {"label":"Caps", "x":0, "y":2.75}, | ||
| 39 | {"label":"A", "x":1, "y":2.5}, | ||
| 40 | {"label":"S", "x":2, "y":2.25}, | ||
| 41 | {"label":"D", "x":3, "y":2}, | ||
| 42 | {"label":"F", "x":4, "y":2.25}, | ||
| 43 | {"label":"G", "x":5, "y":2.25}, | ||
| 44 | |||
| 45 | {"label":"H", "x":9, "y":2.25}, | ||
| 46 | {"label":"J", "x":10, "y":2.25}, | ||
| 47 | {"label":"K", "x":11, "y":2}, | ||
| 48 | {"label":"L", "x":12, "y":2.25}, | ||
| 49 | {"label":";", "x":13, "y":2.5}, | ||
| 50 | {"label":"'", "x":14, "y":2.75}, | ||
| 51 | |||
| 52 | {"label":"Shift", "x":0, "y":3.75}, | ||
| 53 | {"label":"Z", "x":1, "y":3.5}, | ||
| 54 | {"label":"X", "x":2, "y":3.25}, | ||
| 55 | {"label":"C", "x":3, "y":3}, | ||
| 56 | {"label":"V", "x":4, "y":3.25}, | ||
| 57 | {"label":"B", "x":5, "y":3.25}, | ||
| 58 | |||
| 59 | {"label":"N", "x":9, "y":3.25}, | ||
| 60 | {"label":"M", "x":10, "y":3.25}, | ||
| 61 | {"label":",", "x":11, "y":3}, | ||
| 62 | {"label":".", "x":12, "y":3.25}, | ||
| 63 | {"label":"/", "x":13, "y":3.5}, | ||
| 64 | {"label":"|", "x":14, "y":3.75}, | ||
| 65 | |||
| 66 | {"label":"Control", "x":0, "y":4.75}, | ||
| 67 | {"label":"Home", "x":1, "y":4.5}, | ||
| 68 | {"label":"Insert", "x":2, "y":4.25}, | ||
| 69 | {"label":"Delete", "x":3, "y":4}, | ||
| 70 | {"label":"GUI", "x":4, "y":4.25}, | ||
| 71 | {"label":"Space", "x":5, "y":4.25, "h":1.5}, | ||
| 72 | {"label":"Alt", "x":6, "y":4.25, "h":2.25}, | ||
| 73 | |||
| 74 | {"label":"Enter", "x":8, "y":4.25, "h":2.25}, | ||
| 75 | {"label":"Backspace", "x":9, "y":4.25, "h":1.5}, | ||
| 76 | {"label":"MOD", "x":10, "y":4.25}, | ||
| 77 | {"label":"[", "x":11, "y":4}, | ||
| 78 | {"label":"]", "x":12, "y":4.25}, | ||
| 79 | {"label":"End", "x":13, "y":4.5}, | ||
| 80 | {"label":"~", "x":14, "y":4.75} | ||
| 81 | ] | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } | ||
diff --git a/keyboards/blank_tehnologii/manibus/keymaps/default/config.h b/keyboards/blank_tehnologii/manibus/keymaps/default/config.h new file mode 100644 index 000000000..2de4f0f87 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/keymaps/default/config.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 | #define EE_HANDS | ||
| 19 | |||
diff --git a/keyboards/blank_tehnologii/manibus/keymaps/default/keymap.c b/keyboards/blank_tehnologii/manibus/keymaps/default/keymap.c new file mode 100644 index 000000000..93b9614a0 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/keymaps/default/keymap.c | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | |||
| 19 | enum custom_keycodes { | ||
| 20 | _QWERTY, | ||
| 21 | _LOWER | ||
| 22 | }; | ||
| 23 | |||
| 24 | #define LOWER MO(_LOWER) | ||
| 25 | /* | ||
| 26 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, | ||
| 27 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, | ||
| 28 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, | ||
| 29 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, | ||
| 30 | L40, L41, L42, L43, L44, L45, L46, R40, R41, R42, R43, R44, R45, R46, | ||
| 31 | |||
| 32 | [_UNIVERSAL] = LAYOUT( | ||
| 33 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 39 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 43 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 44 | ) | ||
| 45 | |||
| 46 | */ | ||
| 47 | |||
| 48 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 49 | |||
| 50 | [_QWERTY] = LAYOUT( | ||
| 51 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 52 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, | ||
| 53 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 54 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL, | ||
| 55 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 56 | KC_CLCK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 57 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 58 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS, | ||
| 59 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 60 | KC_LCTL, KC_HOME, KC_INS, KC_DEL, KC_LGUI, KC_SPC, KC_LALT, KC_ENT, KC_BSPC, LOWER, KC_LBRC, KC_RBRC, KC_END, KC_GRV | ||
| 61 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 62 | ), | ||
| 63 | |||
| 64 | [_LOWER] = LAYOUT( | ||
| 65 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 66 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
| 67 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 68 | _______, _______, _______, _______, RESET, _______, _______, _______, KC_UP, _______, KC_MPLY, KC_F12, | ||
| 69 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 70 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT,KC_VOLD, KC_VOLU, | ||
| 71 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 72 | _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_MPRV, KC_MNXT, _______, _______, | ||
| 73 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 74 | _______, KC_PGUP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, _______ | ||
| 75 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 76 | ) | ||
| 77 | }; | ||
diff --git a/keyboards/blank_tehnologii/manibus/keymaps/default/readme.md b/keyboards/blank_tehnologii/manibus/keymaps/default/readme.md new file mode 100644 index 000000000..a720b722b --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/keymaps/default/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #Manibus Default Layout | ||
| 2 | |||
| 3 | This is the default layout for Manibus that comes shipped with every keyboard. | ||
diff --git a/keyboards/blank_tehnologii/manibus/keymaps/samurai/config.h b/keyboards/blank_tehnologii/manibus/keymaps/samurai/config.h new file mode 100644 index 000000000..d3017fbc0 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/keymaps/samurai/config.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 | #define EE_HANDS | ||
| 19 | #define TAPPING_TERM 200 | ||
| 20 | #define IGNORE_MOD_TAP_INTERRUPT | ||
| 21 | #define MOUSEKEY_INTERVAL 16 | ||
| 22 | #define MOUSEKEY_MAX_SPEED 3 | ||
| 23 | #define MOUSEKEY_TIME_TO_MAX 30 | ||
| 24 | #define MOUSEKEY_WHEEL_MAX_SPEED 10 | ||
| 25 | #define MOUSEKEY_WHEEL_TIME_TO_MAX 30 | ||
| 26 | // place overrides here | ||
diff --git a/keyboards/blank_tehnologii/manibus/keymaps/samurai/keymap.c b/keyboards/blank_tehnologii/manibus/keymaps/samurai/keymap.c new file mode 100644 index 000000000..3d59cb307 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/keymaps/samurai/keymap.c | |||
| @@ -0,0 +1,223 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | |||
| 19 | enum custom_layers { | ||
| 20 | _QWERTY, | ||
| 21 | _LOWER, | ||
| 22 | _UPPER, | ||
| 23 | _MOUSE, | ||
| 24 | _MEDIA, | ||
| 25 | }; | ||
| 26 | #define MD_SPC MT(MOD_LSFT, KC_SPC) | ||
| 27 | #define MD_ENT MT(MOD_RALT, KC_ENT) | ||
| 28 | #define LT_SPC LT(_LOWER, KC_SPC) | ||
| 29 | |||
| 30 | enum custom_keycodes { | ||
| 31 | QWERTY = SAFE_RANGE, | ||
| 32 | LOWER, | ||
| 33 | UPPER, | ||
| 34 | MOUSE, | ||
| 35 | MEDIA, | ||
| 36 | KC_CTB, | ||
| 37 | KC_CSTB, | ||
| 38 | KC_QUIT, | ||
| 39 | KC_CTLW, | ||
| 40 | KC_CTLT, | ||
| 41 | KC_CST | ||
| 42 | }; | ||
| 43 | /* | ||
| 44 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, | ||
| 45 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, | ||
| 46 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, | ||
| 47 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, | ||
| 48 | L40, L41, L42, L43, L44, L45, L46, R40, R41, R42, R43, R44, R45, R46, | ||
| 49 | |||
| 50 | [_UNIVERSAL] = LAYOUT( | ||
| 51 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 53 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 55 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 57 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 58 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 59 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 60 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 61 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 62 | ) | ||
| 63 | |||
| 64 | */ | ||
| 65 | |||
| 66 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 67 | |||
| 68 | [_QWERTY] = LAYOUT( | ||
| 69 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 70 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, | ||
| 71 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 72 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, | ||
| 73 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 74 | KC_LGUI, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 75 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 76 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS, | ||
| 77 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 78 | UPPER, KC_HOME, MOUSE, KC_RALT, KC_LCTL, MD_SPC, KC_LALT, KC_ENT, KC_BSPC, LOWER, KC_DEL, KC_INS, KC_END, MEDIA | ||
| 79 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 80 | ), | ||
| 81 | |||
| 82 | [_LOWER] = LAYOUT( | ||
| 83 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 84 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
| 85 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 86 | _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, KC_LBRC, KC_RBRC, KC_F12, | ||
| 87 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 88 | _______, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT,_______, _______, | ||
| 89 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 90 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 91 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 92 | _______, KC_PGUP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PGDN, _______ | ||
| 93 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 94 | ), | ||
| 95 | |||
| 96 | [_UPPER] = LAYOUT( | ||
| 97 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 98 | RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, | ||
| 99 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 100 | _______, _______, _______, _______, _______, _______, KC_NLCK, KC_P7, KC_P8, KC_P9, _______, KC_F12, | ||
| 101 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 102 | _______, _______, _______, _______, _______, _______, KC_PPLS, KC_P4, KC_P5, KC_P6, KC_PMNS, _______, | ||
| 103 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 104 | _______, _______, _______, _______, _______, _______, KC_P0, KC_P1, KC_P2, KC_P3, KC_PDOT, _______, | ||
| 105 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 106 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 107 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 108 | ), | ||
| 109 | |||
| 110 | [_MOUSE] = LAYOUT( | ||
| 111 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 112 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 113 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 114 | _______, _______, _______, _______, _______, _______, _______, KC_WH_U, KC_MS_U, _______, _______, _______, | ||
| 115 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 116 | _______, _______, _______, _______, _______, _______, _______, KC_MS_L, KC_MS_D, KC_MS_R, KC_BTN2, KC_BTN3, | ||
| 117 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 118 | _______, _______, _______, _______, _______, _______, _______, KC_WH_D, KC_BTN2, _______, _______, _______, | ||
| 119 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 120 | _______, _______, _______, _______, _______, _______, _______, _______, KC_BTN1, _______, _______, _______, _______, _______ | ||
| 121 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 122 | ), | ||
| 123 | |||
| 124 | [_MEDIA] = LAYOUT( | ||
| 125 | // ┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | ||
| 126 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, | ||
| 127 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 128 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLD, | ||
| 129 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 130 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 131 | // ├────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 132 | _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_MPRV, KC_MNXT, _______, _______, | ||
| 133 | // ├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | ||
| 134 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 135 | // └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ └────────┴────────┴────────┴────────┴────────┴────────┴────────┘ | ||
| 136 | ) | ||
| 137 | }; | ||
| 138 | |||
| 139 | // Automatically sets the numlock on at startup | ||
| 140 | void led_set_keymap(uint8_t usb_led) { | ||
| 141 | if (!(usb_led & (1<<USB_LED_NUM_LOCK))) { | ||
| 142 | tap_code(KC_NLCK); | ||
| 143 | } | ||
| 144 | } | ||
| 145 | |||
| 146 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 147 | switch (keycode) { | ||
| 148 | case QWERTY: | ||
| 149 | if (record->event.pressed) { | ||
| 150 | set_single_persistent_default_layer(_QWERTY); | ||
| 151 | } | ||
| 152 | return false; | ||
| 153 | case LOWER: | ||
| 154 | if (record->event.pressed) { | ||
| 155 | layer_on(_LOWER); | ||
| 156 | } else { | ||
| 157 | layer_off(_LOWER); | ||
| 158 | } | ||
| 159 | return false; | ||
| 160 | case UPPER: | ||
| 161 | if(record->event.pressed) { | ||
| 162 | layer_on(_UPPER); | ||
| 163 | } else { | ||
| 164 | layer_off(_UPPER); | ||
| 165 | } | ||
| 166 | return false; | ||
| 167 | case MOUSE: | ||
| 168 | if (record->event.pressed) { | ||
| 169 | layer_on(_MOUSE); | ||
| 170 | } else { | ||
| 171 | layer_off(_MOUSE); | ||
| 172 | } | ||
| 173 | return false; | ||
| 174 | case MEDIA: | ||
| 175 | if(record->event.pressed) { | ||
| 176 | layer_on(_MEDIA); | ||
| 177 | } else { | ||
| 178 | layer_off(_MEDIA); | ||
| 179 | } | ||
| 180 | return false; | ||
| 181 | case KC_CTB: | ||
| 182 | if(record->event.pressed) { | ||
| 183 | tap_code16(C(KC_TAB)); | ||
| 184 | } | ||
| 185 | return false; | ||
| 186 | case KC_CSTB: | ||
| 187 | if(record->event.pressed) { | ||
| 188 | tap_code16(C(S(KC_TAB))); | ||
| 189 | } | ||
| 190 | return false; | ||
| 191 | case KC_QUIT: | ||
| 192 | if(record->event.pressed) { | ||
| 193 | tap_code16(A(KC_F4)); | ||
| 194 | } | ||
| 195 | return false; | ||
| 196 | case KC_CTLW: | ||
| 197 | if(record->event.pressed) { | ||
| 198 | tap_code16(C(KC_W)); | ||
| 199 | } | ||
| 200 | return false; | ||
| 201 | case KC_CTLT: | ||
| 202 | if(record->event.pressed) { | ||
| 203 | tap_code16(C(KC_T)); | ||
| 204 | } | ||
| 205 | return false; | ||
| 206 | case KC_CST: | ||
| 207 | if(record->event.pressed) { | ||
| 208 | tap_code16(C(S(KC_T))); | ||
| 209 | } | ||
| 210 | return false; | ||
| 211 | case KC_ENT: | ||
| 212 | if(record->event.pressed) { | ||
| 213 | if(get_mods() & MOD_BIT(KC_LSFT)){ | ||
| 214 | tap_code(KC_SPC); | ||
| 215 | } | ||
| 216 | else { | ||
| 217 | tap_code(KC_ENT); | ||
| 218 | } | ||
| 219 | } | ||
| 220 | return false; | ||
| 221 | } | ||
| 222 | return true; | ||
| 223 | } | ||
diff --git a/keyboards/blank_tehnologii/manibus/keymaps/samurai/readme.md b/keyboards/blank_tehnologii/manibus/keymaps/samurai/readme.md new file mode 100644 index 000000000..5a5d07804 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/keymaps/samurai/readme.md | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #Manibus Samurai Layout | ||
| 2 | |||
| 3 | This is the personal layout of Alex Paulescu/SamuraiKek, the creator and maintainer of the board. | ||
| 4 | |||
| 5 | This layout is the culmination of almost a year of using Manibus in various situations, offering a good balance between writing code, typing exercises and gaming. | ||
diff --git a/keyboards/blank_tehnologii/manibus/manibus.c b/keyboards/blank_tehnologii/manibus/manibus.c new file mode 100644 index 000000000..77ef2602d --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/manibus.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 | #include "manibus.h" | ||
diff --git a/keyboards/blank_tehnologii/manibus/manibus.h b/keyboards/blank_tehnologii/manibus/manibus.h new file mode 100644 index 000000000..e705d79ee --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/manibus.h | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | /* Copyright 2021 SamuraiKek | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | /* This a shortcut to help you visually see your layout. | ||
| 21 | * | ||
| 22 | * The first section contains all of the arguments representing the physical | ||
| 23 | * layout of the board and position of the keys. | ||
| 24 | * | ||
| 25 | * The second converts the arguments into a two-dimensional array which | ||
| 26 | * represents the switch matrix. | ||
| 27 | */ | ||
| 28 | |||
| 29 | #define LAYOUT( \ | ||
| 30 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, \ | ||
| 31 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, \ | ||
| 32 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, \ | ||
| 33 | L30, L31, L32, L33, L34, L35, R30, R31, R32, R33, R34, R35, \ | ||
| 34 | L40, L41, L42, L43, L44, L45, LT1, RT1, R40, R41, R42, R43, R44, R45 \ | ||
| 35 | ) \ | ||
| 36 | { \ | ||
| 37 | { L00, L01, L02, L03, L04, L05, KC_NO }, \ | ||
| 38 | { L10, L11, L12, L13, L14, L15, KC_NO }, \ | ||
| 39 | { L20, L21, L22, L23, L24, L25, KC_NO }, \ | ||
| 40 | { L30, L31, L32, L33, L34, L35, KC_NO }, \ | ||
| 41 | { L40, L41, L42, L43, L44, L45, LT1 }, \ | ||
| 42 | { KC_NO, R00, R01, R02, R03, R04, R05 }, \ | ||
| 43 | { KC_NO, R10, R11, R12, R13, R14, R15 }, \ | ||
| 44 | { KC_NO, R20, R21, R22, R23, R24, R25 }, \ | ||
| 45 | { KC_NO, R30, R31, R32, R33, R34, R35 }, \ | ||
| 46 | { RT1, R40, R41, R42, R43, R44, R45 }, \ | ||
| 47 | } | ||
diff --git a/keyboards/blank_tehnologii/manibus/readme.md b/keyboards/blank_tehnologii/manibus/readme.md new file mode 100644 index 000000000..2efa7c587 --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/readme.md | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # Manibus keyboard | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 5x7 split ergonomic keyboard designed and sold by [Blank Tehnologii](https://blank.computer/). | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Alex Paulescu/SamuraiKek](https://github.com/SamuraiKek) | ||
| 8 | * Hardware Supported: [ATmega32u4](https://www.digikey.com/en/products/detail/microchip-technology/ATMEGA32U4-AU/1914602) | ||
| 9 | * Hardware Availability: [Blank Tehnologii](https://blank.computer/) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make blank_tehnologii/manibus:default | ||
| 14 | |||
| 15 | Example of flashing this keyboard: | ||
| 16 | |||
| 17 | make blank_tehnologii/manibus:default:dfu-split-left # Left half | ||
| 18 | make blank_tehnologii/manibus:default:dfu-split-right # Right half | ||
| 19 | |||
| 20 | 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/blank_tehnologii/manibus/rules.mk b/keyboards/blank_tehnologii/manibus/rules.mk new file mode 100644 index 000000000..bf50c05dd --- /dev/null +++ b/keyboards/blank_tehnologii/manibus/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 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 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration | ||
| 10 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 11 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 12 | CONSOLE_ENABLE = yes # Console for debug | ||
| 13 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 14 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 15 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 16 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 17 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 18 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 19 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 20 | UNICODE_ENABLE = no # Unicode | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | SPLIT_KEYBOARD = yes | ||
