From cca6137c3c6f8dc255605989b70daae7c9f5af0a Mon Sep 17 00:00:00 2001 From: akyp Date: Mon, 20 Jan 2025 06:26:21 +0800 Subject: [PATCH] Add Vial support for desire65 (#830) --- .../desire65/keymaps/vial/config.h | 8 + .../desire65/keymaps/vial/keymap.json | 28 ++++ .../desire65/keymaps/vial/vial.json | 148 ++++++++++++++++++ 3 files changed, 184 insertions(+) create mode 100644 keyboards/archerkeyboard/desire65/keymaps/vial/config.h create mode 100644 keyboards/archerkeyboard/desire65/keymaps/vial/keymap.json create mode 100644 keyboards/archerkeyboard/desire65/keymaps/vial/vial.json diff --git a/keyboards/archerkeyboard/desire65/keymaps/vial/config.h b/keyboards/archerkeyboard/desire65/keymaps/vial/config.h new file mode 100644 index 0000000000..52e5ce822c --- /dev/null +++ b/keyboards/archerkeyboard/desire65/keymaps/vial/config.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x23, 0x09, 0x00, 0x2A, 0x2F, 0x0C, 0xEC, 0x26} + +#define VIAL_UNLOCK_COMBO_ROWS {0, 2} +#define VIAL_UNLOCK_COMBO_COLS {0, 14} diff --git a/keyboards/archerkeyboard/desire65/keymaps/vial/keymap.json b/keyboards/archerkeyboard/desire65/keymaps/vial/keymap.json new file mode 100644 index 0000000000..47b5dd8363 --- /dev/null +++ b/keyboards/archerkeyboard/desire65/keymaps/vial/keymap.json @@ -0,0 +1,28 @@ +{ + "version": 1, + "keyboard": "archerkeyboard/desire65", + "keymap": "vial", + "layout": "LAYOUT_65_ansi_blocker_tsangan_split_bs", + "layers": [ + [ + "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_BSPC", "KC_HOME", + "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_BSLS", "KC_END", + "KC_CAPS", "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_PGUP", + "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_UP", "KC_PGDN", + "KC_LCTL", "KC_LGUI", "KC_LALT", "KC_SPC", "MO(1)", "KC_LEFT", "KC_DOWN", "KC_RIGHT" + ], + [ + "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_DEL", "_______", + "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "KC_INS", "_______", "KC_PSCR", "_______", "_______", "_______", "_______", + "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", + "_______", "_______", "_______", "KC_CALC", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "KC_MPLY", "KC_VOLU", "_______", + "_______", "_______", "_______", "_______", "_______", "KC_MPRV", "KC_VOLD", "KC_MNXT" + ] + ], + "config": { + "features": { + "via": true, + "vial": true + } + } +} \ No newline at end of file diff --git a/keyboards/archerkeyboard/desire65/keymaps/vial/vial.json b/keyboards/archerkeyboard/desire65/keymaps/vial/vial.json new file mode 100644 index 0000000000..4c6640b37f --- /dev/null +++ b/keyboards/archerkeyboard/desire65/keymaps/vial/vial.json @@ -0,0 +1,148 @@ +{ + "name": "desire65", + "vendorId": "0x0361", + "productId": "0x0002", + "lighting": "qmk_rgblight", + "keycodes": [ + "qmk_lighting" + ], + "matrix": { + "rows": 5, + "cols": 16 + }, + "layouts": { + "labels": [ + "Split Backspace" + ], + "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", + "0,12", + { + "c": "#c5c74a", + "w": 2 + }, + "0,14\n\n\n0,0", + { + "c": "#cccccc" + }, + "0,15", + { + "x": 0.25, + "c": "#c5c74a" + }, + "0,13\n\n\n0,1", + "0,14\n\n\n0,1" + ], + [ + { + "c": "#cccccc", + "w": 1.5 + }, + "1,0", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + "1,13", + { + "w": 1.5 + }, + "1,14", + "1,15" + ], + [ + { + "w": 1.25, + "w2": 1.75, + "l": true + }, + "2,0", + { + "x": 0.5 + }, + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + "2,12", + { + "w": 2.25 + }, + "2,14", + "2,15" + ], + [ + { + "w": 2.25 + }, + "3,0", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "w": 1.75 + }, + "3,13", + "3,14", + "3,15" + ], + [ + { + "w": 1.5 + }, + "4,0", + "4,2", + { + "w": 1.5 + }, + "4,3", + { + "w": 7 + }, + "4,7", + { + "w": 1.5 + }, + "4,11", + { + "x": 0.5 + }, + "4,13", + "4,14", + "4,15" + ] + ] + } +} \ No newline at end of file