Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Yubino Hara keyboard #24042

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions keyboards/sepsepkbd/yubino_hara/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"manufacturer": "t-ando",
"keyboard_name": "yubino_hara",
"maintainer": "nagmeal",
"bootloader": "rp2040",
"diode_direction": "COL2ROW",
"features": {
"rgblight": true,
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"split": {
"enabled": true,
"soft_serial_pin": "GP0",
"transport": {
"sync": {
"matrix_state": true
}
},
"usb_detect": {
"enabled": true
}
waffle87 marked this conversation as resolved.
Show resolved Hide resolved
},
"matrix_pins": {
"cols": ["GP1", "GP2", "GP3", "GP4", "GP5", "GP6", "GP7"],
"rows": ["GP29", "GP28", "GP27", "GP26"]
},
"mouse_key": {
"enabled": true
},
waffle87 marked this conversation as resolved.
Show resolved Hide resolved
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0x7A93"
},
"ws2812": {
"driver": "vendor",
"pin": "GP14"
},
"rgblight": {
"led_count": 44,
"split": true,
"split_count": [22, 22],
"sleep": true
waffle87 marked this conversation as resolved.
Show resolved Hide resolved
},
"layouts": {
"LAYOUT_split_6x3_3_1": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More of a nitpick, but layout name should be (Rows)x(Columns).

Suggested change
"LAYOUT_split_6x3_3_1": {
"LAYOUT_split_3x6_3_1": {

Though, the keymaps would need to be changed too.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much!
I will fix it right away!

Is the maximum number correct?
It will be 7x4, so that's what I'll do.

Copy link
Member

@zvecr zvecr Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be 7x4, so that's what I'll do.

So the image from your readme, has 7 rows?

Given it doesnt match a community layout, I would suggest to rename it to just LAYOUT to avoid your confusion.

"layout": [
{"matrix": [0, 0], "label":"0,0", "x":0, "y":0},
{"matrix": [0, 1], "label":"0,1", "x":1, "y":0},
{"matrix": [0, 2], "label":"0,2", "x":2, "y":0},
{"matrix": [0, 3], "label":"0,3", "x":3, "y":0},
{"matrix": [0, 4], "label":"0,4", "x":4, "y":0},
{"matrix": [0, 5], "label":"0,5", "x":5, "y":0},

{"matrix": [4, 5], "label":"0,8", "x":9.25, "y":0},
{"matrix": [4, 4], "label":"0,9", "x":10.25, "y":0},
{"matrix": [4, 3], "label":"0,10", "x":11.25, "y":0},
{"matrix": [4, 2], "label":"0,11", "x":12.25, "y":0},
{"matrix": [4, 1], "label":"0,12", "x":13.25, "y":0},
{"matrix": [4, 0], "label":"0,13", "x":14.25, "y":0},

{"matrix": [1, 0], "label":"1,0", "x":0, "y":1},
{"matrix": [1, 1], "label":"1,1", "x":1.25, "y":1},
{"matrix": [1, 2], "label":"1,2", "x":2.25, "y":1},
{"matrix": [1, 3], "label":"1,3", "x":3.25, "y":1},
{"matrix": [1, 4], "label":"1,4", "x":4.25, "y":1},
{"matrix": [1, 5], "label":"1,5", "x":5.25, "y":1},


{"matrix": [5, 5], "label":"1,8", "x":9, "y":1},
{"matrix": [5, 4], "label":"1,9", "x":10, "y":1},
{"matrix": [5, 3], "label":"1,10", "x":11, "y":1},
{"matrix": [5, 2], "label":"1,11", "x":12, "y":1},
{"matrix": [5, 1], "label":"1,12", "x":13, "y":1},
{"matrix": [5, 0], "label":"1,13", "x":14.25, "y":1},

{"matrix": [2, 0], "label":"2,0", "x":0, "y":2},
{"matrix": [2, 1], "label":"2,1", "x":1, "y":2},
{"matrix": [2, 2], "label":"2,2", "x":2, "y":2},
{"matrix": [2, 3], "label":"2,3", "x":3, "y":2},
{"matrix": [2, 4], "label":"2,4", "x":4, "y":2},
{"matrix": [2, 5], "label":"2,5", "x":5, "y":2},
{"matrix": [2, 6], "label":"2,6", "x":6.25, "y":1, "h":2},

{"matrix": [6, 6], "label":"2,7", "x":8, "y":1, "h":2},
{"matrix": [6, 5], "label":"2,8", "x":9.25, "y":2},
{"matrix": [6, 4], "label":"2,9", "x":10.25, "y":2},
{"matrix": [6, 3], "label":"2,10", "x":11.25, "y":2},
{"matrix": [6, 2], "label":"2,11", "x":12.25, "y":2},
{"matrix": [6, 1], "label":"2,12", "x":13.25, "y":2},
{"matrix": [6, 0], "label":"2,13", "x":14.25, "y":2},


{"matrix": [3, 4], "label":"3,4", "x":4.25, "y":3.25},
{"matrix": [3, 5], "label":"3,5", "x":5.25, "y":3},
{"matrix": [3, 6], "label":"3,6", "x":6.25, "y":3.25},

{"matrix": [7, 6], "label":"3,7", "x":8, "y":3.25},
{"matrix": [7, 5], "label":"3,8", "x":9, "y":3},
{"matrix": [7, 4], "label":"3,9", "x":10, "y":3.25}
]
}
}
}
35 changes: 35 additions & 0 deletions keyboards/sepsepkbd/yubino_hara/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_6x3_3_1(
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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_MINS,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_BTN1, KC_BTN2, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
KC_LGUI, MO(1), KC_SPC, KC_ENT, MO(2), KC_RALT
),
[1] = LAYOUT_split_6x3_3_1(
KC_TAB, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_ASTR, KC_AMPR, KC_LPRN, KC_RPRN, KC_CIRC, KC_BSPC,
KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LGUI(KC_SPC), KC_QUOT, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_GRV,
KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LNG2, _______, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_TILD,
_______, _______, _______, _______, MO(3), _______
),
[2] = LAYOUT_split_6x3_3_1(
KC_TAB, XXXXXXX, KC_7, KC_8, KC_9, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX,
KC_LCTL, XXXXXXX, KC_4, KC_5, KC_6, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX,
KC_LSFT, KC_LALT, KC_1, KC_2, KC_3, KC_0, _______, _______, KC_LNG1, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
_______, MO(3), _______, _______, _______, _______
),
[3] = LAYOUT_split_6x3_3_1(
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_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
KC_LSFT, XXXXXXX, XXXXXXX, RGB_HUI, RGB_SAI, RGB_VAI, RGB_TOG, _______, RGB_VAD, RGB_SAD, RGB_HUD, XXXXXXX, XXXXXXX, XXXXXXX,
_______, _______, _______, _______, _______, _______
),
};

