Skip to content

Commit

Permalink
Add support for aeternus omnibus (qmk#448)
Browse files Browse the repository at this point in the history
* add reviung53 vial files

* Revert "add reviung53 vial files"

This reverts commit 074be536deda760843efda31f0c5ee9dbbb5a5e7.

* add aeternus omnibus

* add vial files

* prettify

* fix layouts

* add encoder functionality
  • Loading branch information
DPoplin authored May 1, 2023
1 parent 4eb1c2e commit b520001
Show file tree
Hide file tree
Showing 13 changed files with 974 additions and 0 deletions.
49 changes: 49 additions & 0 deletions keyboards/aeternus/omnibus/config.h
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/

#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
249 changes: 249 additions & 0 deletions keyboards/aeternus/omnibus/info.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
}
}
44 changes: 44 additions & 0 deletions keyboards/aeternus/omnibus/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/
#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
)
};
44 changes: 44 additions & 0 deletions keyboards/aeternus/omnibus/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -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 <http://www.gnu.org/licenses/>.
*/
#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
)
};
1 change: 1 addition & 0 deletions keyboards/aeternus/omnibus/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
Loading

0 comments on commit b520001

Please sign in to comment.