mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
add stardustn0 keyboard
This commit is contained in:
3
keyboards/stardustn0/config.h
Normal file
3
keyboards/stardustn0/config.h
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
#define MASTER_RIGHT
|
||||||
|
#define LED_CAPS_LOCK_PIN GP25
|
||||||
175
keyboards/stardustn0/keyboard.json
Normal file
175
keyboards/stardustn0/keyboard.json
Normal file
@@ -0,0 +1,175 @@
|
|||||||
|
{
|
||||||
|
"manufacturer": "Stars",
|
||||||
|
"keyboard_name": "StarDustN0",
|
||||||
|
"maintainer": "navidyt",
|
||||||
|
"bootloader": "rp2040",
|
||||||
|
"diode_direction": "COL2ROW",
|
||||||
|
"features": {
|
||||||
|
"bootmagic": true,
|
||||||
|
"command": false,
|
||||||
|
"console": false,
|
||||||
|
"extrakey": true,
|
||||||
|
"mousekey": true,
|
||||||
|
"nkro": true
|
||||||
|
},
|
||||||
|
"matrix_pins": {
|
||||||
|
"cols": ["GP8","GP11","GP19","GP18","GP17","GP16"],
|
||||||
|
"rows": ["GP3","GP9","GP13","GP14","GP15"]
|
||||||
|
},
|
||||||
|
"processor": "RP2040",
|
||||||
|
"url": "",
|
||||||
|
"usb": {
|
||||||
|
"device_version": "1.0.0",
|
||||||
|
"pid": "0x0000",
|
||||||
|
"vid": "0x4E54"
|
||||||
|
},
|
||||||
|
"split": {
|
||||||
|
"enabled": true,
|
||||||
|
"main": "left",
|
||||||
|
"soft_serial_pin": "GP1",
|
||||||
|
"transport": {
|
||||||
|
"protocol": "serial"
|
||||||
|
},
|
||||||
|
"matrix_pins": {
|
||||||
|
"right": {
|
||||||
|
"cols": ["GP15","GP14","GP13","GP12","GP20","GP26"],
|
||||||
|
"rows": ["GP28","GP22","GP18","GP17","GP16"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"usb_detect": {
|
||||||
|
"timeout": 2500
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"layouts": {
|
||||||
|
"LAYOUT_split_2x28": {
|
||||||
|
"layout": [
|
||||||
|
{"matrix": [0, 0], "x": 0, "y": 0.9},
|
||||||
|
{"matrix": [0, 1], "x": 1, "y": 0.9},
|
||||||
|
{"matrix": [0, 2], "x": 2, "y": 0.2},
|
||||||
|
{"matrix": [0, 3], "x": 3, "y": 0},
|
||||||
|
{"matrix": [0, 4], "x": 4, "y": 0.2},
|
||||||
|
{"matrix": [0, 5], "x": 5, "y": 0.4},
|
||||||
|
|
||||||
|
{"matrix": [5, 0], "x": 11, "y": 0.4},
|
||||||
|
{"matrix": [5, 1], "x": 12, "y": 0.2},
|
||||||
|
{"matrix": [5, 2], "x": 13, "y": 0},
|
||||||
|
{"matrix": [5, 3], "x": 14, "y": 0.2},
|
||||||
|
{"matrix": [5, 4], "x": 15, "y": 0.9},
|
||||||
|
{"matrix": [5, 5], "x": 16, "y": 0.9},
|
||||||
|
|
||||||
|
|
||||||
|
{"matrix": [1, 0], "x": 0, "y": 1.9},
|
||||||
|
{"matrix": [1, 1], "x": 1, "y": 1.9},
|
||||||
|
{"matrix": [1, 2], "x": 2, "y": 1.2},
|
||||||
|
{"matrix": [1, 3], "x": 3, "y": 1},
|
||||||
|
{"matrix": [1, 4], "x": 4, "y": 1.2},
|
||||||
|
{"matrix": [1, 5], "x": 5, "y": 1.4},
|
||||||
|
|
||||||
|
{"matrix": [6, 0], "x": 11, "y": 1.4},
|
||||||
|
{"matrix": [6, 1], "x": 12, "y": 1.2},
|
||||||
|
{"matrix": [6, 2], "x": 13, "y": 1},
|
||||||
|
{"matrix": [6, 3], "x": 14, "y": 1.2},
|
||||||
|
{"matrix": [6, 4], "x": 15, "y": 1.9},
|
||||||
|
{"matrix": [6, 5], "x": 16, "y": 1.9},
|
||||||
|
|
||||||
|
|
||||||
|
{"matrix": [2, 0], "x": 0, "y": 2.9},
|
||||||
|
{"matrix": [2, 1], "x": 1, "y": 2.9},
|
||||||
|
{"matrix": [2, 2], "x": 2, "y": 2.2},
|
||||||
|
{"matrix": [2, 3], "x": 3, "y": 2},
|
||||||
|
{"matrix": [2, 4], "x": 4, "y": 2.2},
|
||||||
|
{"matrix": [2, 5], "x": 5, "y": 2.4},
|
||||||
|
|
||||||
|
{"matrix": [7, 0], "x": 11, "y": 2.4},
|
||||||
|
{"matrix": [7, 1], "x": 12, "y": 2.2},
|
||||||
|
{"matrix": [7, 2], "x": 13, "y": 2},
|
||||||
|
{"matrix": [7, 3], "x": 14, "y": 2.2},
|
||||||
|
{"matrix": [7, 4], "x": 15, "y": 2.9},
|
||||||
|
{"matrix": [7, 5], "x": 16, "y": 2.9},
|
||||||
|
|
||||||
|
|
||||||
|
{"matrix": [3, 0], "x": 0, "y": 3.9},
|
||||||
|
{"matrix": [3, 1], "x": 1, "y": 3.9},
|
||||||
|
{"matrix": [3, 2], "x": 2, "y": 3.2},
|
||||||
|
{"matrix": [3, 3], "x": 3, "y": 3},
|
||||||
|
{"matrix": [3, 4], "x": 4, "y": 3.2},
|
||||||
|
{"matrix": [3, 5], "x": 5, "y": 3.4},
|
||||||
|
|
||||||
|
{"matrix": [8, 0], "x": 11, "y": 3.4},
|
||||||
|
{"matrix": [8, 1], "x": 12, "y": 3.2},
|
||||||
|
{"matrix": [8, 2], "x": 13, "y": 3},
|
||||||
|
{"matrix": [8, 3], "x": 14, "y": 3.2},
|
||||||
|
{"matrix": [8, 4], "x": 15, "y": 3.9},
|
||||||
|
{"matrix": [8, 5], "x": 16, "y": 3.9},
|
||||||
|
|
||||||
|
|
||||||
|
{"matrix": [4, 2], "x": 4, "y": 3.5},
|
||||||
|
{"matrix": [4, 3], "x": 5, "y": 3.5},
|
||||||
|
{"matrix": [4, 4], "x": 6, "y": 3.5},
|
||||||
|
{"matrix": [4, 5], "x": 7, "y": 3.5},
|
||||||
|
|
||||||
|
{"matrix": [9, 0], "x": 8, "y": 3.5},
|
||||||
|
{"matrix": [9, 1], "x": 9, "y": 3.5},
|
||||||
|
{"matrix": [9, 2], "x": 10, "y": 3.5},
|
||||||
|
{"matrix": [9, 3], "x": 11, "y": 3.5}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
52
keyboards/stardustn0/keymaps/default/keymap.c
Normal file
52
keyboards/stardustn0/keymaps/default/keymap.c
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
// Copyright 2023 QMK
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
||||||
|
// ┌─────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬─────┐
|
||||||
|
// │ ESC │ 1 │ 2 │ 3 │ 4 │ 5 │ │ 6 │ 7 │ 8 │ 9 │ 0 │ BSPC│
|
||||||
|
// ├─────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼─────┤
|
||||||
|
// │ TAB │ Q │ W │ E │ R │ T │ │ Y │ U │ I │ O │ P │ BSLS│
|
||||||
|
// ├─────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼─────┤
|
||||||
|
// │LSFT │ A │ S │ D │ F │ G │ │ H │ J │ K │ L │QUOT│ ENT │
|
||||||
|
// ├─────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼─────┤
|
||||||
|
// │LCTL │ Z │ X │ C │ V │ B │ │ N │ M │COMM│DOT │SLSH│RSFT │
|
||||||
|
// └─────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴─────┘
|
||||||
|
// ┌─────┬─────┬─────┬────┐ ┌─────┬─────┬─────┬─────┐
|
||||||
|
// │ LGUI│MO(1)│ SPC │LALT│ │LEFT │DOWN │ UP │RIGHT│
|
||||||
|
// └─────┴─────┴─────┴────┘ └─────┴─────┴─────┴─────┘
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// ┌─────┬────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┬─────┐
|
||||||
|
// │ GRV │ F1 │ F2 │ F3 │ F4 │ F5 │ │ F6 │ F7 │ F8 │ F9 │ F10│ DEL │
|
||||||
|
// ├─────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼─────┤
|
||||||
|
// │CAPS │NO │NO │NO │NO │NO │ │MINS│ EQL│LBRC│RBRC│ F11│ F12 │
|
||||||
|
// ├─────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼─────┤
|
||||||
|
// │LSFT │NO │NO │NO │NO │NO │ │ NO │ NO │ NO │ NO │SCLN│ NO │
|
||||||
|
// ├─────┼────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┼─────┤
|
||||||
|
// │LCTL │NO │NO │NO │NO │NO │ │ NO │ NO │ NO │ NO │ NO │RSFT │
|
||||||
|
// └─────┴────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┴─────┘
|
||||||
|
// ┌────┬────┬────┬────┐ ┌────┬────┬────┬────┐
|
||||||
|
// │ NO │ NO │ NO │LALT│ │HOME│PGDN│PGUP│ END│
|
||||||
|
// └────┴────┴────┴────┘ └────┴────┴────┴────┘
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
[0] = LAYOUT_split_2x28(
|
||||||
|
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
||||||
|
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||||
|
KC_LSFT, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT,
|
||||||
|
KC_LCTL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||||
|
KC_LGUI, MO(1), KC_SPC, KC_LALT, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT
|
||||||
|
),
|
||||||
|
[1] = LAYOUT_split_2x28(
|
||||||
|
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_DEL,
|
||||||
|
KC_CAPS, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_F11, KC_F12,
|
||||||
|
KC_LSFT, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_SCLN, KC_NO,
|
||||||
|
KC_LCTL, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_RSFT,
|
||||||
|
KC_NO, KC_NO, KC_NO, KC_LALT, KC_HOME, KC_PGDN, KC_PGUP, KC_END
|
||||||
|
)
|
||||||
|
};
|
||||||
30
keyboards/stardustn0/readme.md
Normal file
30
keyboards/stardustn0/readme.md
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
# stardustn0
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
This project is a custom-built split ergonomic mechanical keyboard, using two Raspberry Pi Pico microcontrollers.
|
||||||
|
|
||||||
|
* Keyboard Maintainer: [navidyt](https://github.com/navidyt)
|
||||||
|
* Hardware SupportedRaspberry Pi Pico, MX switches, Gateron hot-swap sockets, 1N4148 diodes, generic USB-C breakout board
|
||||||
|
|
||||||
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
|
make stardustn0:default
|
||||||
|
|
||||||
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
|
make stardustn0: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
|
||||||
|
|
||||||
|
Entering the bootloader:
|
||||||
|
|
||||||
|
* **Physical reset button**: Briefly press the reset button on the pico while connecting the usb c to enter the flash mode
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
This keyboard uses the #MASTER_RIGHT handedness method, so you must connect it to the PC using the right half.
|
||||||
|
To change this behavior, define your target method in the config.h file.
|
||||||
|
See [This Page](https://docs.qmk.fm/features/split_keyboard#setting-handedness) for more information on this.
|
||||||
2
keyboards/stardustn0/rules.mk
Normal file
2
keyboards/stardustn0/rules.mk
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
SERIAL_DRIVER = vendor
|
||||||
|
VIA_ENABLE = yes
|
||||||
Reference in New Issue
Block a user