From e7999baf17980527aab54363564f3fcdb2bc93da Mon Sep 17 00:00:00 2001 From: Less/Rikki <86894501+lesshonor@users.noreply.github.com> Date: Wed, 18 Dec 2024 01:21:27 -0500 Subject: [PATCH] feat: vial keymap for humble40 (#828) * Add Vial keymap * refactor: modernize vial keymap --------- Co-authored-by: joedinkle --- .../humble40/keymaps/vial/config.h | 8 + .../humble40/keymaps/vial/keymap.json | 32 ++++ .../humble40/keymaps/vial/vial.json | 174 ++++++++++++++++++ 3 files changed, 214 insertions(+) create mode 100644 keyboards/eyeohdesigns/humble40/keymaps/vial/config.h create mode 100644 keyboards/eyeohdesigns/humble40/keymaps/vial/keymap.json create mode 100644 keyboards/eyeohdesigns/humble40/keymaps/vial/vial.json diff --git a/keyboards/eyeohdesigns/humble40/keymaps/vial/config.h b/keyboards/eyeohdesigns/humble40/keymaps/vial/config.h new file mode 100644 index 0000000000..7315a8ad45 --- /dev/null +++ b/keyboards/eyeohdesigns/humble40/keymaps/vial/config.h @@ -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 } diff --git a/keyboards/eyeohdesigns/humble40/keymaps/vial/keymap.json b/keyboards/eyeohdesigns/humble40/keymaps/vial/keymap.json new file mode 100644 index 0000000000..2c227c072f --- /dev/null +++ b/keyboards/eyeohdesigns/humble40/keymaps/vial/keymap.json @@ -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 + } + } +} diff --git a/keyboards/eyeohdesigns/humble40/keymaps/vial/vial.json b/keyboards/eyeohdesigns/humble40/keymaps/vial/vial.json new file mode 100644 index 0000000000..a8f8dc9461 --- /dev/null +++ b/keyboards/eyeohdesigns/humble40/keymaps/vial/vial.json @@ -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" + ] + ] + } +}