add jotlily60 vial support (#722)

This commit is contained in:
jotix 2024-04-27 19:53:56 -03:00 committed by GitHub
parent e3687aed3b
commit db306a91d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,13 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
// Configuration for Vial
#define VIAL_KEYBOARD_UID {0x6B, 0xD2, 0xFF, 0x76, 0x26, 0xEE, 0x35, 0xE2}
// to unlock the keyboard
#define VIAL_UNLOCK_COMBO_ROWS { 0, 3 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 6 }
// number of layers
#define DYNAMIC_KEYMAP_LAYER_COUNT 4

View file

@ -0,0 +1,31 @@
// Copyright 2024 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT (
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_TAB,
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_LSFT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LCBR,KC_RCBR,KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH,KC_ENT,
KC_LALT,KC_LGUI,KC_LCTL,KC_SPC, MO(1), MO(1), KC_BSPC,KC_DEL, KC_MEH, KC_RALT
),
[1] = LAYOUT (
KC_PLUS,KC_EXLM,KC_AT, KC_HASH,KC_DLR, KC_PERC, KC_CIRC,KC_AMPR,KC_ASTR,KC_LPRN,KC_RPRN,KC_UNDS,
MO(2), 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_F13, KC_F14, KC_F15, KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,KC_BSLS,KC_DQUO,
_______,KC_VOLD,KC_MUTE,KC_VOLU,KC_GRV, KC_TILD,KC_LBRC,KC_RBRC,KC_HOME,KC_END, KC_PGUP,KC_PGDN,KC_PIPE,_______,
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______
),
[2] = LAYOUT (
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
_______,QK_BOOT,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______,
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,
_______,_______,_______,_______,_______,_______,_______,_______,_______,_______
)
};

View file

@ -0,0 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
KEY_OVERRIDE_ENABLE = no

View file

@ -0,0 +1,19 @@
{
"name": "jotlily60",
"vendorId": "0x4A4F",
"productId": "0x2332",
"matrix":
{
"rows": 10,
"cols": 7
},
"layouts": {
"keymap": [
[ "0,0", "0,1", "0,2", "0,3", "0,4", "0,5", {"x": 3}, "5,5", "5,4", "5,3", "5,2", "5,1", "5,0" ],
[ "1,0", "1,1", "1,2", "1,3", "1,4", "1,5", {"x": 3}, "6,5", "6,4", "6,3", "6,2", "6,1", "6,0" ],
[ "2,0", "2,1", "2,2", "2,3", "2,4", "2,5", {"x": 3}, "7,5", "7,4", "7,3", "7,2", "7,1", "7,0" ],
[ "3,0", "3,1", "3,2", "3,3", "3,4", "3,5", "3,6", {"x": 1}, "8,6", "8,5", "8,4", "8,3", "8,2", "8,1", "8,0" ],
[ {"x": 2}, "4,2", "4,3", "4,4", "4,5", "4,6", {"x": 1}, "9,6", "9,5", "9,4", "9,3", "9,2" ]
]
}
}