commit
723a86bb68
6 changed files with 231 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||
// Copyright 2024 0t0x (@0t0x)
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|||
|
|||
#pragma once |
|||
|
|||
/*
|
|||
* Feature disable options |
|||
* These options are also useful to firmware size reduction. |
|||
*/ |
|||
#define MASTER_LEFT |
|||
#define USE_SERIAL |
|||
#define SOFT_SERIAL_PIN GP3 // or D1, D2, D3, E6
|
|||
#define SPLIT_USB_DETECT |
|||
//#define SOFT_SERIAL_PIN
|
|||
//#define SERIAL_USART_FULL_DUPLEX
|
|||
//#define SERIAL_USART_TX_PIN GP3
|
|||
/* 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
|
|||
@ -0,0 +1,128 @@ |
|||
{ |
|||
"manufacturer": "0t0x", |
|||
"keyboard_name": "whynot_split", |
|||
"maintainer": "0t0x", |
|||
"processor": "RP2040", |
|||
"bootloader": "rp2040", |
|||
"diode_direction": "COL2ROW", |
|||
"features": { |
|||
"bootmagic": true, |
|||
"command": false, |
|||
"console": false, |
|||
"extrakey": true, |
|||
"mousekey": true, |
|||
"nkro": true |
|||
}, |
|||
"qmk": { |
|||
"locking": { |
|||
"enabled": true, |
|||
"resync": true |
|||
} |
|||
}, |
|||
"matrix_pins": { |
|||
"cols": ["GP10", "GP9", "GP8", "GP7", "GP6", "GP5", "GP3", null, null], |
|||
"rows": ["GP12", "GP27", "GP26", "GP15", "GP14"] |
|||
}, |
|||
"split": { |
|||
"enabled": true, |
|||
"matrix_pins": { |
|||
"right": { |
|||
"cols": ["GP29", "GP28", "GP27", "GP13", "GP26", "GP15", "GP12", "GP14", "GP11"], |
|||
"rows": ["GP4", "GP5", "GP6", "GP7", "GP8"] |
|||
} |
|||
} |
|||
}, |
|||
"url": "", |
|||
"usb": { |
|||
"device_version": "1.0.0", |
|||
"pid": "0x0000", |
|||
"vid": "0xFEED" |
|||
}, |
|||
"layouts": { |
|||
"LAYOUT": { |
|||
"layout": [ |
|||
{"label": "Esc", "matrix": [0, 0], "x": 0, "y": 0}, |
|||
{"label": "1", "matrix": [0, 1], "x": 1, "y": 0}, |
|||
{"label": "2", "matrix": [0, 2], "x": 2, "y": 0}, |
|||
{"label": "3", "matrix": [0, 3], "x": 3, "y": 0}, |
|||
{"label": "4", "matrix": [0, 4], "x": 4, "y": 0}, |
|||
{"label": "5", "matrix": [0, 5], "x": 5, "y": 0}, |
|||
{"label": "6", "matrix": [0, 6], "x": 6, "y": 0}, |
|||
|
|||
{"label": "7", "matrix": [5, 0], "x": 8, "y": 0}, |
|||
{"label": "8", "matrix": [5, 1], "x": 9, "y": 0}, |
|||
{"label": "9", "matrix": [5, 2], "x": 10, "y": 0}, |
|||
{"label": "0", "matrix": [5, 3], "x": 11, "y": 0}, |
|||
{"label": "-", "matrix": [5, 4], "x": 12, "y": 0}, |
|||
{"label": "+", "matrix": [5, 5], "x": 13, "y": 0, "w": 2}, |
|||
{"label": "Backspace", "matrix": [5, 7], "x": 15, "y": 0}, |
|||
{"label": "Home", "matrix": [5, 8], "x": 15, "y": 0}, |
|||
|
|||
|
|||
{"label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, |
|||
{"label": "Q", "matrix": [1, 2], "x": 1.5, "y": 1}, |
|||
{"label": "W", "matrix": [1, 3], "x": 2.5, "y": 1}, |
|||
{"label": "E", "matrix": [1, 4], "x": 3.5, "y": 1}, |
|||
{"label": "R", "matrix": [1, 5], "x": 4.5, "y": 1}, |
|||
{"label": "T", "matrix": [1, 6], "x": 5.5, "y": 1}, |
|||
|
|||
{"label": "Y", "matrix": [6, 0], "x": 6.5, "y": 1}, |
|||
{"label": "U", "matrix": [6, 1], "x": 7.5, "y": 1}, |
|||
{"label": "I", "matrix": [6, 2], "x": 8.5, "y": 1}, |
|||
{"label": "O", "matrix": [6, 3], "x": 9.5, "y": 1}, |
|||
{"label": "P", "matrix": [6, 4], "x": 10.5, "y": 1}, |
|||
{"label": "[", "matrix": [6, 5], "x": 11.5, "y": 1}, |
|||
{"label": "]", "matrix": [6, 6], "x": 12.5, "y": 1}, |
|||
{"label": "\\", "matrix": [6, 7], "x": 13.5, "y": 1, "w": 1.5}, |
|||
{"label": "End", "matrix": [6, 8], "x": 15, "y": 1}, |
|||
|
|||
|
|||
{"label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, |
|||
{"label": "A", "matrix": [2, 2], "x": 1.75, "y": 2}, |
|||
{"label": "S", "matrix": [2, 3], "x": 2.75, "y": 2}, |
|||
{"label": "D", "matrix": [2, 4], "x": 3.75, "y": 2}, |
|||
{"label": "F", "matrix": [2, 5], "x": 4.75, "y": 2}, |
|||
{"label": "G", "matrix": [2, 6], "x": 5.75, "y": 2}, |
|||
|
|||
{"label": "H", "matrix": [7, 0], "x": 6.75, "y": 2}, |
|||
{"label": "J", "matrix": [7, 1], "x": 7.75, "y": 2}, |
|||
{"label": "K", "matrix": [7, 2], "x": 8.75, "y": 2}, |
|||
{"label": "L", "matrix": [7, 3], "x": 9.75, "y": 2}, |
|||
{"label": ";", "matrix": [7, 4], "x": 10.75, "y": 2}, |
|||
{"label": "'", "matrix": [7, 5], "x": 11.75, "y": 2}, |
|||
{"label": "Enter", "matrix": [7, 6], "x": 12.75, "y": 2, "w": 2.25}, |
|||
{"label": "Page Up", "matrix": [7, 8], "x": 15, "y": 2}, |
|||
|
|||
|
|||
{"label": "Shift", "matrix": [3, 1], "x": 0, "y": 3, "w": 2.25}, |
|||
{"label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3}, |
|||
{"label": "X", "matrix": [3, 3], "x": 3.25, "y": 3}, |
|||
{"label": "C", "matrix": [3, 4], "x": 4.25, "y": 3}, |
|||
{"label": "V", "matrix": [3, 5], "x": 5.25, "y": 3}, |
|||
{"label": "B", "matrix": [3, 6], "x": 6.25, "y": 3}, |
|||
|
|||
{"label": "N", "matrix": [8, 0], "x": 7.25, "y": 3}, |
|||
{"label": "M", "matrix": [8, 1], "x": 8.25, "y": 3}, |
|||
{"label": ",", "matrix": [8, 2], "x": 9.25, "y": 3}, |
|||
{"label": ".", "matrix": [8, 3], "x": 10.25, "y": 3}, |
|||
{"label": "/", "matrix": [8, 4], "x": 11.25, "y": 3}, |
|||
{"label": "Shift", "matrix": [8, 6], "x": 12.25, "y": 3, "w": 1.75}, |
|||
{"label": "\u2191", "matrix": [8, 7], "x": 14, "y": 3}, |
|||
{"label": "Page Down", "matrix": [8, 8], "x": 15, "y": 3}, |
|||
|
|||
{"label": "Ctrl", "matrix": [4, 0], "x": 0, "y": 4, "w": 1.25}, |
|||
{"label": "GUI", "matrix": [4, 1], "x": 1.25, "y": 4, "w": 1.25}, |
|||
{"label": "Alt", "matrix": [4, 3], "x": 2.5, "y": 4, "w": 1.25}, |
|||
{"label": "GUI", "matrix": [4, 4], "x": 3.75, "y": 4, "w": 1.25}, |
|||
{"label": "Space", "matrix": [4, 6], "x": 5, "y": 4, "w": 2.25}, |
|||
|
|||
{"label": "Space", "matrix": [9, 1], "x": 7.25, "y": 4, "w": 2.75}, |
|||
{"label": "Alt", "matrix": [9, 3], "x": 10, "y": 4, "w": 1.25}, |
|||
{"label": "Ctrl", "matrix": [9, 4], "x": 11.25, "y": 4, "w": 1.25}, |
|||
{"label": "\u2190", "matrix": [9, 6], "x": 13, "y": 4}, |
|||
{"label": "\u2193", "matrix": [9, 7], "x": 14, "y": 4}, |
|||
{"label": "\u2192", "matrix": [9, 8], "x": 15, "y": 4} |
|||
] |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,24 @@ |
|||
// Copyright 2023 QMK
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|||
|
|||
#include QMK_KEYBOARD_H |
|||
enum layer_names { |
|||
_BASE |
|||
}; |
|||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
|||
[_BASE] = LAYOUT( |
|||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, |
|||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_PGUP, |
|||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_PGDN, |
|||
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_UP, KC_END, |
|||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT |
|||
) |
|||
|
|||
//[1] = LAYOUT_SPLIT(
|
|||
// KC_GRV, 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_DEL, _______,
|
|||
// _______, _______, _______, _______, _______, _______, KC_INS, _______, _______, _______, _______, KC_PSCR, KC_SCRL, _______,
|
|||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PAUS, _______, _______,
|
|||
// _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______,
|
|||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
|||
//)
|
|||
}; |
|||
@ -0,0 +1,27 @@ |
|||
# whynot_split |
|||
|
|||
 |
|||
|
|||
*A short description of the keyboard/project* |
|||
|
|||
* Keyboard Maintainer: [0t0x](https://github.com/0t0x) |
|||
* 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 whynot_split:default |
|||
|
|||
Flashing example for this keyboard: |
|||
|
|||
make whynot_split: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 |
|||
@ -0,0 +1,4 @@ |
|||
# This file intentionally left blank
|
|||
SPLIT_KEYBOARD = yes |
|||
SPLIT_TRANSPORT = serial |
|||
SERIAL_DRIVER = vendor |
|||
@ -0,0 +1,22 @@ |
|||
// Copyright 2024 0t0x (@0t0x)
|
|||
// SPDX-License-Identifier: GPL-2.0-or-later
|
|||
|
|||
#pragma once |
|||
|
|||
/*
|
|||
* Feature disable options |
|||
* These options are also useful to firmware size reduction. |
|||
*/ |
|||
#define EE_HANDS // Sets the keyboard’s handedness using EEPROM
|
|||
#define SERIAL_USART_FULL_DUPLEX |
|||
#define MASTER_LEFT |
|||
/* 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
|
|||
Loading…
Reference in new issue