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

Bear65 Rev2 Port to Vial #497

Merged
merged 2 commits into from
Jul 22, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 9 additions & 0 deletions keyboards/jacky_studio/bear_65/rev2/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID {0xFE, 0xA3, 0x9F, 0x8D, 0xA2, 0x98, 0xB3, 0xF8}

#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 13 }

48 changes: 48 additions & 0 deletions keyboards/jacky_studio/bear_65/rev2/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Copyright 2020 MudkipMao
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_full_bs(
KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_full_bs(
QK_BOOT, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
RGB_MOD, _______, KC_BRID, KC_BRIU, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, RGB_VAI, _______,
RGB_TOG, _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______,_______
),
[2] = LAYOUT_full_bs(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______,_______
),
[3] = LAYOUT_full_bs(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______,_______
)
};
7 changes: 7 additions & 0 deletions keyboards/jacky_studio/bear_65/rev2/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
QMK_SETTINGS = yes
TAP_DANCE_ENABLE = yes
MOUSEKEY_ENABLE = no
230 changes: 230 additions & 0 deletions keyboards/jacky_studio/bear_65/rev2/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
{
"name": "BEAR V2",
"vendorId": "0x45D4",
"productId": "0x0428",
"lighting": "qmk_rgblight",
"matrix": {"rows": 5, "cols": 15 },
"layouts": {
"labels": ["Full Backspace", "WKL"],
"keymap":

[
[
{
"y": 0.75,
"x": 5.75
},
"0,2\n2"
],
[
{
"y": -0.95,
"x": 15.65
},
"0,11\n-"
],
[
{
"y": -0.8,
"x": 2.5
},
"3,1",
{
"x": 0.25
},
"0,0\n`",
"0,1\n1",
{
"x": 11
},
"0,12\n=",
"0,13\n\n\n0,0",
"0,14\n\n\n0,0",
{
"x": 1
},
"4,14",
{"x": 1, "w": 2},
"0,13\n\n\n0,1"
],
[
{
"x": 2.25
},
"1,14",
{
"x": 0.25,
"w": 1.5
},
"1,0",
"1,1",
{
"x": 9.5
},
"1,10",
"1,11\n[",
"1,12\n]",
{
"w": 1.5
},
"1,13\n\\"
],
[
{
"x": 2
},
"2,14",
{
"x": 0.25,
"w": 1.75
},
"2,0",
"2,1",
{
"x": 10
},
"2,10\n;",
"2,11\n'",
{
"w": 2.25
},
"2,13"
],
[
{
"x": 3,
"w": 2.25
},
"3,0",
"3,2",
{
"x": 9.5
},
"3,11\n.",
"3,12\n/",
{
"w": 1.75
},
"3,13",
"3,14"
],
[
{
"x": 3,
"w": 1.5
},
"4,0",
"4,1\n\n\n1,0",
{
"x": 10
},
"4,10\n\n\n1,0",
{
"x": 2
},
"4,11",
"4,12",
"4,13"
],
[
{
"r": 10,
"rx": 1,
"x": 6
},
"0,3\n3",
"0,4\n4",
"0,5\n5",
"0,6\n6"
],
[
{
"x": 5.5
},
"1,2",
"1,3",
"1,4",
"1,5"
],
[
{
"x": 5.75
},
"2,2",
"2,3",
"2,4",
"2,5"
],
[
{
"x": 6.25
},
"3,3",
"3,4",
"3,5",
"3,6"
],
[
{
"x": 6,
"w": 1.5
},
"4,3",
{
"w": 2
},
"4,5",
"4,6"
],
[
{
"r": -10,
"y": -1.5,
"x": 10
},
"0,7\n7",
"0,8\n8",
"0,9\n9",
"0,10\n0"
],
[
{
"x": 9.5
},
"1,6",
"1,7",
"1,8",
"1,9"
],
[
{
"x": 9.75
},
"2,6",
"2,7",
"2,8",
"2,9"
],
[
{
"x": 9.25
},
"3,7",
"3,8",
"3,9",
"3,10\n,"
],
[
{
"x": 9.25,
"w": 2.75
},
"4,8",
{
"w": 1.25
},
"4,9"
]
]
}
}