diff --git a/keyboards/aeternus/omnibus/config.h b/keyboards/aeternus/omnibus/config.h new file mode 100644 index 000000000000..01d376f0d5ae --- /dev/null +++ b/keyboards/aeternus/omnibus/config.h @@ -0,0 +1,49 @@ +/* +Copyright 2021 KnoblesseOblige + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xAE7E +#define PRODUCT_ID 0x4F42 /* "OB" */ +#define DEVICE_VER 0x0001 +#define MANUFACTURER KnoblesseOblige +#define PRODUCT Omnibus + +#define MATRIX_ROWS 4 +#define MATRIX_COLS 12 + +#define MATRIX_ROW_PINS { B1, B0, D6, D4 } +#define MATRIX_COL_PINS { B4, B5, B6, C6, C7, F7, F6, F5, F4, F1, F0, D7 } + +#define DIODE_DIRECTION COL2ROW + +#define ENCODERS_PAD_A { B2 } +#define ENCODERS_PAD_B { B3 } + +#define RGB_DI_PIN B7 +#ifdef RGB_DI_PIN +# define RGBLED_NUM 22 +# define RGBLIGHT_ANIMATIONS +#endif + +#define DEBOUNCE 5 + +#define LOCKING_SUPPORT_ENABLE +#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/aeternus/omnibus/info.json b/keyboards/aeternus/omnibus/info.json new file mode 100644 index 000000000000..e1f62ecc27cf --- /dev/null +++ b/keyboards/aeternus/omnibus/info.json @@ -0,0 +1,249 @@ +{ + "keyboard_name": "omnibus", + "url": "", + "maintainer": "KnoblesseOblige", + "layouts": { + "LAYOUT": { + "layout": [ + { + "label": "k00", + "x": 0, + "y": 0 + }, + { + "label": "k01", + "x": 1, + "y": 0 + }, + { + "label": "k02", + "x": 2, + "y": 0 + }, + { + "label": "k03", + "x": 3, + "y": 0 + }, + { + "label": "k04", + "x": 4, + "y": 0 + }, + { + "label": "k05", + "x": 5, + "y": 0 + }, + { + "label": "k06", + "x": 6, + "y": 0 + }, + { + "label": "k07", + "x": 7, + "y": 0 + }, + { + "label": "k08", + "x": 8, + "y": 0 + }, + { + "label": "k09", + "x": 9, + "y": 0 + }, + { + "label": "k0a", + "x": 10, + "y": 0 + }, + { + "label": "k0b", + "x": 11, + "y": 0, + "w": 1.75 + }, + { + "label": "k37", + "x": 7, + "y": 3 + }, + { + "label": "k10", + "x": 0, + "y": 1 + }, + { + "label": "k11", + "x": 1, + "y": 1 + }, + { + "label": "k12", + "x": 2, + "y": 1 + }, + { + "label": "k13", + "x": 3, + "y": 1 + }, + { + "label": "k14", + "x": 4, + "y": 1 + }, + { + "label": "k15", + "x": 5, + "y": 1 + }, + { + "label": "k16", + "x": 6, + "y": 1 + }, + { + "label": "k17", + "x": 7, + "y": 1 + }, + { + "label": "k18", + "x": 8, + "y": 1 + }, + { + "label": "k19", + "x": 9, + "y": 1 + }, + { + "label": "k1a", + "x": 10, + "y": 1 + }, + { + "label": "k1b", + "x": 11, + "y": 1 + }, + { + "label": "k20", + "x": 0, + "y": 2 + }, + { + "label": "k21", + "x": 1, + "y": 2 + }, + { + "label": "k22", + "x": 2, + "y": 2 + }, + { + "label": "k23", + "x": 3, + "y": 2 + }, + { + "label": "k24", + "x": 4, + "y": 2 + }, + { + "label": "k25", + "x": 5, + "y": 2 + }, + { + "label": "k26", + "x": 6, + "y": 2 + }, + { + "label": "k27", + "x": 7, + "y": 2 + }, + { + "label": "k28", + "x": 8, + "y": 2 + }, + { + "label": "k29", + "x": 9, + "y": 2 + }, + { + "label": "k2a", + "x": 10, + "y": 2 + }, + { + "label": "k2b", + "x": 11, + "y": 2 + }, + + + { + "label": "k30", + "x": 0, + "y": 3 + }, + { + "label": "k31", + "x": 1, + "y": 3 + }, + { + "label": "k32", + "x": 2, + "y": 3 + }, + { + "label": "k33", + "x": 3, + "y": 3 + }, + { + "label": "k34", + "x": 4, + "y": 3 + }, + { + "label": "k36", + "x": 6, + "y": 3 + }, + { + "label": "k38", + "x": 8, + "y": 3 + }, + { + "label": "k39", + "x": 9, + "y": 3 + }, + { + "label": "k3a", + "x": 10, + "y": 3 + }, + { + "label": "k3b", + "x": 11, + "y": 3 + } + ] + } + } + } diff --git a/keyboards/aeternus/omnibus/keymaps/default/keymap.c b/keyboards/aeternus/omnibus/keymaps/default/keymap.c new file mode 100644 index 000000000000..41e2be18b945 --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/default/keymap.c @@ -0,0 +1,44 @@ +/* Copyright 2021 KnoblesseOblige + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* Base */ + [0] = LAYOUT_all( + KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_DEL, + LCTL_T(KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + MO(1), KC_LALT, KC_LGUI, MO(2), KC_SPC, KC_SPC, MO(3), MO(1), TT(2), MO(2) + ), + [1] = LAYOUT_all( + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_all( + KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/aeternus/omnibus/keymaps/via/keymap.c b/keyboards/aeternus/omnibus/keymaps/via/keymap.c new file mode 100644 index 000000000000..41e2be18b945 --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/via/keymap.c @@ -0,0 +1,44 @@ +/* Copyright 2021 KnoblesseOblige + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* Base */ + [0] = LAYOUT_all( + KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_DEL, + LCTL_T(KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + MO(1), KC_LALT, KC_LGUI, MO(2), KC_SPC, KC_SPC, MO(3), MO(1), TT(2), MO(2) + ), + [1] = LAYOUT_all( + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_all( + KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/aeternus/omnibus/keymaps/via/rules.mk b/keyboards/aeternus/omnibus/keymaps/via/rules.mk new file mode 100644 index 000000000000..036bd6d1c3ec --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/aeternus/omnibus/keymaps/vial/config.h b/keyboards/aeternus/omnibus/keymaps/vial/config.h new file mode 100644 index 000000000000..cb66b49ee5ca --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/vial/config.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x61, 0x6F, 0x6D, 0x6E, 0x69, 0x62, 0x75, 0x73} +#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 11 } diff --git a/keyboards/aeternus/omnibus/keymaps/vial/keymap.c b/keyboards/aeternus/omnibus/keymaps/vial/keymap.c new file mode 100644 index 000000000000..37e8accf2726 --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/vial/keymap.c @@ -0,0 +1,53 @@ +/* Copyright 2021 KnoblesseOblige + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include QMK_KEYBOARD_H + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { + [0] = { ENCODER_CCW_CW(KC_MS_WH_UP, KC_MS_WH_DOWN) }, + [1] = { ENCODER_CCW_CW(RGB_HUD, RGB_HUI) }, + [2] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) }, + [3] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD) }, +}; +#endif + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* Base */ + [0] = LAYOUT_all( + KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, KC_DEL, + LCTL_T(KC_TAB), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + MO(1), KC_LALT, KC_LGUI, MO(2), KC_SPC, KC_SPC, MO(3), MO(1), TT(2), MO(2) + ), + [1] = LAYOUT_all( + KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_all( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_all( + KC_GRAVE, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ) +}; diff --git a/keyboards/aeternus/omnibus/keymaps/vial/rules.mk b/keyboards/aeternus/omnibus/keymaps/vial/rules.mk new file mode 100644 index 000000000000..bacb882dc876 --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/vial/rules.mk @@ -0,0 +1,7 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes + +QMK_SETTINGS = no +LTO_ENABLE = yes +TAP_DANCE_ENABLE = no +ENCODER_MAP_ENABLE = yes diff --git a/keyboards/aeternus/omnibus/keymaps/vial/vial.json b/keyboards/aeternus/omnibus/keymaps/vial/vial.json new file mode 100644 index 000000000000..d6e99b1bad7a --- /dev/null +++ b/keyboards/aeternus/omnibus/keymaps/vial/vial.json @@ -0,0 +1,401 @@ +{ + "name": "Omnibus", + "vendorId": "AE7E", + "productId": "4F42", + "lighting": "qmk_rgblight", + "matrix": { + "rows": 4, + "cols": 12 + }, + "layouts": { + "labels": [ + [ + "Bottom Row", + "Standard / Standard", + "Southpaw / Arrows", + "3u/3u (m3n3van)", + "2.75u/2.25u (Minisub)", + "1.5u/1.5u S-Class", + "2.25u/2u (0.75u HHKB)", + "4.25u", + "6u (m3n3van)", + "Jetvan", + "6.25u HHKB/WKL", + "Offset 7u", + "Offset 9u", + "Big Boi", + "9.75u (0.25u WKL)", + "Behemoth", + "Centered 9u", + "Nixdorf", + "6.25u (0.75u HHKB)", + "7u (1.25u/2u HHKB)", + "7u (1u/1.75u HHKB)", + "10u HHKB (1u/1.75u HHKB)", + "6.25u (MB44)", + "2.25/1/2.75 (MB44)", + "2.75u/2.25u/1u (MB44)", + "6.25u (0.75u WKL) (Pegasus)" + ], + "Split Backspace", + "JIS Enter" + ], + "keymap": [ + [ + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + { + "w": 1.75 + }, + "0,11\n\n\n1,0", + { + "x": 0.25 + }, + "0,11\n\n\n1,1", + { + "w": 0.75 + }, + "3,7\n\n\n1,1", + { + "x": 0.25 + }, + "0,0\n\n\n1,1\n\n\n\n\n\ne", + "0,1\n\n\n1,1\n\n\n\n\n\ne" + ], + [ + { "w": 1.25 }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + { "w": 1.5 }, + "1,11\n\n\n2,0", + { "x": 1, "h": 2, "w2": 1.5, "h2": 1, "x2": -0.5 }, + "1,11\n\n\n2,1" + ], + [ + { "w": 1.75 }, + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11\n\n\n2,0" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,0", + { "w": 1.5 }, + "3,1\n\n\n0,0", + { "w": 1.25 }, + "3,3\n\n\n0,0", + { "w": 2.25 }, + "3,4\n\n\n0,0", + { "w": 2 }, + "3,6\n\n\n0,0", + { "w": 1.25 }, + "3,8\n\n\n0,0", + { "w": 1.5 }, + "3,9\n\n\n0,0", + { "w": 1.75 }, + "3,11\n\n\n0,0" + ], + [ + { "y": 1 }, + "3,0\n\n\n0,1", + "3,1\n\n\n0,1", + "3,2\n\n\n0,1", + "3,3\n\n\n0,1", + { "w": 2.25 }, + "3,4\n\n\n0,1", + { "w": 2 }, + "3,6\n\n\n0,1", + { "w": 1.5 }, + "3,8\n\n\n0,1", + "3,9\n\n\n0,1", + "3,10\n\n\n0,1", + "3,11\n\n\n0,1" + ], + [ + "3,0\n\n\n0,2", + { "w": 1.25 }, + "3,1\n\n\n0,2", + "3,2\n\n\n0,2", + { "w": 3 }, + "3,4\n\n\n0,2", + { "w": 3 }, + "3,6\n\n\n0,2", + { "w": 1.25 }, + "3,9\n\n\n0,2", + "3,10\n\n\n0,2", + { "w": 1.25 }, + "3,11\n\n\n0,2" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,3", + "3,1\n\n\n0,3", + { "w": 1.25 }, + "3,2\n\n\n0,3", + { "w": 2.75 }, + "3,4\n\n\n0,3", + { "w": 2.25 }, + "3,6\n\n\n0,3", + { "w": 1.25 }, + "3,8\n\n\n0,3", + "3,9\n\n\n0,3", + "3,10\n\n\n0,3", + "3,11\n\n\n0,3" + ], + [ + { "w": 1.5 }, + "3,0\n\n\n0,4", + { "w": 1.5 }, + "3,1\n\n\n0,4", + { "x": 1, "w": 2.25 }, + "3,4\n\n\n0,4", + { "w": 2 }, + "3,6\n\n\n0,4", + { "w": 1.5 }, + "3,8\n\n\n0,4", + "3,9\n\n\n0,4", + "3,10\n\n\n0,4", + "3,11\n\n\n0,4" + ], + [ + { "y": 1, "w": 0.75, "d": true }, + "\n\n\n0,5", + { "w": 1.25 }, + "3,1\n\n\n0,5", + "3,2\n\n\n0,5", + "3,3\n\n\n0,5", + { "w": 2.25 }, + "3,4\n\n\n0,5", + { "w": 2 }, + "3,6\n\n\n0,5", + { "w": 1.25 }, + "3,8\n\n\n0,5", + { "w": 1.25 }, + "3,9\n\n\n0,5", + { "w": 1.25 }, + "3,10\n\n\n0,5", + { "w": 0.75, "d": true }, + "\n\n\n0,5" + ], + [ + { "y": 1 }, + "3,0\n\n\n0,6", + "3,1\n\n\n0,6", + "3,2\n\n\n0,6", + "3,3\n\n\n0,6", + { "w": 4.25 }, + "3,4\n\n\n0,6", + { "w": 1.5 }, + "3,8\n\n\n0,6", + "3,9\n\n\n0,6", + "3,10\n\n\n0,6", + "3,11\n\n\n0,6" + ], + [ + "3,0\n\n\n0,7", + { "w": 1.25 }, + "3,1\n\n\n0,7", + "3,2\n\n\n0,7", + { "w": 6 }, + "3,4\n\n\n0,7", + { "w": 1.25 }, + "3,9\n\n\n0,7", + "3,10\n\n\n0,7", + { "w": 1.25 }, + "3,11\n\n\n0,7" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,8", + "3,1\n\n\n0,8", + { "w": 1.25 }, + "3,2\n\n\n0,8", + { "w": 6.25 }, + "3,4\n\n\n0,8", + "3,9\n\n\n0,8", + "3,10\n\n\n0,8", + "3,11\n\n\n0,8" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,9", + "3,1\n\n\n0,9", + "3,2\n\n\n0,9", + { "w": 6.25 }, + "3,4\n\n\n0,9", + "3,9\n\n\n0,9", + "3,10\n\n\n0,9", + { "w": 1.25 }, + "3,11\n\n\n0,9" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,10", + { "w": 1.5 }, + "3,1\n\n\n0,10", + "3,3\n\n\n0,10", + { "w": 7 }, + "3,6\n\n\n0,10", + "3,10\n\n\n0,10", + "3,11\n\n\n0,10" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,11", + { "w": 1.5 }, + "3,1\n\n\n0,11", + { "w": 9 }, + "3,6\n\n\n0,11", + "3,11\n\n\n0,11" + ], + [ + "3,0\n\n\n0,12", + "3,1\n\n\n0,12", + { "w": 9.75 }, + "3,6\n\n\n0,12", + "3,11\n\n\n0,12" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,13", + { "x": 0.25, "w": 9.75 }, + "3,4\n\n\n0,13", + { "x": 0.25, "w": 1.25 }, + "3,11\n\n\n0,13" + ], + [ + { "w": 12.75 }, + "3,4\n\n\n0,14" + ], + [ + { "w": 1.25 }, + "3,0\n\n\n0,15", + { "w": 1.25 }, + "3,1\n\n\n0,15", + { "w": 9 }, + "3,4\n\n\n0,15", + { "w": 1.25 }, + "3,11\n\n\n0,15" + ], + [ + "3,0\n\n\n0,16", + "3,1\n\n\n0,16", + "3,2\n\n\n0,16", + { "w": 8 }, + "3,4\n\n\n0,16", + { "w": 1.75 }, + "3,11\n\n\n0,16" + ], + [ + { "y": 1, "x": 0.75, "w": 1.25 }, + "3,1\n\n\n0,17", + { "w": 1.25 }, + "3,2\n\n\n0,17", + { "w": 6.25 }, + "3,4\n\n\n0,17", + { "w": 1.25 }, + "3,9\n\n\n0,17", + { "w": 1.25 }, + "3,10\n\n\n0,17" + ], + [ + { "x": 1.25, "w": 1.25 }, + "3,1\n\n\n0,18", + { "w": 7 }, + "3,4\n\n\n0,18", + { "w": 1.25 }, + "3,9\n\n\n0,18" + ], + [ + { "x": 1, "w": 1.5 }, + "3,1\n\n\n0,19", + { "w": 7 }, + "3,4\n\n\n0,19", + { "w": 1.5 }, + "3,9\n\n\n0,19" + ], + [{ "x": 1, "w": 10 }, "3,4\n\n\n0,20"], + [ + { "y": 1 }, + "3,0\n\n\n0,21", + "3,1\n\n\n0,21", + "3,2\n\n\n0,21", + { "w": 6.25 }, + "3,4\n\n\n0,21", + { "x": 0.5 }, + "3,9\n\n\n0,21", + "3,10\n\n\n0,21", + "3,11\n\n\n0,21" + ], + [ + "3,0\n\n\n0,22", + { "w": 1.25 }, + "3,1\n\n\n0,22", + "3,2\n\n\n0,22", + { "w": 2.25 }, + "3,3\n\n\n0,22", + "3,4\n\n\n0,22", + { "w": 2.75 }, + "3,6\n\n\n0,22", + { "x": 0.5 }, + "3,9\n\n\n0,22", + "3,10\n\n\n0,22", + "3,11\n\n\n0,22" + ], + [ + "3,0\n\n\n0,23", + { "w": 1.25 }, + "3,1\n\n\n0,23", + "3,2\n\n\n0,23", + { "w": 2.75 }, + "3,4\n\n\n0,23", + { "w": 2.25 }, + "3,6\n\n\n0,23", + "3,8\n\n\n0,23", + { "x": 0.5 }, + "3,9\n\n\n0,23", + "3,10\n\n\n0,23", + "3,11\n\n\n0,23" + ], + [ + { "y": 1, "w": 1.25 }, + "3,0\n\n\n0,24", + { "x": 0.75, "w": 1.25 }, + "3,2\n\n\n0,24", + { "w": 6.25 }, + "3,4\n\n\n0,24", + { "w": 1.25 }, + "3,9\n\n\n0,24", + { "x": 0.75, "w": 1.25 }, + "3,11\n\n\n0,24" + ] + ] + } +} diff --git a/keyboards/aeternus/omnibus/omnibus.c b/keyboards/aeternus/omnibus/omnibus.c new file mode 100644 index 000000000000..6fd519950935 --- /dev/null +++ b/keyboards/aeternus/omnibus/omnibus.c @@ -0,0 +1,17 @@ +/* Copyright 2021 KnoblesseOblige + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "omnibus.h" diff --git a/keyboards/aeternus/omnibus/omnibus.h b/keyboards/aeternus/omnibus/omnibus.h new file mode 100644 index 000000000000..ec716e9ae539 --- /dev/null +++ b/keyboards/aeternus/omnibus/omnibus.h @@ -0,0 +1,53 @@ +/* Copyright 2021 KnoblesseOblige + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once + +#include "quantum.h" + +#define kxx KC_NO + +/* This is a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ +#define LAYOUT_all( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k37, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ + k30, k31, k32, k33, k34, k36, k38, k39, k3a, k3b \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ + { k30, k31, k32, k33, k34, kxx, k36, k37, k38, k39, k3a, k3b } \ +} + +#define LAYOUT_all_no_encoder( \ + k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \ + k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, \ + k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \ + k30, k31, k32, k33, k34, k36, k38, k39, k3a, k3b \ +) { \ + { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b }, \ + { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b }, \ + { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b }, \ + { k30, k31, k32, k33, k34, kxx, k36, kxx, k38, k39, k3a, k3b } \ +} diff --git a/keyboards/aeternus/omnibus/readme.md b/keyboards/aeternus/omnibus/readme.md new file mode 100644 index 000000000000..afbbb3edd258 --- /dev/null +++ b/keyboards/aeternus/omnibus/readme.md @@ -0,0 +1,27 @@ +# Omnibus + +![Omnibus](https://cdn.shopify.com/s/files/1/0501/5080/1588/products/IMG_9986_1024x1024@2x.jpg?v=1629070461) + +A drop-in replacement PCB for most Minivan cases. Also supports every known bottom row layout. + +* Keyboard Maintainer: [Aeternus](https://github.com/AeternusCo) +* Hardware Supported: Most Minivan cases +* Hardware Availability: https://store.aeternus.co/products/omnibus-pcb + +Make example for this keyboard (after setting up your build environment): + + make aeternus/omnibus:default + +Flashing example for this keyboard: + + make aeternus/omnibus:default:flash + +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). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the Escape key and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB +* **Keycode in layout**: Press the key mapped to `RESET` if it is available \ No newline at end of file diff --git a/keyboards/aeternus/omnibus/rules.mk b/keyboards/aeternus/omnibus/rules.mk new file mode 100644 index 000000000000..c28edc9134ed --- /dev/null +++ b/keyboards/aeternus/omnibus/rules.mk @@ -0,0 +1,22 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = no # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow +AUDIO_ENABLE = no # Audio output +ENCODER_ENABLE = yes