mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 16:37:58 +06:00
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
This commit is contained in:
parent
0091897cc8
commit
b3e7a4e798
|
@ -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
|
||||
|
|
20
keyboards/spaceman/2_milk/keymaps/via/keymap.c
Normal file
20
keyboards/spaceman/2_milk/keymaps/via/keymap.c
Normal file
|
@ -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
keyboards/spaceman/2_milk/keymaps/via/readme.md
Normal file
2
keyboards/spaceman/2_milk/keymaps/via/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Default keymap for 2% Milk
|
||||
![Picture](https://i.imgur.com/9PsZ6wa.png)
|
2
keyboards/spaceman/2_milk/keymaps/via/rules.mk
Normal file
2
keyboards/spaceman/2_milk/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
Loading…
Reference in New Issue
Block a user