added smallice support (#210)
This commit is contained in:
parent
3b165ed51b
commit
d399418f75
13
keyboards/keyhive/smallice/keymaps/vial/config.h
Normal file
13
keyboards/keyhive/smallice/keymaps/vial/config.h
Normal file
@ -0,0 +1,13 @@
|
||||
#define VIAL_KEYBOARD_UID {0x2F, 0xE1, 0x52, 0x03, 0x8D, 0xC3, 0x95, 0x15}
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 1 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 14 }
|
||||
|
||||
#define VIAL_TAP_DANCE_ENTRIES 4
|
||||
#define VIAL_COMBO_ENTRIES 4
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
|
||||
|
||||
#undef RGBLIGHT_ANIMATIONS
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
44
keyboards/keyhive/smallice/keymaps/vial/keymap.c
Normal file
44
keyboards/keyhive/smallice/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,44 @@
|
||||
/* Copyright 2020 quark
|
||||
*
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Base */
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, 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_BSPC,
|
||||
KC_VOLU, 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_VOLD, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, KC_UP, KC_SLSH,
|
||||
KC_LCTRL, KC_LALT, KC_SPC, KC_LWIN, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[3] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
};
|
6
keyboards/keyhive/smallice/keymaps/vial/rules.mk
Normal file
6
keyboards/keyhive/smallice/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,6 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
||||
|
||||
MOUSEKEY_ENABLE = no
|
||||
KEY_OVERRIDE_ENABLE = no
|
226
keyboards/keyhive/smallice/keymaps/vial/vial.json
Normal file
226
keyboards/keyhive/smallice/keymaps/vial/vial.json
Normal file
@ -0,0 +1,226 @@
|
||||
{
|
||||
"name": "smAllice",
|
||||
"vendorId": "0x514b",
|
||||
"productId": "0x5341",
|
||||
"lighting": "qmk_rgblight",
|
||||
"matrix": { "rows": 4, "cols": 15 },
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[
|
||||
{
|
||||
"y": 2.15,
|
||||
"x": 0.4,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"0,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9499999999999997,
|
||||
"x": 12.75,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"0,11"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9500000000000002,
|
||||
"x": 1.75,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"0,2",
|
||||
{
|
||||
"x": 10
|
||||
},
|
||||
"0,12",
|
||||
"0,13",
|
||||
{
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"0,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.10000000000000009,
|
||||
"x": 0.2
|
||||
},
|
||||
"1,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004,
|
||||
"x": 1.55,
|
||||
"w": 1.25
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"1,2",
|
||||
{
|
||||
"x": 9.350000000000001
|
||||
},
|
||||
"1,11",
|
||||
{
|
||||
"x": -1.7763568394002505e-15
|
||||
},
|
||||
"1,12",
|
||||
{
|
||||
"c": "#777777",
|
||||
"w": 1.75
|
||||
},
|
||||
"1,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.09999999999999964,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"2,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004,
|
||||
"x": 1.3,
|
||||
"w": 1.75
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"2,2",
|
||||
{
|
||||
"x": 8.809999999999999
|
||||
},
|
||||
"2,11",
|
||||
{
|
||||
"x": -0.009999999999999787,
|
||||
"c": "#aaaaaa",
|
||||
"w": 1.25
|
||||
},
|
||||
"2,12",
|
||||
"2,13",
|
||||
{
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"2,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 1.3,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"3,1",
|
||||
{
|
||||
"x": 11.8
|
||||
},
|
||||
"3,12",
|
||||
{
|
||||
"x": -1.7763568394002505e-15
|
||||
},
|
||||
"3,13",
|
||||
"3,14"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": 12,
|
||||
"y": -5,
|
||||
"x": 4.35,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"0,3",
|
||||
"0,4",
|
||||
"0,5",
|
||||
"0,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 4.6
|
||||
},
|
||||
"1,3",
|
||||
"1,4",
|
||||
"1,5",
|
||||
"1,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 5.05
|
||||
},
|
||||
"2,3",
|
||||
"2,4",
|
||||
"2,5",
|
||||
"2,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 6.35,
|
||||
"c": "#777777",
|
||||
"w": 2
|
||||
},
|
||||
"3,5",
|
||||
{
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"3,6"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9500000000000002,
|
||||
"x": 5.05,
|
||||
"w": 1.25
|
||||
},
|
||||
"3,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"r": -12,
|
||||
"y": -0.4500000000000002,
|
||||
"x": 7.8,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"0,7",
|
||||
"0,8",
|
||||
"0,9",
|
||||
"0,10"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 7.95
|
||||
},
|
||||
"1,7",
|
||||
"1,8",
|
||||
"1,9",
|
||||
"1,10"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 7.5
|
||||
},
|
||||
"2,7",
|
||||
"2,8",
|
||||
"2,9",
|
||||
"2,10"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 7.5,
|
||||
"c": "#777777",
|
||||
"w": 2.75
|
||||
},
|
||||
"3,8"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9499999999999993,
|
||||
"x": 10.3,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"3,10"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user