Added initial Vial support for Boardsource 3x4 (#375)
This commit is contained in:
parent
db572f8998
commit
f71ee6074f
7
keyboards/boardsource/3x4/keymaps/vial/config.h
Normal file
7
keyboards/boardsource/3x4/keymaps/vial/config.h
Normal 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 }
|
16
keyboards/boardsource/3x4/keymaps/vial/keymap.c
Normal file
16
keyboards/boardsource/3x4/keymaps/vial/keymap.c
Normal 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
|
||||||
|
)
|
||||||
|
};
|
3
keyboards/boardsource/3x4/keymaps/vial/rules.mk
Normal file
3
keyboards/boardsource/3x4/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
VIA_ENABLE = yes
|
||||||
|
VIAL_ENABLE = yes
|
||||||
|
LTO_ENABLE = yes
|
14
keyboards/boardsource/3x4/keymaps/vial/vial.json
Normal file
14
keyboards/boardsource/3x4/keymaps/vial/vial.json
Normal 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"]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user