Added initial Vial support for Boardsource 3x4 (#375)

This commit is contained in:
Alex Kang 2023-02-20 11:04:16 -08:00 committed by GitHub
parent db572f8998
commit f71ee6074f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x7F, 0x20, 0xAC, 0x05, 0xB7, 0x14, 0x3F, 0xD3}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 3 }

View file

@ -0,0 +1,16 @@
// Copyright 2022 @waffle87
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_0, KC_1, KC_4, KC_7,
KC_ENT, KC_2, KC_5, KC_8,
MO(1), KC_3, KC_6, KC_9
),
[1] = LAYOUT(
_______, _______, _______, _______,
_______, _______, _______, _______,
_______, _______, _______, QK_BOOT
)
};

View file

@ -0,0 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes

View file

@ -0,0 +1,14 @@
{
"name": "3x4",
"vendorId": "0x4273",
"productId": "0x0304",
"lighting": "none",
"matrix": {"rows": 3, "cols": 4},
"layouts": {
"keymap": [
["0,0", "0,1", "0,2", "0,3"],
["1,0", "1,1", "1,2", "1,3"],
["2,0", "2,1", "2,2", "2,3"]
]
}
}