Skip to content

Commit

Permalink
add to vial for v
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleepdealr committed Mar 17, 2024
1 parent 691b463 commit 85cb3e7
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 6 deletions.
2 changes: 2 additions & 0 deletions keyboards/wilba_tech/wt60_b/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#define VIAL_KEYBOARD_UID {0x02, 0xF4, 0x77, 0xC9, 0xDE, 0x56, 0x3E, 0xD5}

38 changes: 38 additions & 0 deletions keyboards/wilba_tech/wt60_b/keymaps/vial/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// Default layout for WT60-B
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

// Default layer
[0] = LAYOUT_60_tsangan_hhkb(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, TL_LOWR,
KC_NO, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, TL_UPPR, KC_NO),

// Fn1 Layer
[1] = LAYOUT_60_tsangan_hhkb(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL,
KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, KC_TRNS, KC_TRNS,
KC_TRNS, KC_VOLD, KC_VOLU, KC_MUTE, KC_EJCT, KC_TRNS, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),

// Fn2 Layer
[2] = LAYOUT_60_tsangan_hhkb(
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, 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, 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, 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),

// Fn3 Layer (zeal60 Configuration)
[3] = LAYOUT_60_tsangan_hhkb(
KC_TRNS, EF_DEC, EF_INC, H1_DEC, H1_INC, H2_DEC, H2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, BR_DEC, BR_INC, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, S1_DEC, S1_INC, S2_DEC, S2_INC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, ES_DEC, ES_INC, 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, 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, KC_TRNS, KC_TRNS),

};
4 changes: 4 additions & 0 deletions keyboards/wilba_tech/wt60_b/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIAL_INSECURE = yes
LTO_ENABLE = yes
114 changes: 114 additions & 0 deletions keyboards/wilba_tech/wt60_b/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"name": "WT60-B",
"vendorId": "0x6582",
"productId": "0x60b0",
"matrix": {"rows": 5, "cols": 14},
"layouts": {
"labels": [["Bottom Row", "HHKB", "Full"]],
"keymap": [
[
{"c": "#888888"},
"0,0",
{"c": "#cccccc"},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
"0,13",
"2,13"
],
[
{"c": "#aaaaaa", "w": 1.5},
"1,0",
{"c": "#cccccc"},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{"c": "#aaaaaa", "w": 1.5},
"1,13"
],
[
{"w": 1.75},
"2,0",
{"c": "#cccccc"},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
{"c": "#888888", "w": 2.25},
"2,12"
],
[
{"c": "#aaaaaa", "w": 2.25},
"3,0",
{"c": "#cccccc"},
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{"c": "#aaaaaa", "w": 1.75},
"3,12",
"3,13"
],
[
{"c": "#cccccc", "w": 1.5, "d": true},
"\n\n\n0,0",
{"c": "#aaaaaa"},
"4,1\n\n\n0,0",
{"w": 1.5},
"4,2\n\n\n0,0",
{"c": "#cccccc", "w": 7},
"4,7\n\n\n0,0",
{"c": "#aaaaaa", "w": 1.5},
"4,11\n\n\n0,0",
"4,12\n\n\n0,0",
{"c": "#cccccc", "w": 1.5, "d": true},
"\n\n\n0,0"
],
[
{"y": 0.25, "c": "#aaaaaa", "w": 1.5},
"4,0\n\n\n0,1",
"4,1\n\n\n0,1",
{"w": 1.5},
"4,2\n\n\n0,1",
{"c": "#cccccc", "w": 7},
"4,7\n\n\n0,1",
{"c": "#aaaaaa", "w": 1.5},
"4,11\n\n\n0,1",
"4,12\n\n\n0,1",
{"w": 1.5},
"4,13\n\n\n0,1"
]
]
}
}
12 changes: 6 additions & 6 deletions keyboards/wilba_tech/wt60_b/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.

CIE1931_CURVE = yes
# CIE1931_CURVE = yes

# project specific files
SRC = keyboards/wilba_tech/wt_main.c \
keyboards/wilba_tech/wt_rgb_backlight.c \
quantum/color.c \
drivers/led/issi/is31fl3731.c \
i2c_master.c
# SRC = keyboards/wilba_tech/wt_main.c \
# keyboards/wilba_tech/wt_rgb_backlight.c \
# quantum/color.c \
# drivers/led/issi/is31fl3731.c \
# i2c_master.c

0 comments on commit 85cb3e7

Please sign in to comment.