port bully to vial (#653)
* port bully to vial * Update keyboards/mkh_studio/bully/keymaps/vial/vial.json Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> --------- Co-authored-by: Zhol Internet <zhol@internet.keyboard> Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
This commit is contained in:
parent
7f4d6fce43
commit
9fb5d2aa5b
8
keyboards/mkh_studio/bully/keymaps/vial/config.h
Normal file
8
keyboards/mkh_studio/bully/keymaps/vial/config.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x93, 0x6D, 0xC2, 0x30, 0x27, 0x2D, 0x00, 0x97}
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS {0, 1}
|
||||
#define VIAL_UNLOCK_COMBO_COLS {0, 11}
|
25
keyboards/mkh_studio/bully/keymaps/vial/keymap.c
Normal file
25
keyboards/mkh_studio/bully/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,25 @@
|
||||
// Copyright 2022 zhol
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, KC_BSPC,
|
||||
LT(2, KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, LT(1, KC_SPC), KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS, QK_BOOT,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_BSLS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_LBRC, KC_RBRC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PGUP, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, LT(2, KC_SPC), KC_HOME, KC_PGDN, KC_END
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_PGUP, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
2
keyboards/mkh_studio/bully/keymaps/vial/rules.mk
Normal file
2
keyboards/mkh_studio/bully/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
224
keyboards/mkh_studio/bully/keymaps/vial/vial.json
Normal file
224
keyboards/mkh_studio/bully/keymaps/vial/vial.json
Normal file
@ -0,0 +1,224 @@
|
||||
{
|
||||
"lighting": "none",
|
||||
"matrix": {
|
||||
"rows": 4,
|
||||
"cols": 12
|
||||
},
|
||||
"layouts": {
|
||||
"labels": [
|
||||
"Full Backspace",
|
||||
[
|
||||
"Bottom Row",
|
||||
"Alice",
|
||||
"Split 3U",
|
||||
"Full 6U",
|
||||
"Full 6.25U"
|
||||
],
|
||||
"Big Right Shift",
|
||||
"Stepped Caps"
|
||||
],
|
||||
"keymap": [
|
||||
[
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"0,0",
|
||||
"0,1",
|
||||
"0,2",
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6",
|
||||
"0,7",
|
||||
"0,8",
|
||||
"0,9",
|
||||
"0,10",
|
||||
"0,11\n\n\n0,0",
|
||||
"3,11\n\n\n0,0",
|
||||
{
|
||||
"x": 0.25,
|
||||
"w": 2
|
||||
},
|
||||
"3,11\n\n\n0,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.75
|
||||
},
|
||||
"1,0\n\n\n3,0",
|
||||
"1,1",
|
||||
"1,2",
|
||||
"1,3",
|
||||
"1,4",
|
||||
"1,5",
|
||||
"1,6",
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9",
|
||||
"1,10",
|
||||
{
|
||||
"w": 1.75
|
||||
},
|
||||
"1,11",
|
||||
{
|
||||
"x": 0.25,
|
||||
"w": 1.25,
|
||||
"w2": 1.75,
|
||||
"l": true
|
||||
},
|
||||
"1,0\n\n\n3,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"2,0",
|
||||
"2,1",
|
||||
"2,2",
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6",
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10\n\n\n2,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"2,11\n\n\n2,0",
|
||||
{
|
||||
"x": 0.25,
|
||||
"w": 2.25
|
||||
},
|
||||
"2,11\n\n\n2,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"3,0\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,0",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"3,2\n\n\n1,0",
|
||||
{
|
||||
"w": 2.25
|
||||
},
|
||||
"3,3\n\n\n1,0",
|
||||
{
|
||||
"w": 2.75
|
||||
},
|
||||
"3,6\n\n\n1,0",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"3,8\n\n\n1,0",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,9\n\n\n1,0",
|
||||
{
|
||||
"w": 1.5
|
||||
},
|
||||
"3,10\n\n\n1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.25,
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,2\n\n\n1,1",
|
||||
{
|
||||
"w": 3
|
||||
},
|
||||
"3,3\n\n\n1,1",
|
||||
{
|
||||
"w": 3
|
||||
},
|
||||
"3,6\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,8\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,9\n\n\n1,1",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,10\n\n\n1,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,2\n\n\n1,2",
|
||||
{
|
||||
"w": 6
|
||||
},
|
||||
"3,5\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,8\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,9\n\n\n1,2",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,10\n\n\n1,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,0\n\n\n1,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,1\n\n\n1,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,2\n\n\n1,3",
|
||||
{
|
||||
"w": 6.25
|
||||
},
|
||||
"3,5\n\n\n1,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,8\n\n\n1,3",
|
||||
"3,9\n\n\n1,3",
|
||||
{
|
||||
"w": 1.25
|
||||
},
|
||||
"3,10\n\n\n1,3"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user