void keyboard_post_init_user(void) {
rgblight_sethsv(0, 0, 50);
}
waffle87 marked this conversation as resolved.
Show resolved Hide resolved
35 changes: 35 additions & 0 deletions keyboards/sepsepkbd/yubino_hara/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_split_6x3_3_1(
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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_MINS,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_BTN1, KC_BTN2, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC,
KC_LGUI, MO(1), KC_SPC, KC_ENT, MO(2), KC_RALT
),
[1] = LAYOUT_split_6x3_3_1(
KC_TAB, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_ASTR, KC_AMPR, KC_LPRN, KC_RPRN, KC_CIRC, KC_BSPC,
KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LGUI(KC_SPC), KC_QUOT, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS, KC_GRV,
KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LNG2, RGB_TOG, _______, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE, KC_TILD,
_______, _______, _______, _______, MO(3), _______
),
[2] = LAYOUT_split_6x3_3_1(
KC_TAB, XXXXXXX, KC_7, KC_8, KC_9, XXXXXXX, XXXXXXX, XXXXXXX, KC_UP, XXXXXXX, XXXXXXX, XXXXXXX,
KC_LCTL, XXXXXXX, KC_4, KC_5, KC_6, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_RGHT, XXXXXXX, XXXXXXX,
KC_LSFT, KC_LALT, KC_1, KC_2, KC_3, KC_0, KC_BTN1, _______, KC_LNG1, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
_______, MO(3), _______, _______, _______, _______
),
[3] = LAYOUT_split_6x3_3_1(
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_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
_______, _______, _______, _______, _______, _______
),
};

void keyboard_post_init_user(void) {
rgblight_sethsv(0, 0, 100);
}
waffle87 marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions keyboards/sepsepkbd/yubino_hara/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
32 changes: 32 additions & 0 deletions keyboards/sepsepkbd/yubino_hara/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# yubino_hara

![yubino_hara](https://raw.githubusercontent.com/nagmeal/sep-sep-kbd/main/yubino-hara/yubinohara.jpg)
waffle87 marked this conversation as resolved.
Show resolved Hide resolved

- Split
- Reverse tilt (tilted from front to back)
- Symmetrical staggered



* Keyboard Maintainer: [t-ando](https://github.com/nagmeal)
* Hardware Supported: *YUBINO-HARA PCB, RP2040-zero*
* Hardware Availability: *[PCB & Case Data](https://github.com/nagmeal/sep-sep-kbd/tree/main/yubino-hara)*



Make example for this keyboard (after setting up your build environment):

qmk compile -kb sepsepkbd/yubino_hara -km default

Flashing example for this keyboard:

Connect to PC with USB cable and copy the generated fa2 file.
waffle87 marked this conversation as resolved.
Show resolved Hide resolved

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**: Connect to PC while holding down the "BOOT" button on the RP2040-zero.
* **Physical reset button**: Press the "RESET" button on RP2040-zero.
1 change: 1 addition & 0 deletions keyboards/sepsepkbd/yubino_hara/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SERIAL_DRIVER = vendor
Loading