Skip to content

Commit

Permalink
feat: vial keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
lesshonor committed Jan 30, 2024
1 parent 84f9766 commit 1b0f62e
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
8 changes: 8 additions & 0 deletions keyboards/mechwild/bb40/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Copyright 2024 Vial Contributors (@vial-kb)
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#define VIAL_KEYBOARD_UID {0x5A, 0xB4, 0x5D, 0x11, 0x2C, 0x4B, 0x6A, 0x2B}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 11 }
44 changes: 44 additions & 0 deletions keyboards/mechwild/bb40/keymaps/vial/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"keyboard": "mechwild/bb40",
"keymap": "vial",
"version": 1,
"layout": "LAYOUT_all",
"layers": [
[
"KC_ESC", "KC_Q", "KC_W", "KC_E", "KC_R", "KC_T", "KC_Y", "KC_U", "KC_I", "KC_O", "KC_P", "KC_BSPC",
"MO(1)", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_ENT",
"KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "RSFT_T(KC_COMM)", "KC_UP", "LT(2,KC_DOT)",
"KC_LCTL", "KC_LGUI", "KC_LALT", "KC_SPC", "LT(1,KC_SPC)", "KC_SPC", "KC_LEFT", "KC_DOWN", "KC_RIGHT", "KC_MUTE"
],
[
"KC_TRNS", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_TRNS",
"KC_TRNS", "KC_GRV", "KC_LBRC", "KC_RBRC", "KC_MINS", "KC_TRNS", "KC_TRNS", "KC_EQL", "KC_BSLS", "KC_SCLN", "KC_QUOT",
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_SLSH",
"KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS"
],
[
"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_CAPS", "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"
]
],
"config": {
"features": {
"encoder_map": true,
"via": true,
"vial": true
}
},
"encoders": [
[
{"ccw": "KC_VOLD", "cw": "KC_VOLU"}
],
[
{"ccw": "KC_TRNS", "cw": "KC_TRNS"}
],
[
{"ccw": "KC_TRNS", "cw": "KC_TRNS"}
]
]
}
17 changes: 17 additions & 0 deletions keyboards/mechwild/bb40/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"lighting": "none",
"matrix": {"rows": 4, "cols": 12},
"layouts": {
"labels": [
"No Arrows",
"Full Space"
],
"keymap": [
["0,0","0,1","0,2","0,3","0,4","0,5","0,6","0,7","0,8","0,9","0,10","0,11"],
[{"w":1.25},"1,0","1,1","1,2","1,3","1,4","1,5","1,6","1,7","1,8","1,9",{"w":1.75},"1,11"],
[{"w":1.75},"2,0","2,2","2,3","2,4","2,5","2,6","2,7","2,8",{"w":1.25},"2,9\n\n\n0,0","2,10\n\n\n0,0","2,11\n\n\n0,0",{"x":0.25},"0,0\n\n\n\n\n\n\n\n\ne","0,1\n\n\n\n\n\n\n\n\ne",{"x":0.25},"2,9\n\n\n0,1","2,10\n\n\n0,1",{"w":1.25},"2,11\n\n\n0,1"],
["3,0","3,1","3,2",{"w":2.25},"3,4\n\n\n1,0","3,6\n\n\n1,0",{"w":2.75},"3,7\n\n\n1,0","3,8","3,9","3,10",{"x":0.75},"3,11"],
[{"x":3,"w":6},"3,6\n\n\n1,1"]
]
}
}

0 comments on commit 1b0f62e

Please sign in to comment.