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:
parent
8036dc88b8
commit
adef73a790
11
keyboards/ymdk/ymd09/keymaps/vial/config.h
Normal file
11
keyboards/ymdk/ymd09/keymaps/vial/config.h
Normal 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 */
|
20
keyboards/ymdk/ymd09/keymaps/vial/keymap.c
Normal file
20
keyboards/ymdk/ymd09/keymaps/vial/keymap.c
Normal 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),
|
||||||
|
};
|
3
keyboards/ymdk/ymd09/keymaps/vial/readme.md
Normal file
3
keyboards/ymdk/ymd09/keymaps/vial/readme.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Vial Support for YMDK YMD09
|
||||||
|
|
||||||
|
make ymdk/ymd09:vial
|
5
keyboards/ymdk/ymd09/keymaps/vial/rules.mk
Normal file
5
keyboards/ymdk/ymd09/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
VIA_ENABLE = yes
|
||||||
|
VIAL_ENABLE = yes
|
||||||
|
LTO_ENABLE = yes
|
||||||
|
QMK_SETTINGS = no
|
||||||
|
TAP_DANCE_ENABLE = no
|
29
keyboards/ymdk/ymd09/keymaps/vial/vial.json
Normal file
29
keyboards/ymdk/ymd09/keymaps/vial/vial.json
Normal 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"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user