forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
337 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
Copyright 2022 weteor | ||
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
Copyright 2022 weteor | ||
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_next <halconf.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
{ | ||
"keyboard_name": "kong", | ||
"manufacturer": "weteor", | ||
"url": "https://github.com/weteor/orthocade/", | ||
"maintainer": "weteor", | ||
"processor": "RP2040", | ||
"bootloader": "rp2040", | ||
"diode_direction": "COL2ROW", | ||
"rp2040_bootloader_double_tap_reset": true, | ||
"rp2040_bootloader_double_tap_reset_timeout": true, | ||
"matrix_pins" : { | ||
"cols": [ "GP8", "GP9", "GP10", "GP11", "GP12", "GP13", "GP16", "GP17", "GP18", "GP19", "GP20", "GP21" ], | ||
"rows": [ "GP22", "GP23", "GP24", "GP25" ] | ||
}, | ||
"matrix_size": { | ||
"cols": 12, | ||
"rows": 4 | ||
}, | ||
"usb": { | ||
"vid": "0xFEED", | ||
"pid": "0x4657", | ||
"device_version": "0.1.0" | ||
}, | ||
"build": { | ||
"lto": false, | ||
}, | ||
"features": { | ||
"bootmagic": true, | ||
"extrakey": true, | ||
"command": false, | ||
"console": false, | ||
"mousekey": false, | ||
"nkro": true, | ||
}, | ||
"layouts": { | ||
"LAYOUT_ortho12u": { | ||
"layout": [ | ||
{"label": "K00", "matrix": [0,0], "x":0, "y":0}, | ||
{"label": "K01", "matrix": [0,1], "x":1, "y":0}, | ||
{"label": "K02", "matrix": [0,2], "x":2, "y":0}, | ||
{"label": "K03", "matrix": [0,3], "x":3, "y":0}, | ||
{"label": "K04", "matrix": [0,4], "x":4, "y":0}, | ||
{"label": "K05", "matrix": [0,5], "x":5, "y":0.125}, | ||
{"label": "K06", "matrix": [0,6], "x":6, "y":0.125}, | ||
{"label": "K07", "matrix": [0,7], "x":7, "y":0}, | ||
{"label": "K08", "matrix": [0,8], "x":8, "y":0}, | ||
{"label": "K09", "matrix": [0,9], "x":9, "y":0}, | ||
{"label": "K0A", "matrix": [0,10], "x":10, "y":0}, | ||
{"label": "K0B", "matrix": [0,11], "x":11, "y":0}, | ||
{"label": "K10", "matrix": [1,0], "x":0, "y":1}, | ||
{"label": "K11", "matrix": [1,1], "x":1, "y":1}, | ||
{"label": "K12", "matrix": [1,2], "x":2, "y":1}, | ||
{"label": "K13", "matrix": [1,3], "x":3, "y":1}, | ||
{"label": "K14", "matrix": [1,4], "x":4, "y":1}, | ||
{"label": "K15", "matrix": [1,5], "x":5, "y":1.125}, | ||
{"label": "K16", "matrix": [1,6], "x":6, "y":1.125}, | ||
{"label": "K17", "matrix": [1,7], "x":7, "y":1}, | ||
{"label": "K18", "matrix": [1,8], "x":8, "y":1}, | ||
{"label": "K19", "matrix": [1,9], "x":9, "y":1}, | ||
{"label": "K1A", "matrix": [1,10], "x":10, "y":1}, | ||
{"label": "K1B", "matrix": [1,11], "x":11, "y":1}, | ||
{"label": "K20", "matrix": [2,0], "x":0, "y":2}, | ||
{"label": "K21", "matrix": [2,1], "x":1, "y":2}, | ||
{"label": "K22", "matrix": [2,2], "x":2, "y":2}, | ||
{"label": "K23", "matrix": [2,3], "x":3, "y":2}, | ||
{"label": "K24", "matrix": [2,4], "x":4, "y":2}, | ||
{"label": "K25", "matrix": [2,5], "x":5, "y":2.125}, | ||
{"label": "K26", "matrix": [2,6], "x":6, "y":2.125}, | ||
{"label": "K27", "matrix": [2,7], "x":7, "y":2}, | ||
{"label": "K28", "matrix": [2,8], "x":8, "y":2}, | ||
{"label": "K29", "matrix": [2,9], "x":9, "y":2}, | ||
{"label": "K2A", "matrix": [2,10], "x":10, "y":2}, | ||
{"label": "K2B", "matrix": [2,11], "x":11, "y":2}, | ||
{"label": "K30", "matrix": [3,0], "x":0, "y":3.25}, | ||
{"label": "K31", "matrix": [3,1], "x":1, "y":3.25}, | ||
{"label": "K33", "matrix": [3,2], "x":2, "y":3.25}, | ||
{"label": "K34", "matrix": [3,4], "x":3.5, "y":3.25, "w":2}, | ||
{"label": "K35", "matrix": [3,5], "x":5, "y":3.375}, | ||
{"label": "K36", "matrix": [3,6], "x":6, "y":3.375}, | ||
{"label": "K38", "matrix": [3,8], "x":7.5, "y":3.25,"w":2}, | ||
{"label": "K39", "matrix": [3,9], "x":9, "y":3.25}, | ||
{"label": "K3A", "matrix": [3,10], "x":10, "y":3.25}, | ||
{"label": "K3B", "matrix": [3,11], "x":11, "y":3.25} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* Copyright 2021 weteor | ||
* | ||
* 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 | ||
|
||
enum layers | ||
{ | ||
_ALPHA_QWERTY = 0, | ||
_UP = 1, | ||
}; | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
|
||
[_ALPHA_QWERTY] = LAYOUT_ortho12u_2x3u( | ||
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, | ||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, LT(_UP, KC_ENT), KC_RALT, KC_RGUI, KC_RCTL | ||
), | ||
[_UP] = LAYOUT_ortho12u_2x3u( | ||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, | ||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, | ||
_______, _______, _______, _______, XXXXXXX, _______, _______, _______ | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* Copyright 2021 weteor | ||
* | ||
* 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 "brk_out.h" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* Copyright 2021 weteor | ||
* | ||
* 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 "quantum.h" | ||
|
||
#define XXX 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_ortho10u_1u_2u( \ | ||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ | ||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ | ||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \ | ||
k30, k31, k33, k34, k35, k36, k38, k39 \ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \ | ||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
{ k30, k31, XXX, k33, k34, k35, k36, XXX, k38, k39 } \ | ||
} | ||
#define LAYOUT_ortho10u_1_25u_1_75u( \ | ||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ | ||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ | ||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \ | ||
k30, k31, k33, k34, k35, k36, k38, k39 \ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \ | ||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
{ k30, k31, XXX, k33, k34, k35, k36, XXX, k38, k39 } \ | ||
} | ||
#define LAYOUT_ortho10u_2_25u_1_5u_2_25u( \ | ||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, \ | ||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, \ | ||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, \ | ||
k30, k31, k33, k34, k35, k38, k39 \ | ||
) { \ | ||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \ | ||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \ | ||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \ | ||
{ k30, k31, XXX, k33, k34, k35, XXX, XXX, k38, k39 } \ | ||
} | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
Copyright 2022 weteor | ||
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 | ||
|
||
#define VIAL_KEYBOARD_UID {0x4B, 0x25, 0xFF, 0x63, 0xAE, 0x22, 0x5A, 0x5A} | ||
|
||
#define VIAL_KEY_OVERRIDE_ENTRIES 20 | ||
#define VIAL_COMBO_ENTRIES 20 | ||
#define VIAL_TAP_DANCE_ENTRIES 20 | ||
#define DYNAMIC_KEYMAP_LAYER_COUNT 6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* Copyright 2021 weteor | ||
* | ||
* 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 | ||
|
||
enum layers | ||
{ | ||
_ALPHA_QWERTY = 0, | ||
}; | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
|
||
[_ALPHA_QWERTY] = LAYOUT_ortho12u( | ||
KC_Q, KC_W, KC_E, KC_R, KC_T, _______, _______, KC_Y, KC_U, KC_I, KC_O, KC_P, | ||
KC_A, KC_S, KC_D, KC_F, KC_G, _______, _______, KC_H, KC_J, KC_K, KC_L, KC_SCLN, | ||
KC_Z, KC_X, KC_C, KC_V, KC_B, _______, _______, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, | ||
KC_LGUI, KC_LALT, _______, KC_SPC, _______, _______, KC_ENT, _______, KC_RALT, KC_RGUI | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
VIA_ENABLE = yes | ||
VIAL_ENABLE = yes | ||
VIAL_INSECURE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
Copyright 2022 weteor | ||
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_next <mcuconf.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
### kong |
Empty file.