diff --git a/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/config.h b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/config.h new file mode 100644 index 0000000000..75c54f6ed0 --- /dev/null +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/config.h @@ -0,0 +1,30 @@ +/* Copyright 2021 Salicylic_acid3 + * + * 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 . + */ + +#pragma once + +/* Select hand configuration */ + +#define QUICK_TAP_TERM 0 +#define TAPPING_TERM 180 + +/* Vial */ +#define VIAL_KEYBOARD_UID {0x18, 0x79, 0xE0, 0xE9, 0x7D, 0x0A, 0x5B, 0x8C} +#define VIAL_UNLOCK_COMBO_ROWS {0, 4} +#define VIAL_UNLOCK_COMBO_COLS {0, 0} + +/* Saving Space */ +#define NO_ACTION_ONESHOT diff --git a/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/keymap.c b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/keymap.c new file mode 100644 index 0000000000..28a557d9b7 --- /dev/null +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/keymap.c @@ -0,0 +1,87 @@ +/* +Copyright 2021 Salicylic_Acid + +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 +// Each layer gets a name for readability, which is then used in the keymap matrix below. +// The underscores don't mean anything - you can have a layer called STUFF or any other name. +// Layer names don't all need to be of the same length, obviously, and you can also skip them +// entirely and just use numbers. + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + //,--------------------------------------------------------------| |--------------------------------------------------------------. + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_5, 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_Y, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, 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_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + KC_LCTL, KC_LGUI, KC_UP, KC_LALT, KC_SPC, KC_BSPC, KC_DEL, KC_BSPC, KC_DEL, KC_SPC, KC_RALT, KC_UP, KC_APP, MO(1), + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + KC_LEFT, KC_DOWN, KC_RGHT, KC_LEFT, KC_DOWN, KC_RGHT + //|--------------------------------------------------------------| |--------------------------------------------------------------' + ), + + [1] = LAYOUT( + //,--------------------------------------------------------------| |--------------------------------------------------------------. + 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_PSCR, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_LBRC, KC_RBRC, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGUP, KC_QUOT, _______, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + _______, RGB_TOG, RGB_MOD, _______, RGB_SAD, RGB_SAI, _______, _______, _______, _______, KC_END, KC_PGDN, _______, _______, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + _______, RGB_VAD, KC_VOLU, RGB_VAI, RGB_HUD, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + KC_MPRV, KC_VOLD, KC_MNXT, _______, _______, _______ + //|--------------------------------------------------------------| |--------------------------------------------------------------' + ), + + [2] = LAYOUT( + //,--------------------------------------------------------------| |--------------------------------------------------------------. + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX + //|--------------------------------------------------------------| |--------------------------------------------------------------' + ), + [3] = LAYOUT( + //,--------------------------------------------------------------| |--------------------------------------------------------------. + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + //|--------+--------+--------+--------+--------+-----------------| |--------+--------+--------+--------+--------+--------+--------| + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX + //|--------------------------------------------------------------| |--------------------------------------------------------------' + ), +}; diff --git a/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/rules.mk b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/rules.mk new file mode 100644 index 0000000000..d70efe18b9 --- /dev/null +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/rules.mk @@ -0,0 +1,7 @@ +LTO_ENABLE = yes +VIA_ENABLE = yes +VIAL_ENABLE = yes +KEY_OVERRIDE_ENABLE = no +COMBO_ENABLE = no +TAP_DANCE_ENABLE = no +EXTRALDFLAGS = -Wl,--relax diff --git a/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/vial.json b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/vial.json new file mode 100644 index 0000000000..bd82f3dc93 --- /dev/null +++ b/keyboards/salicylic_acid3/ergoarrows/keymaps/vial/vial.json @@ -0,0 +1,10 @@ +{ + "matrix": { + "rows": 12, + "cols": 7 + }, + "lighting": "qmk_rgblight", + "layouts": { + "keymap": + [[{"x": 3.07},"0,3",{"x": 7.629999999999999},"6,3"],[{"y": -0.87,"x": 2.07},"0,2",{"x": 1.0000000000000004},"0,4",{"x": 5.629999999999999},"6,4",{"x": 1},"6,2"],[{"y": -0.8799999999999999,"x": 5.07},"0,5","0,6",{"x": 1.629999999999999},"6,6","6,5"],[{"y": -0.87,"x": 0.05},"0,0",{"x": 0.020000000000000018},"0,1",{"x": 11.629999999999999},"6,1",{"x": -0.009999999999999787},"6,0"],[{"y": -0.3799999999999999,"x": 3.07},"1,3",{"x": 7.629999999999999},"7,3"],[{"y": -0.8700000000000001,"x": 2.07},"1,2",{"x": 1.0000000000000004},"1,4",{"x": 5.629999999999999},"7,4",{"x": 1},"7,2"],[{"y": -0.8799999999999999,"x": 5.07},"1,5","1,6",{"x": 1.629999999999999},"7,6","7,5"],[{"y": -0.8700000000000001,"x": 0.05},"1,0",{"x": 0.020000000000000018},"1,1",{"x": 11.629999999999999},"7,1",{"x": -0.009999999999999787},"7,0"],[{"y": -0.3799999999999999,"x": 3.07},"2,3",{"x": 7.629999999999999},"8,3"],[{"y": -0.8700000000000001,"x": 2.07},"2,2",{"x": 1.0000000000000004},"2,4",{"x": 5.629999999999999},"8,4",{"x": 1},"8,2"],[{"y": -0.8799999999999999,"x": 5.07},"2,5","2,6",{"x": 1.629999999999999},"8,6","8,5"],[{"y": -0.8700000000000001,"x": 0.05},"2,0",{"x": 0.020000000000000018},"2,1",{"x": 11.629999999999999},"8,1",{"x": -0.009999999999999787},"8,0"],[{"y": -0.3799999999999999,"x": 3.07},"3,3",{"x": 7.629999999999999},"9,3"],[{"y": -0.8700000000000001,"x": 2.07},"3,2",{"x": 1.0000000000000004},"3,4",{"x": 5.629999999999999},"9,4",{"x": 1},"9,2"],[{"y": -0.8799999999999999,"x": 5.07},"3,5","3,6",{"x": 1.629999999999999},"9,6","9,5"],[{"y": -0.8700000000000001,"x": 0.05},"3,0",{"x": 0.020000000000000018},"3,1",{"x": 11.629999999999999},"9,1",{"x": -0.009999999999999787},"9,0"],[{"x": 0.05},"4,0",{"x": 0.020000000000000018},"4,1",{"x": 1.2499999999999996},"4,3","4,4",{"x": 5.129999999999999},"10,4","10,3",{"x": 1.25},"10,1",{"x": -0.009999999999999787},"10,0"],[{"y": -0.8799999999999999,"x": 2.19},"4,2",{"x": 9.38},"10,2"],[{"x": 1.19},"5,1","5,2","5,3",{"x": 7.380000000000001},"11,3","11,2","11,1"],[{"r": 30,"rx": 6.5,"ry": 4.25,"y": 0.5999999999999996,"x": -0.5},"4,5"],[{"r": 60,"y": -1.4699999999999998,"x": 1.2000000000000002},"4,6"],[{"r": -60,"rx": 9.45,"y": -0.04999999999999982,"x": -2.299999999999999},"10,6"],[{"r": -30,"y": -0.4500000000000002,"x": -0.6699999999999999},"10,5"]]} +}