From cc282b21d0977024bb3861ce567bf5ed599ee9ed Mon Sep 17 00:00:00 2001 From: travmonkey Date: Sun, 4 May 2025 13:56:55 -0600 Subject: [PATCH 1/7] Initialize travyboard --- keyboards/travyboard/config.h | 24 ++++ keyboards/travyboard/keyboard.json | 110 ++++++++++++++++++ keyboards/travyboard/keymaps/default/keymap.c | 55 +++++++++ keyboards/travyboard/readme.md | 27 +++++ 4 files changed, 216 insertions(+) create mode 100644 keyboards/travyboard/config.h create mode 100644 keyboards/travyboard/keyboard.json create mode 100644 keyboards/travyboard/keymaps/default/keymap.c create mode 100644 keyboards/travyboard/readme.md diff --git a/keyboards/travyboard/config.h b/keyboards/travyboard/config.h new file mode 100644 index 00000000000..d331645acbc --- /dev/null +++ b/keyboards/travyboard/config.h @@ -0,0 +1,24 @@ +/* +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 . +*/ + +#pragma once + +#define MASTER_RIGHT +#define SERIAL_USART_HALF_DUPLEX +#define SERIAL_USART_TX_PIN GP0 +#define SERIAL_USART_RX_PIN GP1 + diff --git a/keyboards/travyboard/keyboard.json b/keyboards/travyboard/keyboard.json new file mode 100644 index 00000000000..2a989913e61 --- /dev/null +++ b/keyboards/travyboard/keyboard.json @@ -0,0 +1,110 @@ +{ + "manufacturer": "Travis Hepworth", + "keyboard_name": "travyboard", + "maintainer": "travmonkey", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": true, + "mousekey": true, + "nkro": true + }, + "matrix_pins": { + "cols": [ + "GP13", + "GP14", + "GP15", + "GP26", + "GP27", + "GP12", + "GP29", + "GP4", + "GP7", + "GP8", + "GP9", + "GP10", + "GP11", + "GP12" + ], + "rows": ["GP28", "GP11", "GP10", "GP9"] + }, + "processor": "RP2040", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x0000", + "vid": "0xFEED" + }, + "split": { + "serial": { + "driver": "vendor" + }, + "enabled": true, + "matrix_pins": { + "right": { + "cols": ["GP4", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12" ], + "rows": ["GP2", "GP3", "GP13", "GP15" ] + } + } + }, + "bootloader": "rp2040", + "layouts": { + "LAYOUT_split_3x7_3": { + "layout": [ + { "matrix": [0, 0], "x": 0, "y": 0.25 }, + { "matrix": [0, 1], "x": 1, "y": 0.25 }, + { "matrix": [0, 2], "x": 2, "y": 0.125 }, + { "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": 6, "y": 0.25 }, + { "matrix": [1, 0], "x": 0, "y": 1.25 }, + { "matrix": [1, 1], "x": 1, "y": 1.25 }, + { "matrix": [1, 2], "x": 2, "y": 1.125 }, + { "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": 6, "y": 1.25 }, + { "matrix": [2, 0], "x": 0, "y": 2.25 }, + { "matrix": [2, 1], "x": 1, "y": 2.25 }, + { "matrix": [2, 2], "x": 2, "y": 2.125 }, + { "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": 6, "y": 2.25 }, + + { "matrix": [3, 4], "x": 3.5, "y": 3.25 }, + { "matrix": [3, 5], "x": 4.5, "y": 3.5 }, + { "matrix": [3, 6], "x": 5.5, "y": 3.75 }, + + { "matrix": [0, 7], "x": 8, "y": 0.25 }, + { "matrix": [0, 8], "x": 9, "y": 0.125 }, + { "matrix": [0, 9], "x": 10, "y": 0 }, + { "matrix": [0, 10], "x": 11, "y": 0.125 }, + { "matrix": [0, 11], "x": 12, "y": 0.25 }, + { "matrix": [0, 12], "x": 13, "y": 0.25 }, + { "matrix": [0, 13], "x": 14, "y": 0.25 }, + { "matrix": [1, 7], "x": 8, "y": 1.25 }, + { "matrix": [1, 8], "x": 9, "y": 1.125 }, + { "matrix": [1, 9], "x": 10, "y": 1 }, + { "matrix": [1, 10], "x": 11, "y": 1.125 }, + { "matrix": [1, 11], "x": 12, "y": 1.25 }, + { "matrix": [1, 12], "x": 13, "y": 1.25 }, + { "matrix": [1, 13], "x": 14, "y": 1.25 }, + { "matrix": [2, 7], "x": 8, "y": 2.25 }, + { "matrix": [2, 8], "x": 9, "y": 2.125 }, + { "matrix": [2, 9], "x": 10, "y": 2 }, + { "matrix": [2, 10], "x": 11, "y": 2.125 }, + { "matrix": [2, 11], "x": 12, "y": 2.25 }, + { "matrix": [2, 12], "x": 13, "y": 2.25 }, + { "matrix": [2, 13], "x": 14, "y": 2.25 }, + + { "matrix": [3, 11], "x": 9.5, "y": 3.25 }, + { "matrix": [3, 12], "x": 10.5, "y": 3.5 }, + { "matrix": [3, 13], "x": 11.5, "y": 3.75 } + ] + } + } +} diff --git a/keyboards/travyboard/keymaps/default/keymap.c b/keyboards/travyboard/keymaps/default/keymap.c new file mode 100644 index 00000000000..11a81790820 --- /dev/null +++ b/keyboards/travyboard/keymaps/default/keymap.c @@ -0,0 +1,55 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#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_NO, KC_NO, 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_NO, KC_NO, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + 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 + ), + + [_NUM] = LAYOUT_split_3x7_3( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NO, KC_NO, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, + KC_LSFT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, KC_ENT, + KC_LCTL, KC_NO, KC_NO, KC_NO, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT, + KC_LGUI, MO(_NUM), KC_SPC, KC_SPC, MO(_FN2), KC_RALT + ), + + [_FN1] = LAYOUT_split_3x7_3( + KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_NO, KC_F6, KC_F7, KC_BSLS, KC_F9, KC_F10, KC_EQL, + KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_HOME, KC_INS, KC_DEL, KC_END, KC_NO, KC_NO, + KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BRID, KC_BRIU, KC_MPRV, KC_MNXT, KC_MPLY, KC_RSFT, + KC_LGUI, MO(_FN2), KC_SPC, KC_SPC, MO(_FN1), KC_RALT + ), + + [_FN2] = LAYOUT_split_3x7_3( + KC_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_NO, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, + KC_LSFT, 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_F12, + 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_RSFT, + KC_LGUI, MO(_FN2), KC_SPC, KC_SPC, MO(_FN2), KC_RALT + ) +}; diff --git a/keyboards/travyboard/readme.md b/keyboards/travyboard/readme.md new file mode 100644 index 00000000000..9b5a45c51f4 --- /dev/null +++ b/keyboards/travyboard/readme.md @@ -0,0 +1,27 @@ +# travyboard + +![travyboard](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Travis Hepworth](https://github.com/travmonkey) +* Hardware Supported: *The PCBs, controllers supported* +* Hardware Availability: *Links to where you can find this hardware* + +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 in 3 ways: + +* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard +* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available From ec1b85cf89dcd95e8d5d0db5ac7653bb31d442a8 Mon Sep 17 00:00:00 2001 From: travmonkey Date: Sun, 4 May 2025 13:59:59 -0600 Subject: [PATCH 2/7] Update license --- keyboards/travyboard/keymaps/default/keymap.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/keyboards/travyboard/keymaps/default/keymap.c b/keyboards/travyboard/keymaps/default/keymap.c index 11a81790820..11ef2b9c08a 100644 --- a/keyboards/travyboard/keymaps/default/keymap.c +++ b/keyboards/travyboard/keymaps/default/keymap.c @@ -1,5 +1,16 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later +/* +Copyright 2025 Travis Hepworth +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 From 957024f132f649b2c2242a14a7b363d0d29e33a7 Mon Sep 17 00:00:00 2001 From: travmonkey Date: Sun, 4 May 2025 14:07:38 -0600 Subject: [PATCH 3/7] Update readme --- keyboards/travyboard/readme.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/keyboards/travyboard/readme.md b/keyboards/travyboard/readme.md index 9b5a45c51f4..c0d13819f7c 100644 --- a/keyboards/travyboard/readme.md +++ b/keyboards/travyboard/readme.md @@ -1,12 +1,12 @@ # travyboard -![travyboard](imgur.com image replace me!) +![travyboard](https://i.imgur.com/0HxqCsD.jpeg) -*A short description of the keyboard/project* +A split 23 key keyboard created from scratch. Firmware is written as well, but QMK supports is important as well. * Keyboard Maintainer: [Travis Hepworth](https://github.com/travmonkey) -* Hardware Supported: *The PCBs, controllers supported* -* Hardware Availability: *Links to where you can find this hardware* +* Hardware Supported: *travyboard pcb + waveshare rp2040 zero* +* Hardware Availability: *DIY only, [travyboard repository](https://github.com/travishepworth/travyboard)* Make example for this keyboard (after setting up your build environment): @@ -20,8 +20,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to ## Bootloader -Enter the bootloader in 3 ways: +Enter the bootloader via the boot button on the rp2040 zero: -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available +* **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 From ff5e6d9d994b1bc44912d12513638d388664c72b Mon Sep 17 00:00:00 2001 From: travmonkey Date: Tue, 13 May 2025 16:39:19 -0600 Subject: [PATCH 4/7] Move to final keymap --- keyboards/travyboard/keymaps/default/keymap.c | 122 +++++++++++++----- 1 file changed, 89 insertions(+), 33 deletions(-) diff --git a/keyboards/travyboard/keymaps/default/keymap.c b/keyboards/travyboard/keymaps/default/keymap.c index 11ef2b9c08a..12a2ca1ced5 100644 --- a/keyboards/travyboard/keymaps/default/keymap.c +++ b/keyboards/travyboard/keymaps/default/keymap.c @@ -22,45 +22,101 @@ enum layers { }; 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├───┘ - * └───┘ └───┘ - */ + /* + * ┌───┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬───┐ + * │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_NO, KC_NO, 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_NO, KC_NO, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, - 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 + // |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------| + 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_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_NO, KC_NO, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, - KC_LSFT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_NO, KC_NO, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_QUOT, KC_ENT, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_V, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT, - KC_LGUI, MO(_NUM), KC_SPC, KC_SPC, MO(_FN2), KC_RALT + // |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------| + 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_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_NO, KC_F6, KC_F7, KC_BSLS, KC_F9, KC_F10, KC_EQL, - KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_HOME, KC_INS, KC_DEL, KC_END, KC_NO, KC_NO, - KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_BRID, KC_BRIU, KC_MPRV, KC_MNXT, KC_MPLY, KC_RSFT, - KC_LGUI, MO(_FN2), KC_SPC, KC_SPC, MO(_FN1), KC_RALT + // |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------| + 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_NO, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_NO, KC_NO, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, - KC_LSFT, 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_F12, - 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_RSFT, - KC_LGUI, MO(_FN2), KC_SPC, KC_SPC, MO(_FN2), KC_RALT + // |--------|--------|--------|--------|--------|--------|--------| |--------|--------|--------|--------|--------|--------|--------| + _______, 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 ) }; From c0cd5c3fea30528c39ea458c40455d572c837869 Mon Sep 17 00:00:00 2001 From: travmonkey Date: Tue, 13 May 2025 16:39:30 -0600 Subject: [PATCH 5/7] Note about RX pin --- keyboards/travyboard/config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/keyboards/travyboard/config.h b/keyboards/travyboard/config.h index d331645acbc..4dd60a355bb 100644 --- a/keyboards/travyboard/config.h +++ b/keyboards/travyboard/config.h @@ -20,5 +20,4 @@ along with this program. If not, see . #define MASTER_RIGHT #define SERIAL_USART_HALF_DUPLEX #define SERIAL_USART_TX_PIN GP0 -#define SERIAL_USART_RX_PIN GP1 - +#define SERIAL_USART_RX_PIN GP1 // RX pin is not used in half-duplex mode, leaving in for later From 06c0a448b8c74ed70c10dd1d2a96c55d83bbe4bb Mon Sep 17 00:00:00 2001 From: travmonkey Date: Tue, 13 May 2025 16:39:46 -0600 Subject: [PATCH 6/7] Correct col + row definitions --- keyboards/travyboard/keyboard.json | 145 +++++++++++++---------------- 1 file changed, 66 insertions(+), 79 deletions(-) diff --git a/keyboards/travyboard/keyboard.json b/keyboards/travyboard/keyboard.json index 2a989913e61..29486c759f4 100644 --- a/keyboards/travyboard/keyboard.json +++ b/keyboards/travyboard/keyboard.json @@ -2,108 +2,95 @@ "manufacturer": "Travis Hepworth", "keyboard_name": "travyboard", "maintainer": "travmonkey", - "diode_direction": "COL2ROW", + "diode_direction": "ROW2COL", + "processor": "RP2040", + "bootloader": "rp2040", "features": { "bootmagic": true, - "command": false, - "console": false, "extrakey": true, "mousekey": true, "nkro": true }, "matrix_pins": { - "cols": [ - "GP13", - "GP14", - "GP15", - "GP26", - "GP27", - "GP12", - "GP29", - "GP4", - "GP7", - "GP8", - "GP9", - "GP10", - "GP11", - "GP12" - ], + "cols": ["GP13", "GP14", "GP15", "GP26", "GP27", "GP12", "GP29"], "rows": ["GP28", "GP11", "GP10", "GP9"] }, - "processor": "RP2040", - "url": "", - "usb": { - "device_version": "1.0.0", - "pid": "0x0000", - "vid": "0xFEED" - }, "split": { - "serial": { - "driver": "vendor" - }, "enabled": true, "matrix_pins": { "right": { - "cols": ["GP4", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12" ], - "rows": ["GP2", "GP3", "GP13", "GP15" ] + "cols": ["GP4", "GP7", "GP8", "GP9", "GP10", "GP11", "GP12"], + "rows": ["GP2", "GP3", "GP13", "GP15"] } + }, + "serial": { + "driver": "vendor" } }, - "bootloader": "rp2040", + "url": "", + "usb": { + "device_version": "1.0.0", + "pid": "0x1212", + "vid": "0xFEED" + }, "layouts": { "LAYOUT_split_3x7_3": { "layout": [ - { "matrix": [0, 0], "x": 0, "y": 0.25 }, - { "matrix": [0, 1], "x": 1, "y": 0.25 }, - { "matrix": [0, 2], "x": 2, "y": 0.125 }, - { "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": 6, "y": 0.25 }, - { "matrix": [1, 0], "x": 0, "y": 1.25 }, - { "matrix": [1, 1], "x": 1, "y": 1.25 }, - { "matrix": [1, 2], "x": 2, "y": 1.125 }, - { "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": 6, "y": 1.25 }, - { "matrix": [2, 0], "x": 0, "y": 2.25 }, - { "matrix": [2, 1], "x": 1, "y": 2.25 }, - { "matrix": [2, 2], "x": 2, "y": 2.125 }, + { "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.125 }, - { "matrix": [2, 5], "x": 5, "y": 2.25 }, - { "matrix": [2, 6], "x": 6, "y": 2.25 }, + { "matrix": [2, 4], "x": 4, "y": 2 }, + { "matrix": [2, 5], "x": 5, "y": 2 }, + { "matrix": [2, 6], "x": 6, "y": 2 }, - { "matrix": [3, 4], "x": 3.5, "y": 3.25 }, - { "matrix": [3, 5], "x": 4.5, "y": 3.5 }, - { "matrix": [3, 6], "x": 5.5, "y": 3.75 }, + { "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": [0, 7], "x": 8, "y": 0.25 }, - { "matrix": [0, 8], "x": 9, "y": 0.125 }, - { "matrix": [0, 9], "x": 10, "y": 0 }, - { "matrix": [0, 10], "x": 11, "y": 0.125 }, - { "matrix": [0, 11], "x": 12, "y": 0.25 }, - { "matrix": [0, 12], "x": 13, "y": 0.25 }, - { "matrix": [0, 13], "x": 14, "y": 0.25 }, - { "matrix": [1, 7], "x": 8, "y": 1.25 }, - { "matrix": [1, 8], "x": 9, "y": 1.125 }, - { "matrix": [1, 9], "x": 10, "y": 1 }, - { "matrix": [1, 10], "x": 11, "y": 1.125 }, - { "matrix": [1, 11], "x": 12, "y": 1.25 }, - { "matrix": [1, 12], "x": 13, "y": 1.25 }, - { "matrix": [1, 13], "x": 14, "y": 1.25 }, - { "matrix": [2, 7], "x": 8, "y": 2.25 }, - { "matrix": [2, 8], "x": 9, "y": 2.125 }, - { "matrix": [2, 9], "x": 10, "y": 2 }, - { "matrix": [2, 10], "x": 11, "y": 2.125 }, - { "matrix": [2, 11], "x": 12, "y": 2.25 }, - { "matrix": [2, 12], "x": 13, "y": 2.25 }, - { "matrix": [2, 13], "x": 14, "y": 2.25 }, + { "matrix": [3, 3], "x": 3, "y": 2 }, + { "matrix": [3, 4], "x": 4, "y": 2 }, + { "matrix": [3, 5], "x": 5, "y": 2 }, - { "matrix": [3, 11], "x": 9.5, "y": 3.25 }, - { "matrix": [3, 12], "x": 10.5, "y": 3.5 }, - { "matrix": [3, 13], "x": 11.5, "y": 3.75 } + { "matrix": [7, 1], "x": 10, "y": 1 }, + { "matrix": [7, 2], "x": 11, "y": 1 }, + { "matrix": [7, 3], "x": 12, "y": 1 } ] } } From 8ac270c3cb701f37512c86f337bafc534e5ac2b2 Mon Sep 17 00:00:00 2001 From: travmonkey Date: Tue, 13 May 2025 16:39:53 -0600 Subject: [PATCH 7/7] Update readme --- keyboards/travyboard/readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keyboards/travyboard/readme.md b/keyboards/travyboard/readme.md index c0d13819f7c..4b5368087ca 100644 --- a/keyboards/travyboard/readme.md +++ b/keyboards/travyboard/readme.md @@ -2,11 +2,12 @@ ![travyboard](https://i.imgur.com/0HxqCsD.jpeg) -A split 23 key keyboard created from scratch. Firmware is written as well, but QMK supports is important as well. +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):