diff --git a/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/config.h b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/config.h new file mode 100644 index 0000000000..118b7432bc --- /dev/null +++ b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/config.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once +#define VIAL_KEYBOARD_UID {0x10, 0xD3, 0x61, 0xC0, 0x4C, 0xA2, 0x7D, 0xBE} + +#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 } +#define VIAL_UNLOCK_COMBO_COLS { 4, 0 } +#define DYNAMIC_KEYMAP_LAYER_COUNT 10 diff --git a/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/keymap.c b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/keymap.c new file mode 100644 index 0000000000..ed36cc85fb --- /dev/null +++ b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/keymap.c @@ -0,0 +1,102 @@ +/* +Copyright 2024 Matt F + +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 _FN MO(3) +#define FN_BACK LT(3, KC_BSPC) +#define ZOOMIN C(KC_EQL) +#define ZOOMOUT C(KC_MINS) +#define NTAB C(KC_TAB) +#define BTAB C(S(KC_TAB)) + + + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + + /* Base Layer + + + * .-----------------------------------------------------------------------------------------------------------------------------------. + * | Grave | 1 | 2 | 3 | 4 | 5 | - | = | 6 | 7 | 8 | 9 | 0 | Backspace | + * | | | | | | | | | | | | | | | + * |-----------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------| + * | Tab | Q | W | E | R | T | [ | ] | Y | U | I | O | P | Del | + * | | | | | | | | | | | | | | | + * |-----------+--------+--------+--------+--------+--------|--------+--------|--------+--------+--------+-----------------+-----------| + * | FN_BACK | A | S | D | F | G | [ | ] | H | J | K | L | " | Enter | + * | | | | | | | | | | | | | ' | | + * |-----------+--------+--------+--------+--------+--------|--------+--------|--------+--------+--------------------------+-----------| + * | LShift | Z | X | C | V | B | BTab | NTab | N | M | < | > | ? | RShift | + * | | | | | | | | | | | , | . | / | | + * |-----------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+-----------| + * | LCTRL | LGUI | LALT | FN | Space | Space |Space |Space | Space | Space | Space | RALT | FN | RCTRL | + * | | | | | | | | | | | | | | | + * '-----------------------------------------------------------------------------------------------------------------------------------' + */ + + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, + FN_BACK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LBRC, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, + SC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, BTAB, NTAB, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SC_RSPC, + KC_LCTL, KC_LGUI, KC_LALT, _FN, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, _FN, KC_RCTL + ), + + [1] = LAYOUT( /* Layer One */ + + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LBRC, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGUP, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, _FN, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, _FN, KC_RCTL + ), + + + [2] = LAYOUT( /* Layer Two */ + + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, ZOOMIN, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_DEL, + FN_BACK, KC_A, KC_S, KC_D, KC_F, KC_G, KC_LBRC, KC_RBRC, KC_H, KC_J, KC_K, KC_L, KC_QUOT, KC_ENT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, ZOOMOUT, KC_LBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + KC_LCTL, KC_LGUI, KC_LALT, _FN, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, _FN, KC_RCTL + ), + + [3] = LAYOUT( /* Layer Three */ + + 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_HOME, KC_UP, KC_END, KC_PGUP, _______, DF(0) , DF(1) , _______, _______, _______, _______, KC_PSCR, KC_BSLS, + _______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, KC_SCLN, KC_QUOT, + _______, _______, _______, _______, _______, _______, DF(2) , _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_BSLS, KC_CAPS, + _______, _______, _______, _______, _______, _______, KC_ENT, KC_ENT, _______, _______, _______, _______, _______, QK_BOOT + ) + +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(UG_NEXT, UG_PREV), + ENCODER_CCW_CW(KC_LBRC, KC_RBRC), ENCODER_CCW_CW(C(KC_MINS), C(KC_EQL)), + ENCODER_CCW_CW(C(KC_Z), C(S(KC_Z))), ENCODER_CCW_CW(KC_PGUP, KC_PGDN), + ENCODER_CCW_CW(KC_WH_U, KC_WH_D), ENCODER_CCW_CW(KC_UP, KC_DOWN)}, + [1 ... 3] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), + ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), + ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), + ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______)} +}; +#endif \ No newline at end of file diff --git a/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/rules.mk b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/rules.mk new file mode 100644 index 0000000000..c6bf6798de --- /dev/null +++ b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/rules.mk @@ -0,0 +1,3 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes +ENCODER_MAP_ENABLE = yes \ No newline at end of file diff --git a/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/vial.json b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/vial.json new file mode 100644 index 0000000000..a43c2190f3 --- /dev/null +++ b/keyboards/kradoindustries/promenade_rp24s/keymaps/vial/vial.json @@ -0,0 +1,558 @@ +{ + "name":"Promenade-S", + "vendorId":"0x4B72", + "productId":"0x4B6D", + "lighting":"qmk_rgblight", + "matrix":{ + "rows":5, + "cols":14 + }, + "layouts": { + "labels":[ + "1.5u Center Column L", + "1.5u Center Column R", + [ + "Spacebars", + "1u x6", + "3u-3u", + "2u-2u", + "2u-2u-2u", + "7u", + "3u-1u-3u", + "6.25u", + "2u-2u-1u-1u", + "2u-1-2u" + ], + "Row0 Right Mods - [1.5u][1u][1u]", + "Row1 Right Mods - [1.5u][1u][1u]", + [ + "Row2", + "[1u][1u][1.5u]", + "[1.5u][1u][1u]", + "[1u][1.5u][1u]" + ], + "Row3 Right Mods - [1.5u][1u][1u]", + [ + "Row4 Rights Mods", + "[1u][1u][1.5u]", + "[1.5u][1u][1u]", + "Arrows 65", + "Tsangan" + ], + "1.5u Left Alt Key", + "Remove Left Fn Key", + "Show Encoders" + ], + "keymap": + [ + [ + { + "c": "#aaaaaa" + }, + "0,6\n\n\n0,1", + "0,7\n\n\n1,1", + { + "x": 0.25, + "w": 1.5 + }, + "0,0", + { + "c": "#cccccc" + }, + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6\n\n\n0,0", + "0,7\n\n\n1,0", + "0,8", + "0,9", + "0,10", + "0,11\n\n\n3,0", + "0,12\n\n\n3,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "0,13\n\n\n3,0", + { + "x": 0.5, + "d": true + }, + "0,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "0,1\n\n\n10,0\n\n\n\n\n\ne", + { + "x": 0.25, + "d": true + }, + "1,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "1,1\n\n\n10,0\n\n\n\n\n\ne", + "0,0\n\n\n10,1\n\n\n\n\n\ne", + "0,1\n\n\n10,1\n\n\n\n\n\ne", + { + "x": 0.25 + }, + "1,0\n\n\n10,1\n\n\n\n\n\ne", + "1,1\n\n\n10,1\n\n\n\n\n\ne", + { + "w": 1.5 + }, + "0,11\n\n\n3,1", + "0,12\n\n\n3,1", + "0,13\n\n\n3,1" + ], + [ + { + "h": 1.5 + }, + "1,6\n\n\n0,1", + { + "h": 1.5 + }, + "1,7\n\n\n1,1", + { + "x": 0.25, + "w": 1.5 + }, + "1,0", + { + "c": "#cccccc" + }, + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6\n\n\n0,0", + "1,7\n\n\n1,0", + "1,8", + "1,9", + "1,10", + "1,11\n\n\n4,0", + "1,12\n\n\n4,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "1,13\n\n\n4,0", + { + "x": 0.5, + "d": true + }, + "2,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "2,1\n\n\n10,0\n\n\n\n\n\ne", + { + "x": 0.25, + "d": true + }, + "3,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "3,1\n\n\n10,0\n\n\n\n\n\ne", + "2,0\n\n\n10,1\n\n\n\n\n\ne", + "2,1\n\n\n10,1\n\n\n\n\n\ne", + { + "x": 0.25 + }, + "3,0\n\n\n10,1\n\n\n\n\n\ne", + "3,1\n\n\n10,1\n\n\n\n\n\ne", + { + "w": 1.5 + }, + "1,11\n\n\n4,1", + "1,12\n\n\n4,1", + "1,13\n\n\n4,1" + ], + [ + { + "x": 2.25, + "w": 1.5 + }, + "2,0", + { + "c": "#cccccc" + }, + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6\n\n\n0,0", + "2,7\n\n\n1,0", + "2,8", + "2,9", + "2,10", + "2,11\n\n\n5,0", + "2,12\n\n\n5,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,13\n\n\n5,0", + { + "x": 0.5, + "d": true + }, + "4,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "4,1\n\n\n10,0\n\n\n\n\n\ne", + { + "x": 0.25, + "d": true + }, + "5,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "5,1\n\n\n10,0\n\n\n\n\n\ne", + "4,0\n\n\n10,1\n\n\n\n\n\ne", + "4,1\n\n\n10,1\n\n\n\n\n\ne", + { + "x": 0.25 + }, + "5,0\n\n\n10,1\n\n\n\n\n\ne", + "5,1\n\n\n10,1\n\n\n\n\n\ne", + { + "w": 1.5 + }, + "2,11\n\n\n5,1", + "2,12\n\n\n5,1", + "2,13\n\n\n5,1", + { + "x": 0.25, + "c": "#cccccc" + }, + "2,11\n\n\n5,2", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "2,12\n\n\n5,2", + "2,13\n\n\n5,2" + ], + [ + { + "y": -0.5, + "h": 1.5 + }, + "3,6\n\n\n0,1", + { + "h": 1.5 + }, + "3,7\n\n\n1,1" + ], + [ + { + "y": -0.5, + "x": 2.25, + "w": 1.5 + }, + "3,0", + { + "c": "#cccccc" + }, + "3,1", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6\n\n\n0,0", + "3,7\n\n\n1,0", + "3,8", + "3,9", + "3,10", + "3,11\n\n\n6,0", + "3,12\n\n\n6,0", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "3,13\n\n\n6,0", + { + "x": 0.5, + "d": true + }, + "6,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "6,1\n\n\n10,0\n\n\n\n\n\ne", + { + "x": 0.25, + "d": true + }, + "7,0\n\n\n10,0\n\n\n\n\n\ne", + { + "d": true + }, + "7,1\n\n\n10,0\n\n\n\n\n\ne", + "6,0\n\n\n10,1\n\n\n\n\n\ne", + "6,1\n\n\n10,1\n\n\n\n\n\ne", + { + "x": 0.25 + }, + "7,0\n\n\n10,1\n\n\n\n\n\ne", + "7,1\n\n\n10,1\n\n\n\n\n\ne", + { + "w": 1.5 + }, + "3,11\n\n\n6,1", + "3,12\n\n\n6,1", + "3,13\n\n\n6,1" + ], + [ + { + "x": 2.25, + "w": 1.5 + }, + "4,0", + "4,1", + "4,2\n\n\n8,0", + "4,3\n\n\n9,0", + { + "x": -1, + "w": 0.5, + "d": true + }, + "\n\n\n8,0", + { + "x": -0.5, + "d": true + }, + "\n\n\n2,0", + "4,4\n\n\n2,0", + "4,5\n\n\n2,0", + "4,6\n\n\n2,0", + "4,7\n\n\n2,0", + "4,8\n\n\n2,0", + "4,9\n\n\n2,0", + { + "x": -0.5, + "c": "#cccccc", + "w": 0.5, + "d": true + }, + "\n\n\n7,0", + { + "c": "#aaaaaa" + }, + "4,10\n\n\n7,0", + "4,11\n\n\n7,0", + "4,12\n\n\n7,0", + { + "w": 1.5 + }, + "4,13\n\n\n7,0", + { + "c": "#cccccc", + "w": 0.5, + "d": true + }, + "\n\n\n7,1", + { + "c": "#aaaaaa" + }, + "4,10\n\n\n7,1", + { + "w": 1.5 + }, + "4,11\n\n\n7,1", + "4,12\n\n\n7,1", + "4,13\n\n\n7,1", + { + "c": "#cccccc", + "w": 0.75, + "d": true + }, + "\n\n\n7,2", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,10\n\n\n7,2", + "4,11\n\n\n7,2", + "4,12\n\n\n7,2", + "4,13\n\n\n7,2", + { + "c": "#cccccc", + "d": true + }, + "\n\n\n7,3", + { + "c": "#aaaaaa", + "w": 1.5 + }, + "4,11\n\n\n7,3", + "4,12\n\n\n7,3", + { + "w": 1.5 + }, + "4,13\n\n\n7,3" + ], + [ + { + "x": 4.75, + "w": 1.5 + }, + "4,2\n\n\n8,1", + { + "x": -0.5, + "d": true + }, + "\n\n\n9,1", + { + "x": -1, + "c": "#cccccc", + "d": true + }, + "\n\n\n2,1", + { + "w": 3 + }, + "4,5\n\n\n2,1", + { + "w": 3 + }, + "4,8\n\n\n2,1" + ], + [ + { + "x": 5.75, + "c": "#aaaaaa", + "d": true + }, + "\n\n\n2,2", + "4,4\n\n\n2,2", + { + "c": "#cccccc", + "w": 2 + }, + "4,6\n\n\n2,2", + { + "w": 2 + }, + "4,7\n\n\n2,2", + { + "c": "#aaaaaa" + }, + "4,9\n\n\n2,2" + ], + [ + { + "x": 5.75, + "d": true + }, + "\n\n\n2,3", + { + "c": "#cccccc", + "w": 2 + }, + "4,4\n\n\n2,3", + { + "w": 2 + }, + "4,6\n\n\n2,3", + { + "w": 2 + }, + "4,8\n\n\n2,3" + ], + [ + { + "x": 5.75, + "w": 0.5, + "d": true + }, + "\n\n\n2,4", + { + "w": 7 + }, + "4,6\n\n\n2,4" + ], + [ + { + "x": 5.75, + "w": 0.5, + "d": true + }, + "\n\n\n2,5", + { + "w": 3 + }, + "4,4\n\n\n2,5", + "4,6\n\n\n2,5", + { + "w": 3 + }, + "4,9\n\n\n2,5" + ], + [ + { + "x": 5.75, + "w": 6.25 + }, + "4,6\n\n\n2,6", + { + "c": "#aaaaaa" + }, + "4,9\n\n\n2,6" + ], + [ + { + "x": 5.75, + "d": true + }, + "\n\n\n2,7", + { + "c": "#cccccc", + "w": 2 + }, + "4,4\n\n\n2,7", + { + "w": 2 + }, + "4,6\n\n\n2,7", + { + "c": "#aaaaaa" + }, + "4,8\n\n\n2,7", + "4,9\n\n\n2,7" + ], + [ + { + "x": 5.75, + "d": true + }, + "\n\n\n2,8", + { + "c": "#cccccc", + "w": 2 + }, + "4,4\n\n\n2,8", + "4,6\n\n\n2,8", + { + "w": 2 + }, + "4,7\n\n\n2,8", + { + "c": "#aaaaaa", + "w": 1.25 + }, + "4,9\n\n\n2,8" + ] + ] +} +} \ No newline at end of file