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

VIA Support: 1upkeyboards Sweet16 #8652

Merged
merged 2 commits into from
Apr 4, 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
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "config_common.h"

/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
#define VENDOR_ID 0x6F75 // OU
#define MANUFACTURER 1up Keyboards
#define PRODUCT Sweet16
#define DESCRIPTION 4x4 grid
Expand Down
37 changes: 37 additions & 0 deletions keyboards/1upkeyboards/sweet16/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#include QMK_KEYBOARD_H


const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ortho_4x4(
KC_7, KC_8, KC_9, KC_ASTR,
KC_4, KC_5, KC_6, KC_SLSH,
KC_1, KC_2, KC_3, KC_MINS,
KC_0, KC_ENT, KC_DOT, MO(1)
),

[1] = LAYOUT_ortho_4x4(
RESET, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),

[2] = LAYOUT_ortho_4x4(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),

[3] = LAYOUT_ortho_4x4(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),

};




2 changes: 2 additions & 0 deletions keyboards/1upkeyboards/sweet16/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "config_common.h"

/* USB Device descriptor parameter */
#define PRODUCT_ID 0x2010
#define PRODUCT_ID 0x0161
#define DEVICE_VER 0x0001

/* key matrix pins */
Expand Down
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/v2/promicro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "config_common.h"

/* USB Device descriptor parameter */
#define PRODUCT_ID 0x2011
#define PRODUCT_ID 0x0162
#define DEVICE_VER 0x0001

/* key matrix pins */
Expand Down
2 changes: 1 addition & 1 deletion keyboards/1upkeyboards/sweet16/v2/proton_c/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "config_common.h"

/* USB Device descriptor parameter */
#define PRODUCT_ID 0x2011
#define PRODUCT_ID 0x0162
#define DEVICE_VER 0x0001

/* key matrix pins */
Expand Down