diff --git a/keyboards/spaceman/2_milk/keymaps/vial/config.h b/keyboards/spaceman/2_milk/keymaps/vial/config.h new file mode 100644 index 00000000000..76a196c1384 --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/vial/config.h @@ -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 diff --git a/keyboards/spaceman/2_milk/keymaps/vial/keymap.c b/keyboards/spaceman/2_milk/keymaps/vial/keymap.c new file mode 100644 index 00000000000..02bc67b9f8d --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/vial/keymap.c @@ -0,0 +1,8 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_Z, + KC_X + ) +}; diff --git a/keyboards/spaceman/2_milk/keymaps/vial/rules.mk b/keyboards/spaceman/2_milk/keymaps/vial/rules.mk new file mode 100644 index 00000000000..7de9783aed3 --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/vial/rules.mk @@ -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 diff --git a/keyboards/spaceman/2_milk/keymaps/vial/vial.json b/keyboards/spaceman/2_milk/keymaps/vial/vial.json new file mode 100644 index 00000000000..027c36e2384 --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/vial/vial.json @@ -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"]] + } +}