From b3e7a4e798080563d64527e3fe9d6475ba375d94 Mon Sep 17 00:00:00 2001 From: Yu Hao Wong <54234367+wongyuhao@users.noreply.github.com> Date: Thu, 30 Jul 2020 06:15:53 +0800 Subject: Added Via keymap to Spaceman 2% Milk (#9484) * added via support to spaceman 2% milk * changed kc trns in layers 1-3 * changed vendor and product ID per creator suggestion --- keyboards/spaceman/2_milk/keymaps/via/keymap.c | 20 ++++++++++++++++++++ keyboards/spaceman/2_milk/keymaps/via/readme.md | 2 ++ keyboards/spaceman/2_milk/keymaps/via/rules.mk | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 keyboards/spaceman/2_milk/keymaps/via/keymap.c create mode 100644 keyboards/spaceman/2_milk/keymaps/via/readme.md create mode 100644 keyboards/spaceman/2_milk/keymaps/via/rules.mk (limited to 'keyboards/spaceman/2_milk/keymaps/via') diff --git a/keyboards/spaceman/2_milk/keymaps/via/keymap.c b/keyboards/spaceman/2_milk/keymaps/via/keymap.c new file mode 100644 index 0000000000..c848d9cb5a --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/via/keymap.c @@ -0,0 +1,20 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_Z, + KC_X + ), + [1] = LAYOUT( + _______, + _______ + ), + [2] = LAYOUT( + _______, + _______ + ), + [3] = LAYOUT( + _______, + _______ + ) +}; diff --git a/keyboards/spaceman/2_milk/keymaps/via/readme.md b/keyboards/spaceman/2_milk/keymaps/via/readme.md new file mode 100644 index 0000000000..4482bce34a --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/via/readme.md @@ -0,0 +1,2 @@ +# Default keymap for 2% Milk +![Picture](https://i.imgur.com/9PsZ6wa.png) diff --git a/keyboards/spaceman/2_milk/keymaps/via/rules.mk b/keyboards/spaceman/2_milk/keymaps/via/rules.mk new file mode 100644 index 0000000000..43061db1dd --- /dev/null +++ b/keyboards/spaceman/2_milk/keymaps/via/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +LTO_ENABLE = yes \ No newline at end of file -- cgit v1.2.3