From 1df17d909d330333269f7b7c38db054696682c1e Mon Sep 17 00:00:00 2001 From: t-ando Date: Wed, 22 May 2024 23:12:43 +0900 Subject: [PATCH] =?UTF-8?q?=E5=8B=95=E3=81=8F=E4=BA=8B=E3=82=92=E7=A2=BA?= =?UTF-8?q?=E8=AA=8D=E3=81=A7=E3=81=8D=E3=81=9F=E7=8A=B6=E6=85=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboards/yubino_hara/info.json | 14 +++++++------- keyboards/yubino_hara/keymaps/default/keymap.c | 10 +++++----- keyboards/yubino_hara/rules.mk | 3 +++ 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/keyboards/yubino_hara/info.json b/keyboards/yubino_hara/info.json index f1210bbc4ed..bd2d4e2e67a 100644 --- a/keyboards/yubino_hara/info.json +++ b/keyboards/yubino_hara/info.json @@ -39,7 +39,7 @@ "vid": "0x7936" }, "layouts": { - "LAYOUT_split_7x4": { + "LAYOUT_split_7x3_3": { "layout": [ {"matrix": [0, 0], "x": 0, "y": 0}, {"matrix": [0, 1], "x": 1, "y": 0}, @@ -86,13 +86,13 @@ {"matrix": [6, 0], "x": 13, "y": 1.5, "h": 1.5}, - {"matrix": [3, 3], "x": 3, "y": 4}, - {"matrix": [3, 4], "x": 4, "y": 4}, - {"matrix": [3, 5], "x": 5, "y": 4}, + {"matrix": [3, 4], "x": 3, "y": 4}, + {"matrix": [3, 5], "x": 4, "y": 4}, + {"matrix": [3, 6], "x": 5, "y": 4}, - {"matrix": [7, 5], "x": 7, "y": 4}, - {"matrix": [7, 4], "x": 8, "y": 4}, - {"matrix": [7, 3], "x": 9, "y": 4} + {"matrix": [7, 4], "x": 7, "y": 4}, + {"matrix": [7, 5], "x": 8, "y": 4}, + {"matrix": [7, 6], "x": 9, "y": 4} ] } } diff --git a/keyboards/yubino_hara/keymaps/default/keymap.c b/keyboards/yubino_hara/keymaps/default/keymap.c index 40203d54f78..8843497056c 100644 --- a/keyboards/yubino_hara/keymaps/default/keymap.c +++ b/keyboards/yubino_hara/keymaps/default/keymap.c @@ -4,25 +4,25 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_split_7x4( + [0] = LAYOUT_split_7x3_3( 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_MS_L, KC_MS_R, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ESC, + 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, TL_LOWR, KC_SPC, KC_ENT, TL_UPPR, KC_RALT ), - [1] = LAYOUT_split_7x4( + [1] = LAYOUT_split_7x3_3( KC_TAB, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_BSPC, KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, LGUI(KC_SPC), KC_QUOT, KC_EQL, KC_BSLS, KC_LBRC, KC_RBRC, KC_GRV, KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LNG2, _______, _______, KC_UNDS, KC_PLUS, KC_PIPE, KC_LCBR, KC_RCBR, KC_TILD, _______, _______, _______, _______, _______, _______ ), - [2] = LAYOUT_split_7x4( + [2] = LAYOUT_split_7x3_3( KC_TAB, XXXXXXX, KC_7, KC_8, KC_9, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LCTL, XXXXXXX, KC_4, KC_5, KC_6, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LSFT, KC_LALT, KC_1, KC_2, KC_3, KC_0, _______, _______, KC_LNG1, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______, _______ ), - [3] = LAYOUT_split_7x4( + [3] = LAYOUT_split_7x3_3( 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, diff --git a/keyboards/yubino_hara/rules.mk b/keyboards/yubino_hara/rules.mk index 6e7633bfe01..aa05fb5f9e4 100644 --- a/keyboards/yubino_hara/rules.mk +++ b/keyboards/yubino_hara/rules.mk @@ -1 +1,4 @@ # This file intentionally left blank +SERIAL_DRIVER = vendor +TRI_LAYER_ENABLE = yes +MOUSEKEY_ENABLE = yes