Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Via keymap to Spaceman 2% Milk #9484

Merged
merged 5 commits into from
Jul 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keyboards/spaceman/2_milk/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0xB195
#define VENDOR_ID 0x5342 // "SB"
#define PRODUCT_ID 0x3225 // "2%"
#define DEVICE_VER 0x0001
#define MANUFACTURER Spaceman
#define PRODUCT 2% Milk
Expand Down
20 changes: 20 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -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(
_______,
_______
)
};
2 changes: 2 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/via/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default keymap for 2% Milk
![Picture](https://i.imgur.com/9PsZ6wa.png)
2 changes: 2 additions & 0 deletions keyboards/spaceman/2_milk/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes