add basic ymdk ymd09 vial support (#125)

add file:     keyboards/ymdk/ymd09/keymaps/vial/config.h
add file:     keyboards/ymdk/ymd09/keymaps/vial/keymap.c
add file:     keyboards/ymdk/ymd09/keymaps/vial/readme.md
add file:     keyboards/ymdk/ymd09/keymaps/vial/rules.mk
add file:     keyboards/ymdk/ymd09/keymaps/vial/vial.json
This commit is contained in:
wadrian 2022-03-05 06:27:39 +01:00 committed by GitHub
parent 8036dc88b8
commit adef73a790
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,11 @@
/* Vial configuration */
#pragma once
#define VIAL_KEYBOARD_UID {0x44, 0x71, 0x9C, 0x1D, 0x1A, 0xCF, 0x55, 0xDA}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
/* VIAL_INSECURE = yes */

View File

@ -0,0 +1,20 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(KC_KP_7, KC_KP_8, KC_KP_9,
KC_KP_4, LT(1, KC_KP_5), KC_KP_6,
KC_KP_1, KC_KP_2, KC_KP_3),
[1] = LAYOUT(RGB_RMOD, RGB_VAI, RGB_MOD,
RGB_HUI, RESET, RGB_SAI,
RGB_HUD, RGB_VAD, RGB_SAD),
[2] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS),
[3] = LAYOUT(KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS),
};

View File

@ -0,0 +1,3 @@
Vial Support for YMDK YMD09
make ymdk/ymd09:vial

View File

@ -0,0 +1,5 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
LTO_ENABLE = yes
QMK_SETTINGS = no
TAP_DANCE_ENABLE = no

View File

@ -0,0 +1,29 @@
{
"name": "YMDK YMD09",
"vendorId": "0x594D",
"productId": "0x4409",
"lighting": "qmk_rgblight",
"matrix" : {
"rows": 3,
"cols": 3
},
"layouts" : {
"keymap" : [
[
"0,0",
"0,1",
"0,2"
],
[
"1,0",
"1,1",
"1,2"
],
[
"2,0",
"2,1",
"2,2"
]
]
}
}