Add cornelius
This commit is contained in:
parent
6b73a102b2
commit
1948aa522c
@ -0,0 +1,46 @@
|
||||
/* Copyright 2020 foostan
|
||||
*
|
||||
* 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] = {
|
||||
[0] = LAYOUT(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
|
||||
KC_ESC, 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_RSFT,
|
||||
XXXXXXX, KC_LCTL, KC_LGUI, KC_LALT, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RALT, KC_RGUI, KC_RCTL, XXXXXXX
|
||||
),
|
||||
|
||||
[1] = LAYOUT(
|
||||
_______, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP,KC_RIGHT, XXXXXXX, XXXXXXX,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[2] = LAYOUT(
|
||||
_______, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MINS, KC_EQL, KC_LCBR, KC_RCBR, KC_PIPE, KC_GRV,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_UNDS, KC_PLUS, KC_LBRC, KC_RBRC, KC_BSLS, KC_TILD,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
|
||||
[3] = LAYOUT(
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
_______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
||||
@ -0,0 +1 @@
|
||||
VIA_ENABLE = yes
|
||||
21
keyboards/cornelius/qmk/qmk_firmware/readme.md
Normal file
21
keyboards/cornelius/qmk/qmk_firmware/readme.md
Normal file
@ -0,0 +1,21 @@
|
||||
# cornelius
|
||||
|
||||

|
||||
|
||||
Gasket mounted 40% column staggered keyboard manufactured by Yushakobo
|
||||
|
||||
* Keyboard Maintainer: [foostan](https://github.com/foostan/)
|
||||
* Hardware Supported: Cornelius PCBs
|
||||
* Hardware Availability: http://github.com/foostan
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make foostan/cornelius:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make foostan/cornelius:default:flash
|
||||
|
||||
The board reset into bootloader mode via either the reset button (on the back of the PCB) or a configured `QK_BOOT` shortcut (which may vary depending on when the PCB was flashed).
|
||||
|
||||
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).
|
||||
39
keyboards/cornelius/qmk/qmk_firmware/rev1/config.h
Normal file
39
keyboards/cornelius/qmk/qmk_firmware/rev1/config.h
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
Copyright 2020 foostan
|
||||
|
||||
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
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
88
keyboards/cornelius/qmk/qmk_firmware/rev1/info.json
Normal file
88
keyboards/cornelius/qmk/qmk_firmware/rev1/info.json
Normal file
@ -0,0 +1,88 @@
|
||||
{
|
||||
"keyboard_name": "Cornelius rev1",
|
||||
"manufacturer": "Yushakobo",
|
||||
"url": "https://github.com/foostan/corneliuskbd",
|
||||
"maintainer": "foostan",
|
||||
"usb": {
|
||||
"vid": "0x3265",
|
||||
"pid": "0x0005",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"mousekey": true,
|
||||
"extrakey": true,
|
||||
"nkro": true,
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C6", "B6", "B5", "B4", "D7", "D6"],
|
||||
"rows": ["B0", "B1", "B2", "C7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.625},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.625},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0.25},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.125},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0.25},
|
||||
|
||||
{"matrix": [0, 6], "x": 8, "y": 0.25},
|
||||
{"matrix": [0, 7], "x": 9, "y": 0.125},
|
||||
{"matrix": [0, 8], "x": 10, "y": 0},
|
||||
{"matrix": [0, 9], "x": 11, "y": 0.25},
|
||||
{"matrix": [0, 10], "x": 12, "y": 0.625},
|
||||
{"matrix": [0, 11], "x": 13, "y": 0.625},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.625},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.625},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.125},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||
|
||||
{"matrix": [1, 6], "x": 8, "y": 1.25},
|
||||
{"matrix": [1, 7], "x": 9, "y": 1.125},
|
||||
{"matrix": [1, 8], "x": 10, "y": 1},
|
||||
{"matrix": [1, 9], "x": 11, "y": 1.25},
|
||||
{"matrix": [1, 10], "x": 12, "y": 1.625},
|
||||
{"matrix": [1, 11], "x": 13, "y": 1.625},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.625},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.625},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.125},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2.25},
|
||||
|
||||
{"matrix": [2, 6], "x": 8, "y": 2.25},
|
||||
{"matrix": [2, 7], "x": 9, "y": 2.125},
|
||||
{"matrix": [2, 8], "x": 10, "y": 2},
|
||||
{"matrix": [2, 9], "x": 11, "y": 2.25},
|
||||
{"matrix": [2, 10], "x": 12, "y": 2.625},
|
||||
{"matrix": [2, 11], "x": 13, "y": 2.625},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.625},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3.625},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3.25},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 3.5},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 3.75},
|
||||
|
||||
{"matrix": [3, 6], "x": 7.5, "y": 3.75},
|
||||
{"matrix": [3, 7], "x": 8.5, "y": 3.5},
|
||||
{"matrix": [3, 8], "x": 9.5, "y": 3.25},
|
||||
{"matrix": [3, 9], "x": 11, "y": 3.25},
|
||||
{"matrix": [3, 10], "x": 12, "y": 3.625},
|
||||
{"matrix": [3, 11], "x": 13, "y": 3.625}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
0
keyboards/cornelius/qmk/qmk_firmware/rev1/rules.mk
Normal file
0
keyboards/cornelius/qmk/qmk_firmware/rev1/rules.mk
Normal file
39
keyboards/cornelius/qmk/qmk_firmware/rev2/config.h
Normal file
39
keyboards/cornelius/qmk/qmk_firmware/rev2/config.h
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
Copyright 2020 foostan
|
||||
|
||||
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
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
88
keyboards/cornelius/qmk/qmk_firmware/rev2/info.json
Normal file
88
keyboards/cornelius/qmk/qmk_firmware/rev2/info.json
Normal file
@ -0,0 +1,88 @@
|
||||
{
|
||||
"keyboard_name": "Cornelius rev2",
|
||||
"manufacturer": "Yushakobo",
|
||||
"url": "https://github.com/foostan/corneliuskbd",
|
||||
"maintainer": "foostan",
|
||||
"usb": {
|
||||
"vid": "0x3265",
|
||||
"pid": "0x0005",
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"mousekey": true,
|
||||
"extrakey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["GP27", "GP26", "GP25", "GP24", "GP18", "GP17", "GP11", "GP6", "GP5", "GP4", "GP3", "GP2"],
|
||||
"rows": ["GP1", "GP29", "GP28", "GP16"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "RP2040",
|
||||
"bootloader": "rp2040",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0.625},
|
||||
{"matrix": [0, 1], "x": 1, "y": 0.625},
|
||||
{"matrix": [0, 2], "x": 2, "y": 0.25},
|
||||
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||
{"matrix": [0, 4], "x": 4, "y": 0.125},
|
||||
{"matrix": [0, 5], "x": 5, "y": 0.25},
|
||||
|
||||
{"matrix": [0, 6], "x": 8, "y": 0.25},
|
||||
{"matrix": [0, 7], "x": 9, "y": 0.125},
|
||||
{"matrix": [0, 8], "x": 10, "y": 0},
|
||||
{"matrix": [0, 9], "x": 11, "y": 0.25},
|
||||
{"matrix": [0, 10], "x": 12, "y": 0.625},
|
||||
{"matrix": [0, 11], "x": 13, "y": 0.625},
|
||||
|
||||
{"matrix": [1, 0], "x": 0, "y": 1.625},
|
||||
{"matrix": [1, 1], "x": 1, "y": 1.625},
|
||||
{"matrix": [1, 2], "x": 2, "y": 1.25},
|
||||
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||
{"matrix": [1, 4], "x": 4, "y": 1.125},
|
||||
{"matrix": [1, 5], "x": 5, "y": 1.25},
|
||||
|
||||
{"matrix": [1, 6], "x": 8, "y": 1.25},
|
||||
{"matrix": [1, 7], "x": 9, "y": 1.125},
|
||||
{"matrix": [1, 8], "x": 10, "y": 1},
|
||||
{"matrix": [1, 9], "x": 11, "y": 1.25},
|
||||
{"matrix": [1, 10], "x": 12, "y": 1.625},
|
||||
{"matrix": [1, 11], "x": 13, "y": 1.625},
|
||||
|
||||
{"matrix": [2, 0], "x": 0, "y": 2.625},
|
||||
{"matrix": [2, 1], "x": 1, "y": 2.625},
|
||||
{"matrix": [2, 2], "x": 2, "y": 2.25},
|
||||
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||
{"matrix": [2, 4], "x": 4, "y": 2.125},
|
||||
{"matrix": [2, 5], "x": 5, "y": 2.25},
|
||||
|
||||
{"matrix": [2, 6], "x": 8, "y": 2.25},
|
||||
{"matrix": [2, 7], "x": 9, "y": 2.125},
|
||||
{"matrix": [2, 8], "x": 10, "y": 2},
|
||||
{"matrix": [2, 9], "x": 11, "y": 2.25},
|
||||
{"matrix": [2, 10], "x": 12, "y": 2.625},
|
||||
{"matrix": [2, 11], "x": 13, "y": 2.625},
|
||||
|
||||
{"matrix": [3, 0], "x": 0, "y": 3.625},
|
||||
{"matrix": [3, 1], "x": 1, "y": 3.625},
|
||||
{"matrix": [3, 2], "x": 2, "y": 3.25},
|
||||
{"matrix": [3, 3], "x": 3.5, "y": 3.25},
|
||||
{"matrix": [3, 4], "x": 4.5, "y": 3.5},
|
||||
{"matrix": [3, 5], "x": 5.5, "y": 3.75},
|
||||
|
||||
{"matrix": [3, 6], "x": 7.5, "y": 3.75},
|
||||
{"matrix": [3, 7], "x": 8.5, "y": 3.5},
|
||||
{"matrix": [3, 8], "x": 9.5, "y": 3.25},
|
||||
{"matrix": [3, 9], "x": 11, "y": 3.25},
|
||||
{"matrix": [3, 10], "x": 12, "y": 3.625},
|
||||
{"matrix": [3, 11], "x": 13, "y": 3.625}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
0
keyboards/cornelius/qmk/qmk_firmware/rev2/rules.mk
Normal file
0
keyboards/cornelius/qmk/qmk_firmware/rev2/rules.mk
Normal file
43
keyboards/cornelius/the-via/cornelius.json
Normal file
43
keyboards/cornelius/the-via/cornelius.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "Cornelius",
|
||||
"vendorId": "0x3265",
|
||||
"productId": "0x0005",
|
||||
"lighting": "none",
|
||||
"matrix": {"rows": 4, "cols": 12},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"r": 10, "rx": 1.5, "x": 2.5}, "0,3"],
|
||||
[{"y": -0.875, "x": 3.5}, "0,4"],
|
||||
[{"y": -0.875, "x": 1.5}, "0,2", {"x": 2}, "0,5"],
|
||||
[{"y": -0.625, "x": -0.5}, "0,0", "0,1"],
|
||||
[{"y": -0.625, "x": 2.5}, "1,3"],
|
||||
[{"y": -0.875, "x": 3.5}, "1,4"],
|
||||
[{"y": -0.875, "x": 1.5}, "1,2", {"x": 2}, "1,5"],
|
||||
[{"y": -0.625, "x": -0.5}, "1,0", "1,1"],
|
||||
[{"y": -0.625, "x": 2.5}, "2,3"],
|
||||
[{"y": -0.875, "x": 3.5}, "2,4"],
|
||||
[{"y": -0.875, "x": 1.5}, "2,2", {"x": 2}, "2,5"],
|
||||
[{"y": -0.625, "x": -0.5}, "2,0", "2,1"],
|
||||
[{"y": -0.375, "x": 1.5}, "3,2", {"x": 0.5}, "3,3"],
|
||||
[{"y": -0.625, "x": -0.5}, "3,0", "3,1"],
|
||||
[{"r": 25, "y": -2.515, "x": 4.97}, "3,4"],
|
||||
[{"r": 40, "y": -2.6, "x": 6.55}, "3,5"],
|
||||
[{"r": -40, "rx": 13.25, "y": 0.51, "x": -7.55}, "3,6"],
|
||||
[{"r": -25, "y": 0.6, "x": -5.97}, "3,7"],
|
||||
[{"r": -10, "y": -3.11, "x": -3.5}, "0,8"],
|
||||
[{"y": -0.875, "x": -4.5}, "0,7"],
|
||||
[{"y": -0.875, "x": -5.5}, "0,6", {"x": 2}, "0,9"],
|
||||
[{"y": -0.625, "x": -1.5}, "0,10", "0,11"],
|
||||
[{"y": -0.625, "x": -3.5}, "1,8"],
|
||||
[{"y": -0.875, "x": -4.5}, "1,7"],
|
||||
[{"y": -0.875, "x": -5.5}, "1,6", {"x": 2}, "1,9"],
|
||||
[{"y": -0.625, "x": -1.5}, "1,10", "1,11"],
|
||||
[{"y": -0.625, "x": -3.5}, "2,8"],
|
||||
[{"y": -0.875, "x": -4.5}, "2,7"],
|
||||
[{"y": -0.875, "x": -5.5}, "2,6", {"x": 2}, "2,9"],
|
||||
[{"y": -0.625, "x": -1.5}, "2,10", "2,11"],
|
||||
[{"y": -0.375, "x": -4}, "3,8", {"x": 0.5}, "3,9"],
|
||||
[{"y": -0.625, "x": -1.5}, "3,10", "3,11"]
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user