diff --git a/keyboards/acheron/elongate/delta/keymaps/vial/config.h b/keyboards/acheron/elongate/delta/keymaps/vial/config.h new file mode 100644 index 00000000000..8c845d96928 --- /dev/null +++ b/keyboards/acheron/elongate/delta/keymaps/vial/config.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x4F, 0x61, 0xF4, 0xA5, 0x22, 0x84, 0xD5, 0xDC} + +#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 14 } diff --git a/keyboards/acheron/elongate/delta/keymaps/vial/keymap.c b/keyboards/acheron/elongate/delta/keymaps/vial/keymap.c new file mode 100755 index 00000000000..9583e8f007b --- /dev/null +++ b/keyboards/acheron/elongate/delta/keymaps/vial/keymap.c @@ -0,0 +1,38 @@ +/* Copyright 2020 Gondolindrim + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include QMK_KEYBOARD_H +#define SPC_L2 LT(2, KC_SPACE) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +[0] = LAYOUT( /* Base */ + 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_KP_7, KC_KP_8, KC_KP_9, + KC_TAB , KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENTER, KC_KP_4, KC_KP_5, KC_KP_6, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, MO(1) , KC_UP, KC_KP_1, KC_KP_2, KC_KP_3, + KC_LCTL, KC_LWIN, KC_LALT, SPC_L2, KC_SPC, KC_RALT, KC_LEFT, KC_DOWN, KC_RIGHT, KC_KP_0, KC_DOT +), +[1] = LAYOUT( /* Base */ + KC_F1, KC_F2, KC_F2, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_LBRC, KC_RBRC, KC_MINS, KC_EQL, KC_NUM, KC_SCRL, KC_CAPS, + KC_CAPS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_RSFT, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SCLN, KC_QUOT, KC_SLSH, KC_TRNS, KC_PGUP, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_SPC, KC_TRNS, KC_HOME, KC_PGDN, KC_END , KC_TRNS, KC_TRNS +), +[2] = LAYOUT( /* Base */ + QK_BOOT, 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, UG_TOGG, UG_NEXT, UG_PREV, RGB_M_T, 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_SPC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS +) +}; diff --git a/keyboards/acheron/elongate/delta/keymaps/vial/rules.mk b/keyboards/acheron/elongate/delta/keymaps/vial/rules.mk new file mode 100644 index 00000000000..4f7618e9b21 --- /dev/null +++ b/keyboards/acheron/elongate/delta/keymaps/vial/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes diff --git a/keyboards/acheron/elongate/delta/keymaps/vial/vial.json b/keyboards/acheron/elongate/delta/keymaps/vial/vial.json new file mode 100644 index 00000000000..44281e7de9c --- /dev/null +++ b/keyboards/acheron/elongate/delta/keymaps/vial/vial.json @@ -0,0 +1,153 @@ +{ + "matrix": { + "rows": 5, + "cols": 15 + }, + "lighting": "qmk_backlight_rgblight", + "layouts": { + "keymap": [ + [ + { + "c": "#777777" + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + { + "c": "#aaaaaa" + }, + "0,11", + { + "x": 0.5, + "c": "#cccccc" + }, + "0,12", + "0,13", + "0,14" + ], + [ + { + "c": "#aaaaaa", + "w": 1.25 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + { + "c": "#777777", + "w": 1.75 + }, + "1,11", + { + "x": 0.5, + "c": "#cccccc" + }, + "1,12", + "1,13", + "1,14" + ], + [ + { + "c": "#aaaaaa", + "w": 1.75 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "2,10", + { + "x": 1.5, + "c": "#cccccc" + }, + "4,12", + "4,13", + "4,14" + ], + [ + { + "y": -0.75, + "x": 11.25, + "c": "#777777" + }, + "4,11" + ], + [ + { + "y": -0.25, + "c": "#aaaaaa", + "w": 1.25 + }, + "3,0", + "3,1", + { + "w": 1.25 + }, + "3,2", + { + "c": "#cccccc", + "w": 2.25 + }, + "3,4", + { + "x": 0.5, + "w": 2.75 + }, + "3,7", + { + "c": "#aaaaaa" + }, + "3,9", + { + "x": 3.5, + "c": "#cccccc" + }, + "3,13", + "3,14" + ], + [ + { + "y": -0.75, + "x": 10.25, + "c": "#777777" + }, + "3,10", + "3,11", + "3,12" + ] + ] + } +}