From 50cff75c8ca35aa9a71bb52375b7047388325e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D1=8F=D1=87=D0=B5=D1=81=D0=BB=D0=B0=D0=B2=20=D0=98?= =?UTF-8?q?=D1=81=D1=82=D0=BE=D0=BC=D0=B8=D0=BD?= Date: Sat, 16 Dec 2023 19:11:02 +0300 Subject: [PATCH] add keyboards/handwired/dactyl_manuform/5x6_5 (#619) Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com> --- .../5x6_5/keymaps/vial/config.h | 15 +++ .../5x6_5/keymaps/vial/keymap.c | 24 +++++ .../5x6_5/keymaps/vial/rules.mk | 13 +++ .../5x6_5/keymaps/vial/vial.json | 98 +++++++++++++++++++ 4 files changed, 150 insertions(+) create mode 100644 keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/config.h create mode 100644 keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/keymap.c create mode 100644 keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/rules.mk create mode 100644 keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/vial.json diff --git a/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/config.h b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/config.h new file mode 100644 index 0000000000..384a098335 --- /dev/null +++ b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/config.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x40, 0xFB, 0x4C, 0x76, 0x76, 0x13, 0x7F, 0xB2} + +// Vial unlock +#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 1 } + +// Vial features +#define DYNAMIC_KEYMAP_LAYER_COUNT 5 +#define VIAL_KEY_OVERRIDE_ENTRIES 8 +#define VIAL_TAP_DANCE_ENTRIES 8 +#define VIAL_COMBO_ENTRIES 8 diff --git a/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/keymap.c b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/keymap.c new file mode 100644 index 0000000000..20feaec51b --- /dev/null +++ b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/keymap.c @@ -0,0 +1,24 @@ +#include QMK_KEYBOARD_H + +#define __ _______ + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + [0] = LAYOUT_5x6_5( + KC_ESC , KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_RBRC, + 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_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOTE, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + + __ , __ , KC_LSFT , KC_LCTL , KC_LGUI, KC_DEL , KC_ENT, KC_SPC, __ , __ , + KC_LALT , MO(1) , KC_BSPC, KC_ESC ), + + [1] = LAYOUT_5x6_5( + __, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, __, + __, __, KC_7, KC_8, KC_9, KC_PSCR, KC_HOME, KC_PGUP, KC_UP, KC_PGDN, KC_END, __, + __, KC_0, KC_4, KC_5, KC_6, KC_DEL, KC_BSPC, KC_LEFT, KC_ENTER, KC_RGHT, __, __, + __, KC_0, KC_1, KC_2, KC_3, __, __, KC_TAB, KC_DOWN, __, __, __, + + QK_BOOT, __ , __ , __ , __ , __ , __ , __, KC_F11, KC_F12, + __ , __ , __ , __ ), + }; diff --git a/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/rules.mk b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/rules.mk new file mode 100644 index 0000000000..c846950746 --- /dev/null +++ b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/rules.mk @@ -0,0 +1,13 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes + +LTO_ENABLE = yes + +QMK_SETTINGS = no # Vial tab +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = no # Audio control and System control + +DYNAMIC_MACRO_ENABLE = no +KEY_OVERRIDE_ENABLE = no +TAP_DANCE_ENABLE = no +COMBO_ENABLE = yes diff --git a/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/vial.json b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/vial.json new file mode 100644 index 0000000000..7c248a76ba --- /dev/null +++ b/keyboards/handwired/dactyl_manuform/5x6_5/keymaps/vial/vial.json @@ -0,0 +1,98 @@ +{ + "lighting": "none", + "matrix": {"rows": 12, "cols": 6}, + "layouts": { + "keymap": [ + [{"x": 3.5}, "0,3", {"x": 7.5}, "6,2"], + [ + {"y": -0.875, "x": 2.5}, + "0,2", + {"x": 1}, + "0,4", + {"x": 5.5}, + "6,1", + {"x": 1}, + "6,3" + ], + [{"y": -0.875, "x": 5.5}, "0,5", {"x": 3.5}, "6,0"], + [ + {"y": -0.875, "w": 1.5}, + "0,0", + "0,1", + {"x": 11.5}, + "6,4", + {"w": 1.5}, + "6,5" + ], + [{"y": -0.375, "x": 3.5}, "1,3", {"x": 7.5}, "7,2"], + [ + {"y": -0.875, "x": 2.5}, + "1,2", + {"x": 1}, + "1,4", + {"x": 5.5}, + "7,1", + {"x": 1}, + "7,3" + ], + [{"y": -0.875, "x": 5.5}, "1,5", {"x": 3.5}, "7,0"], + [ + {"y": -0.875, "w": 1.5}, + "1,0", + "1,1", + {"x": 11.5}, + "7,4", + {"w": 1.5}, + "7,5" + ], + [{"y": -0.375, "x": 3.5}, "2,3", {"x": 7.5}, "8,2"], + [ + {"y": -0.875, "x": 2.5}, + "2,2", + {"x": 1}, + "2,4", + {"x": 5.5}, + "8,1", + {"x": 1}, + "8,3" + ], + [{"y": -0.875, "x": 5.5}, "2,5", {"x": 3.5}, "8,0"], + [ + {"y": -0.875, "w": 1.5}, + "2,0", + "2,1", + {"x": 11.5}, + "8,4", + {"w": 1.5}, + "8,5" + ], + [{"y": -0.375, "x": 3.5}, "3,3", {"x": 7.5}, "9,2"], + [ + {"y": -0.875, "x": 2.5}, + "3,2", + {"x": 1}, + "3,4", + {"x": 5.5}, + "9,1", + {"x": 1}, + "9,3" + ], + [{"y": -0.875, "x": 5.5}, "3,5", {"x": 3.5}, "9,0"], + [ + {"y": -0.875, "w": 1.5}, + "3,0", + "3,1", + {"x": 11.5}, + "9,4", + {"w": 1.5}, + "9,5" + ], + [{"y": -0.375, "x": 3.5}, "4,3", {"x": 7.5}, "10,2"], + [{"y": -0.875, "x": 2.5}, "4,2", {"x": 9.5}, "10,3"], + [{"r": 30, "rx": 5, "ry": 4.5}, "4,4", "5,5", "5,3"], + [{"x": 1}, "5,4", "5,2"], + [{"r": -30, "rx": 11.5, "x": -3}, "11,2", "11,0", "10,1"], + [{"x": -3}, "11,3", "11,1"] + ] + } +}