Skip to content

Commit

Permalink
Port support for spaceman 2% milk macropad
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenbok committed Sep 10, 2023
1 parent fbf1c16 commit b04652c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
9 changes: 9 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -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 changes: 8 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
KC_Z,
KC_X
)
};
8 changes: 8 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -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"]]
}
}

0 comments on commit b04652c

Please sign in to comment.