This commit is contained in:
Travis Hepworth 2025-07-23 13:39:25 -07:00 committed by GitHub
commit 93ce62aab4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 269 additions and 0 deletions

View File

@ -0,0 +1,23 @@
/*
Copyright 2025 travmonkey
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 MASTER_RIGHT
#define SERIAL_USART_HALF_DUPLEX
#define SERIAL_USART_TX_PIN GP0
#define SERIAL_USART_RX_PIN GP1 // RX pin is not used in half-duplex mode, leaving in for later

View File

@ -0,0 +1,97 @@
{
"manufacturer": "Travis Hepworth",
"keyboard_name": "travyboard",
"maintainer": "travmonkey",
"diode_direction": "ROW2COL",
"processor": "RP2040",
"bootloader": "rp2040",
"features": {
"bootmagic": true,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["GP13", "GP14", "GP15", "GP26", "GP27", "GP12", "GP29"],
"rows": ["GP28", "GP11", "GP10", "GP9"]
},
"split": {
"enabled": true,
"matrix_pins": {
"right": {
"cols": ["GP4", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12"],
"rows": ["GP2", "GP3", "GP13", "GP15"]
}
},
"serial": {
"driver": "vendor"
}
},
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x1212",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT_split_3x7_3": {
"layout": [
{ "matrix": [0, 0], "x": 0, "y": 0 },
{ "matrix": [0, 1], "x": 0, "y": 1 },
{ "matrix": [0, 2], "x": 0, "y": 2 },
{ "matrix": [0, 3], "x": 0, "y": 3 },
{ "matrix": [0, 4], "x": 0, "y": 4 },
{ "matrix": [0, 5], "x": 0, "y": 5 },
{ "matrix": [0, 6], "x": 0, "y": 6 },
{ "matrix": [4, 0], "x": 0, "y": 7 },
{ "matrix": [4, 1], "x": 0, "y": 8 },
{ "matrix": [4, 2], "x": 0, "y": 9 },
{ "matrix": [4, 3], "x": 0, "y": 10 },
{ "matrix": [4, 4], "x": 0, "y": 11 },
{ "matrix": [4, 5], "x": 0, "y": 12 },
{ "matrix": [4, 6], "x": 0, "y": 13 },
{ "matrix": [1, 0], "x": 1, "y": 0 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 1, "y": 2 },
{ "matrix": [1, 3], "x": 1, "y": 3 },
{ "matrix": [1, 4], "x": 1, "y": 4 },
{ "matrix": [1, 5], "x": 1, "y": 5 },
{ "matrix": [1, 6], "x": 1, "y": 6 },
{ "matrix": [5, 0], "x": 7, "y": 1 },
{ "matrix": [5, 1], "x": 8, "y": 1 },
{ "matrix": [5, 2], "x": 9, "y": 1 },
{ "matrix": [5, 3], "x": 10, "y": 1 },
{ "matrix": [5, 4], "x": 11, "y": 1 },
{ "matrix": [5, 5], "x": 12, "y": 1 },
{ "matrix": [5, 6], "x": 13, "y": 1 },
{ "matrix": [2, 0], "x": 0, "y": 2 },
{ "matrix": [2, 1], "x": 1, "y": 2 },
{ "matrix": [2, 2], "x": 2, "y": 2 },
{ "matrix": [2, 3], "x": 3, "y": 2 },
{ "matrix": [2, 4], "x": 4, "y": 2 },
{ "matrix": [2, 5], "x": 5, "y": 2 },
{ "matrix": [2, 6], "x": 6, "y": 2 },
{ "matrix": [6, 0], "x": 7, "y": 1 },
{ "matrix": [6, 1], "x": 8, "y": 1 },
{ "matrix": [6, 2], "x": 9, "y": 1 },
{ "matrix": [6, 3], "x": 10, "y": 1 },
{ "matrix": [6, 4], "x": 11, "y": 1 },
{ "matrix": [6, 5], "x": 12, "y": 1 },
{ "matrix": [6, 6], "x": 13, "y": 1 },
{ "matrix": [3, 3], "x": 3, "y": 2 },
{ "matrix": [3, 4], "x": 4, "y": 2 },
{ "matrix": [3, 5], "x": 5, "y": 2 },
{ "matrix": [7, 1], "x": 10, "y": 1 },
{ "matrix": [7, 2], "x": 11, "y": 1 },
{ "matrix": [7, 3], "x": 12, "y": 1 }
]
}
}
}

View File

@ -0,0 +1,122 @@
/*
Copyright 2025 Travis Hepworth <t.coding@batk.me>
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 {
_BASE,
_NUM,
_FN1,
_FN2
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
*
* Tab Q W E R T EX1 EX1 Y U I O P Bsp
*
* Sft A S D F G EX2 EX2 H J K L ; '
*
* Ctr Z X C V B N M , . / Sft
*
*
* GUI Alt
* FN1 FN2
* SPC SPC
*
*/
[_BASE] = LAYOUT_split_3x7_3(
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
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_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, _______, _______, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_NO, KC_NO, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
// |--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|
KC_LGUI, MO(_NUM), KC_SPC, KC_SPC, MO(_FN1), KC_RALT
),
/*
*
* Tab Q W E R T EX1 EX1 Y U I O P Bsp
*
* Sft A S D F G EX2 EX2 H J K L ; '
*
* Ctr Z X C V B N M , . / Sft
*
*
* GUI Alt
* FN1 FN2
* SPC SPC
*
*/
[_NUM] = LAYOUT_split_3x7_3(
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, KC_6, KC_7, KC_8, KC_9, KC_0, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, _______,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, _______, _______, _______, _______, _______, KC_NO, KC_NO, _______, _______, _______, _______, _______, _______,
// |--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|
KC_LGUI, MO(_NUM), KC_SPC, KC_SPC, MO(_FN2), KC_RALT
// |--------|--------|--------| |--------|--------|--------|
),
/*
*
* Tab Q W E R T EX1 EX1 Y U I O P Bsp
*
* Sft A S D F G EX2 EX2 H J K L ; '
*
* Ctr Z X C V B N M , . / Sft
*
*
* GUI Alt
* FN1 FN2
* SPC SPC
*
*/
[_FN1] = LAYOUT_split_3x7_3(
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, _______, _______, KC_6, KC_7, KC_BSLS, KC_LBRC, KC_RBRC, KC_EQL,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_INS, KC_DEL, KC_END, _______, _______,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, _______, _______, _______, _______, _______, KC_NO, KC_NO, KC_BRID, KC_BRIU, KC_MPRV, KC_MNXT, KC_MPLY, _______,
// |--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|
KC_LGUI, MO(_FN2), KC_SPC, KC_SPC, MO(_FN1), KC_RALT
),
/*
*
* Tab Q W E R T EX1 EX1 Y U I O P Bsp
*
* Sft A S D F G EX2 EX2 H J K L ; '
*
* Ctr Z X C V B N M , . / Sft
*
*
* GUI Alt
* FN1 FN2
* SPC SPC
*
*/
[_FN2] = LAYOUT_split_3x7_3(
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_F12,
// |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------|
_______, _______, _______, _______, _______, _______, KC_NO, KC_NO, _______, _______, _______, _______, _______, _______,
// |--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|
KC_LGUI, MO(_FN2), KC_SPC, KC_SPC, MO(_FN2), KC_RALT
)
};

View File

@ -0,0 +1,27 @@
# travyboard
![travyboard](https://i.imgur.com/0HxqCsD.jpeg)
A split 23 key keyboard created from scratch. Firmware is written as well, but QMK support is important as well.
* Keyboard Maintainer: [Travis Hepworth](https://github.com/travmonkey)
* Hardware Supported: *travyboard pcb + waveshare rp2040 zero*
* Hardware Availability: *DIY only, [travyboard repository](https://github.com/travishepworth/travyboard)*
* NOTE: If using my PCBv1, you will need to bridge TX and RX on the pico for qmk.
Make example for this keyboard (after setting up your build environment):
make travyboard:default
Flashing example for this keyboard:
make travyboard: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 via the boot button on the rp2040 zero:
* **Reset Button**: Hold down the boot button and press the reset button on the board
* **Boot Button**: Hold down the boot button and plug in the USB cable