summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/spaceman/2_milk/config.h4
-rw-r--r--keyboards/spaceman/2_milk/keymaps/via/keymap.c20
-rw-r--r--keyboards/spaceman/2_milk/keymaps/via/readme.md2
-rw-r--r--keyboards/spaceman/2_milk/keymaps/via/rules.mk2
4 files changed, 26 insertions, 2 deletions
diff --git a/keyboards/spaceman/2_milk/config.h b/keyboards/spaceman/2_milk/config.h
index 49211535d0..e30243ae1e 100644
--- a/keyboards/spaceman/2_milk/config.h
+++ b/keyboards/spaceman/2_milk/config.h
@@ -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
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