Merge pull request #539 from Lenbok/vial-support-for-2_milk-keyboard
Port support for spaceman 2% milk macropad
This commit is contained in:
commit
88dc61bbbf
9
keyboards/spaceman/2_milk/keymaps/vial/config.h
Normal file
9
keyboards/spaceman/2_milk/keymaps/vial/config.h
Normal file
@ -0,0 +1,9 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x50, 0xB8, 0x6D, 0x63, 0x19, 0xE1, 0xC6, 0xEC}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 0 }
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
8
keyboards/spaceman/2_milk/keymaps/vial/keymap.c
Normal file
8
keyboards/spaceman/2_milk/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[0] = LAYOUT(
|
||||
KC_Z,
|
||||
KC_X
|
||||
)
|
||||
};
|
8
keyboards/spaceman/2_milk/keymaps/vial/rules.mk
Normal file
8
keyboards/spaceman/2_milk/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,8 @@
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
|
||||
VIA_ENABLE = yes # Enable VIA
|
||||
VIAL_ENABLE = yes # Enable VIAL
|
||||
OLED_ENABLE = no
|
||||
LTO_ENABLE = yes
|
||||
QMK_SETTINGS = no
|
||||
COMBO_ENABLE = yes
|
13
keyboards/spaceman/2_milk/keymaps/vial/vial.json
Normal file
13
keyboards/spaceman/2_milk/keymaps/vial/vial.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "spaceman_2_milk",
|
||||
"vendorId": "0x5342",
|
||||
"productId": "0x3225",
|
||||
"lighting": "qmk_rgblight",
|
||||
"matrix": {
|
||||
"rows": 2,
|
||||
"cols": 1
|
||||
},
|
||||
"layouts": {
|
||||
"keymap": [["0,0"], ["1,0"]]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user