port levinson rev3 ()

This commit is contained in:
Dong Zhou 2023-03-06 22:28:41 -05:00 committed by GitHub
parent 01eec6822c
commit d40247bb29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 212 additions and 0 deletions
keyboards/keebio/levinson/rev3/keymaps/vial

View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0xB4, 0x43, 0xB6, 0x95, 0x95, 0xB9, 0x9E, 0x34}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1}
#define VIAL_UNLOCK_COMBO_COLS { 0, 0 }

View file

@ -0,0 +1,46 @@
/*
Copyright 2020 Danny Nguyen <danny@keeb.io>
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_ortho_4x12(
KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC,
LCTL_T(KC_ESC), KC_A, KC_R, KC_S, KC_T, KC_G, KC_K, KC_N, KC_E, KC_I, KC_O, RSFT_T(KC_ENT),
LSFT_T(KC_GRV), KC_Z, KC_X, KC_C, KC_D, KC_V, KC_M, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT,
MO(2), SGUI(KC_LBRC), TG(1), KC_LGUI, _______, LT(3, KC_ENT), LT(1, KC_SPC), _______, RALT_T(KC_LEFT), RSFT_T(KC_DOWN), RGUI_T(KC_UP), RCTL_T(KC_RIGHT)
),
[1] = LAYOUT_ortho_4x12(
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_TRNS,
KC_TAB, KC_LBRC, KC_RBRC, KC_LPRN, KC_RPRN, KC_TRNS, KC_PLUS, KC_1, KC_2, KC_3, KC_ASTR, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MINS, KC_EQL, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, _______, KC_0, KC_SPC, _______, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
[2] = LAYOUT_ortho_4x12(
KC_BTN1, KC_BTN2, _______, SGUI(KC_LBRC), SGUI(KC_RBRC), _______, KC_PGUP, KC_HOME, KC_UP, KC_END, KC_COLN, RALT(KC_BSPC),
KC_TRNS, _______, _______, _______, KC_BSPC, _______, KC_PGDN, KC_LEFT, KC_DOWN, KC_RIGHT, KC_ENT, RALT(KC_D),
KC_TRNS, _______, _______, _______, _______, _______, _______, RALT(KC_LEFT), RALT(KC_RIGHT), _______, RALT(KC_B), RALT(KC_F),
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, _______, LALT(KC_DEL), KC_DEL, _______, KC_MS_L, KC_MS_D, KC_MS_U, KC_MS_R
),
[3] = LAYOUT_ortho_4x12(
KC_TILD, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, _______, KC_TRNS, KC_TRNS,
KC_CAPS, KC_LBRC, KC_RBRC, KC_LPRN, KC_RPRN, _______, KC_PLUS, KC_DLR, KC_PIPE, KC_BSLS, KC_DQT, KC_TRNS,
KC_TRNS, KC_BRID, KC_BRIU, KC_VOLD, KC_VOLU, KC_MUTE, KC_MINS, KC_EQL, KC_LT, KC_GT, KC_QUES, KC_TRNS,
KC_TRNS, KC_TRNS, QK_BOOT, _______, _______, KC_TRNS, KC_UNDS, _______, KC_WH_L, KC_WH_D, KC_WH_U, KC_WH_R
)
};

View file

@ -0,0 +1,28 @@
NO_USB_STARTUP_CHECK = yes
MOUSEKEY_ENABLE = yes
EXTRAKEY_ENABLE = yes
AUTO_SHIFT_ENABLE = yes
COMBO_ENABLE = yes
NKRO_ENABLE = no
RGBLIGHT_ENABLE = no
BACKLIGHT_ENABLE = no
MIDI_ENABLE = no
AUDIO_ENABLE = no
BLUETOOTH_ENABLE = no
LTO_ENABLE = yes
CONSOLE_ENABLE = no
COMMAND_ENABLE = no
VIA_ENABLE = yes
VIAL_ENABLE = yes
QMK_SETTINGS = yes
TAP_DANCE_ENABLE = yes
KEY_OVERRIDE_ENABLE = no

View file

@ -0,0 +1,129 @@
{
"name": "Levinson Rev. 3",
"vendorId": "0xCB10",
"productId": "0x3146",
"lighting": "qmk_backlight_rgblight",
"matrix": {"rows": 8, "cols": 6},
"layouts": {
"labels": [
["Left Space", "1u", "2u"],
["Right Space", "1u", "2u"]
],
"keymap": [
[
{
"c": "#aaaaaa"
},
"0,0",
{
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
{
"x": 1
},
"4,5",
"4,4",
"4,3",
"4,2",
"4,1",
{
"c": "#aaaaaa"
},
"4,0"
],
[
{
"c": "#777777"
},
"1,0",
{
"c": "#cccccc"
},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
{
"x": 1
},
"5,5",
"5,4",
"5,3",
"5,2",
"5,1",
{
"c": "#aaaaaa"
},
"5,0"
],
[
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
{
"x": 1
},
"6,5",
"6,4",
"6,3",
"6,2",
"6,1",
{
"c": "#777777"
},
"6,0"
],
[
{
"c": "#aaaaaa"
},
"3,0",
"3,1",
"3,2",
"3,3",
"3,4\n\n\n0,0",
{
"c": "#cccccc"
},
"3,5\n\n\n0,0",
{
"x": 1
},
"7,5\n\n\n1,0",
{
"c": "#aaaaaa"
},
"7,4\n\n\n1,0",
"7,3",
"7,2",
"7,1",
"7,0"
],
[
{
"x": 4,
"c": "#cccccc",
"w": 2
},
"3,4\n\n\n0,1",
{
"x": 1,
"w": 2
},
"7,4\n\n\n1,1"
]
]
}
}