From bcccd53d53f41d3427936c6590c583f080d97eed Mon Sep 17 00:00:00 2001 From: Justin Lam Date: Sun, 13 Jul 2025 13:13:20 -0700 Subject: [PATCH] Copy from qmk --- keyboards/0_justin/skeletyl/config.h | 10 +++ keyboards/0_justin/skeletyl/keyboard.json | 78 +++++++++++++++++++ .../skeletyl/keymaps/default/keymap.c | 27 +++++++ keyboards/0_justin/skeletyl/readme.md | 27 +++++++ keyboards/0_justin/skeletyl/rules.mk | 1 + 5 files changed, 143 insertions(+) create mode 100644 keyboards/0_justin/skeletyl/config.h create mode 100644 keyboards/0_justin/skeletyl/keyboard.json create mode 100644 keyboards/0_justin/skeletyl/keymaps/default/keymap.c create mode 100644 keyboards/0_justin/skeletyl/readme.md create mode 100644 keyboards/0_justin/skeletyl/rules.mk diff --git a/keyboards/0_justin/skeletyl/config.h b/keyboards/0_justin/skeletyl/config.h new file mode 100644 index 0000000000..24661c9818 --- /dev/null +++ b/keyboards/0_justin/skeletyl/config.h @@ -0,0 +1,10 @@ +// Copyright 2024 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once +/* RP2040- and hardware-specific config */ +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET // Activates the double-tap behavior +#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U +#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64 + +#define SERIAL_PIO_USE_PIO1 diff --git a/keyboards/0_justin/skeletyl/keyboard.json b/keyboards/0_justin/skeletyl/keyboard.json new file mode 100644 index 0000000000..eaf6e9d40b --- /dev/null +++ b/keyboards/0_justin/skeletyl/keyboard.json @@ -0,0 +1,78 @@ +{ + "manufacturer": "Justin Lam", + "keyboard_name": "0_justin/skeletyl", + "maintainer": "Justin Lam", + "bootloader": "rp2040", + "processor": "RP2040", + "diode_direction": "COL2ROW", + "features": { + "bootmagic": false, + "extrakey": false, + "mousekey": true, + "nkro": false + }, + "matrix_pins": { + "cols": ["GP4", "GP5", "GP6", "GP7", "GP8"], + "rows": ["GP9", "GP10", "GP11", "GP12"] + }, + "split": { + "enabled": true, + "main": "left", + "soft_serial_pin": "GP1", + "transport": { "protocol": "serial" }, + "matrix_pins": { + "right": { + "cols": ["GP8", "GP7", "GP6", "GP5", "GP4"], + "rows": ["GP9", "GP10", "GP11", "GP12"] + } + } + }, + "url": "https://github/justinlam/skeletyl", + "usb": { + "device_version": "1.0.0", + "pid": "0x0254", + "vid": "0xFEED" + }, + "layouts": { + "LAYOUT_split_3x5_3": { + "layout": [ + {"matrix": [0, 0], "x": 0, "y": 0.25}, + {"matrix": [0, 1], "x": 1, "y": 0.125}, + {"matrix": [0, 2], "x": 2, "y": 0}, + {"matrix": [0, 3], "x": 3, "y": 0.125}, + {"matrix": [0, 4], "x": 4, "y": 0.25}, + {"matrix": [4, 0], "x": 7, "y": 0.25}, + {"matrix": [4, 1], "x": 8, "y": 0.125}, + {"matrix": [4, 2], "x": 9, "y": 0}, + {"matrix": [4, 3], "x": 10, "y": 0.125}, + {"matrix": [4, 4], "x": 11, "y": 0.25}, + {"matrix": [1, 0], "x": 0, "y": 1.25}, + {"matrix": [1, 1], "x": 1, "y": 1.125}, + {"matrix": [1, 2], "x": 2, "y": 1}, + {"matrix": [1, 3], "x": 3, "y": 1.125}, + {"matrix": [1, 4], "x": 4, "y": 1.25}, + {"matrix": [5, 0], "x": 7, "y": 1.25}, + {"matrix": [5, 1], "x": 8, "y": 1.125}, + {"matrix": [5, 2], "x": 9, "y": 1}, + {"matrix": [5, 3], "x": 10, "y": 1.125}, + {"matrix": [5, 4], "x": 11, "y": 1.25}, + {"matrix": [2, 0], "x": 0, "y": 2.25}, + {"matrix": [2, 1], "x": 1, "y": 2.125}, + {"matrix": [2, 2], "x": 2, "y": 2}, + {"matrix": [2, 3], "x": 3, "y": 2.125}, + {"matrix": [2, 4], "x": 4, "y": 2.25}, + {"matrix": [6, 0], "x": 7, "y": 2.25}, + {"matrix": [6, 1], "x": 8, "y": 2.125}, + {"matrix": [6, 2], "x": 9, "y": 2}, + {"matrix": [6, 3], "x": 10, "y": 2.125}, + {"matrix": [6, 4], "x": 11, "y": 2.25}, + {"matrix": [3, 2], "x": 2.5, "y": 3.25}, + {"matrix": [3, 3], "x": 3.5, "y": 3.5}, + {"matrix": [3, 4], "x": 4.5, "y": 3.75}, + {"matrix": [7, 0], "x": 6.5, "y": 3.75}, + {"matrix": [7, 1], "x": 7.5, "y": 3.5}, + {"matrix": [7, 2], "x": 8.5, "y": 3.25} + ] + } + } +} diff --git a/keyboards/0_justin/skeletyl/keymaps/default/keymap.c b/keyboards/0_justin/skeletyl/keymaps/default/keymap.c new file mode 100644 index 0000000000..909e3fb382 --- /dev/null +++ b/keyboards/0_justin/skeletyl/keymaps/default/keymap.c @@ -0,0 +1,27 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┐ + * │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ + * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤ + * │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │ ; │ + * ├───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┤ + * │ Z │ X │ C │ V │ B │ │ N │ M │ , │ . │ / │ + * └───┴───┴───┴───┴───┘ └───┴───┴───┴───┴───┘ + * ┌───┐ ┌───┐ + * │GUI├───┐ ┌───┤Alt│ + * └───┤Bsp├───┐ ┌───┤Ent├───┘ + * └───┤ │ │ ├───┘ + * └───┘ └───┘ + */ + [0] = LAYOUT_split_3x5_3( + 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_BSPC, KC_SPC, KC_SPC, KC_ENT, KC_RALT + ) +}; diff --git a/keyboards/0_justin/skeletyl/readme.md b/keyboards/0_justin/skeletyl/readme.md new file mode 100644 index 0000000000..42930b4c38 --- /dev/null +++ b/keyboards/0_justin/skeletyl/readme.md @@ -0,0 +1,27 @@ +# 0_justin/skeletyl + +![0_justin/skeletyl](imgur.com image replace me!) + +*A short description of the keyboard/project* + +* Keyboard Maintainer: [Justin Lam](https://github.com/Justin Lam) +* 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 0_justin/skeletyl:default + +Flashing example for this keyboard: + + make 0_justin/skeletyl: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 diff --git a/keyboards/0_justin/skeletyl/rules.mk b/keyboards/0_justin/skeletyl/rules.mk new file mode 100644 index 0000000000..161ec22b16 --- /dev/null +++ b/keyboards/0_justin/skeletyl/rules.mk @@ -0,0 +1 @@ +SERIAL_DRIVER = vendor