Skip to content

Commit

Permalink
feat: vial keymap for humble40 (#828)
Browse files Browse the repository at this point in the history
* Add Vial keymap

* refactor: modernize vial keymap

---------

Co-authored-by: joedinkle <eodkeyboards@gmail.com>
  • Loading branch information
lesshonor and joedinkle authored Dec 18, 2024
1 parent d2e952e commit e7999ba
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 0 deletions.
8 changes: 8 additions & 0 deletions keyboards/eyeohdesigns/humble40/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID {0x4A, 0x67, 0x58, 0x4B, 0x93, 0xAC, 0xD7, 0x5B}

#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 11 }
32 changes: 32 additions & 0 deletions keyboards/eyeohdesigns/humble40/keymaps/vial/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": 1,
"keyboard": "eyeohdesigns/humble40",
"keymap": "vial",
"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",
"KC_TAB", "KC_A", "KC_S", "KC_D", "KC_F", "KC_G", "KC_H", "KC_J", "KC_K", "KC_L", "KC_SCLN", "KC_ENT",
"KC_LSFT", "KC_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "RSFT_T(KC_SLSH)", "KC_RSFT",
"KC_LCTL", "KC_LGUI", "KC_LALT", "LT(1,KC_SPC)", "LT(1,KC_SPC)", "KC_RGUI", "KC_RALT", "MO(2)"
],
[
"KC_TRNS", "KC_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "KC_DEL",
"KC_CAPS", "KC_GRV", "KC_LBRC", "KC_RBRC", "KC_MINS", "KC_TRNS", "KC_TRNS", "KC_EQL", "KC_BSLS", "KC_SCLN", "KC_TRNS", "KC_QUOT",
"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_UP", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS",
"KC_TRNS", "KC_LEFT", "KC_DOWN", "KC_RGHT", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS",
"KC_TRNS", "BL_TOGG", "BL_BRTG", "BL_STEP", "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": {
"via": true,
"vial": true
}
}
}
174 changes: 174 additions & 0 deletions keyboards/eyeohdesigns/humble40/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
{
"lighting": "qmk_backlight",
"matrix": {
"rows": 4,
"cols": 12
},
"layouts": {
"labels":[
"Standard Stagger",
"Normie Enter",
[
"Bottom Row",
"2u/2.25u",
"3u",
"6u",
"6.25u"
]
],
"keymap":[
[
"0,0",
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
{
"w": 1.5
},
"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",
"1,10\n\n\n1,0",
{
"w": 1.25
},
"1,11\n\n\n1,0",
{
"x": 0.5,
"w": 2.25
},
"1,11\n\n\n1,1"
],
[
{
"w": 1.5
},
"2,0\n\n\n0,0",
"2,1\n\n\n0,0",
"2,2\n\n\n0,0",
"2,3\n\n\n0,0",
"2,4\n\n\n0,0",
"2,5\n\n\n0,0",
"2,6\n\n\n0,0",
"2,7\n\n\n0,0",
"2,8\n\n\n0,0",
"2,9\n\n\n0,0",
"2,10\n\n\n0,0",
"2,11\n\n\n0,0",
{
"x": 0.5,
"w": 1.75
},
"2,0\n\n\n0,1",
"2,1\n\n\n0,1",
"2,2\n\n\n0,1",
"2,3\n\n\n0,1",
"2,4\n\n\n0,1",
"2,5\n\n\n0,1",
"2,6\n\n\n0,1",
"2,7\n\n\n0,1",
"2,8\n\n\n0,1",
"2,9\n\n\n0,1",
{
"w": 1.75
},
"2,10\n\n\n0,1"
],
[
{
"w": 1.25
},
"3,0",
{
"x": 0.75,
"w": 1.25
},
"3,1\n\n\n2,0",
"3,2\n\n\n2,0",
{
"w": 2
},
"3,3\n\n\n2,0",
{
"w": 2.25
},
"3,6\n\n\n2,0",
"3,7\n\n\n2,0",
"3,9\n\n\n2,0",
{
"x": 0.75,
"w": 1.25
},
"3,11"
],
[
{
"x": 2,
"w": 1.25
},
"3,1\n\n\n2,1",
{
"w": 3
},
"3,3\n\n\n2,1",
{
"w": 3
},
"3,6\n\n\n2,1",
{
"w": 1.25
},
"3,9\n\n\n2,1"
],
[
{
"x": 2,
"w": 1.25
},
"3,1\n\n\n2,2",
{
"w": 6
},
"3,6\n\n\n2,2",
{
"w": 1.25
},
"3,9\n\n\n2,2"
],
[
{
"x": 2
},
"3,1\n\n\n2,3",
{
"w": 6.25
},
"3,6\n\n\n2,3",
{
"w": 1.25
},
"3,9\n\n\n2,3"
]
]
}
}

0 comments on commit e7999ba

Please sign in to comment.