Re-add the vial config. (#410)
Co-authored-by: Cooper Pellaton <c@cepp.ch>
This commit is contained in:
parent
d311d996db
commit
9309117e91
4 changed files with 475 additions and 0 deletions
7
keyboards/boardsource/lulu/keymaps/vial/config.h
Normal file
7
keyboards/boardsource/lulu/keymaps/vial/config.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xAB, 0x22, 0x68, 0x8B, 0x59, 0xD0, 0x81, 0x11}
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
|
104
keyboards/boardsource/lulu/keymaps/vial/keymap.c
Normal file
104
keyboards/boardsource/lulu/keymaps/vial/keymap.c
Normal file
|
@ -0,0 +1,104 @@
|
|||
// Copyright 2022 Cole Smith <cole@boadsource.xyz>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum layers {
|
||||
_QWERTY,
|
||||
_RAISE,
|
||||
_LOWER,
|
||||
_ADJUST
|
||||
};
|
||||
|
||||
#define RAISE MO(_RAISE)
|
||||
#define LOWER MO(_LOWER)
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* QWERTY
|
||||
* ,-----------------------------------------. ,-----------------------------------------.
|
||||
* | ESC | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | ` |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | Tab | Q | W | E | R | T | | Y | U | I | O | P | - |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* |LCTRL | A | S | D | F | G |-------. ,-------| H | J | K | L | ; | ' |
|
||||
* |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
|
||||
* |LShift| Z | X | C | V | B |-------| |-------| N | M | , | . | / |RShift|
|
||||
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||
* | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
|
||||
* | | | |/ / \ \ | | | |
|
||||
* `----------------------------' '------''--------------------'
|
||||
*/
|
||||
|
||||
[_QWERTY] = LAYOUT(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS,
|
||||
KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_LBRC, KC_RBRC, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||
KC_LALT, KC_LGUI, LOWER, KC_SPC, KC_ENT, RAISE, KC_BSPC, KC_RGUI
|
||||
),
|
||||
/* LOWER
|
||||
* ,-----------------------------------------. ,-----------------------------------------.
|
||||
* | | | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | ` | ! | @ | # | $ | % |-------. ,-------| ^ | & | * | ( | ) | - |
|
||||
* |------+------+------+------+------+------| [ | | ] |------+------+------+------+------+------|
|
||||
* | | | | | | |-------| |-------| | _ | + | { | } | | |
|
||||
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||
* | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
|
||||
* | | | |/ / \ \ | | | |
|
||||
* `----------------------------' '------''--------------------'
|
||||
*/
|
||||
[_LOWER] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______,_______, _______, _______,
|
||||
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_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, XXXXXXX, KC_UNDS, KC_PLUS, KC_LCBR, KC_RCBR, KC_PIPE,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
/* RAISE
|
||||
* ,-----------------------------------------. ,-----------------------------------------.
|
||||
* |MOD | MODR | S+ | S- | B+ | B- | | | | | | | |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | F1 | F2 | F3 | F4 | F5 | F6 |-------. ,-------| | Left | Down | Up |Right | |
|
||||
* |------+------+------+------+------+------|RGB_TOG| | ] |------+------+------+------+------+------|
|
||||
* | F7 | F8 | F9 | F10 | F11 | F12 |-------| |-------| + | - | = | [ | ] | \ |
|
||||
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||
* | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
|
||||
* | | | |/ / \ \ | | | |
|
||||
* `----------------------------' '------''--------------------'
|
||||
*/
|
||||
|
||||
[_RAISE] = LAYOUT(
|
||||
RGB_MOD, RGB_RMOD,RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, _______, _______,
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______,
|
||||
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, XXXXXXX, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, XXXXXXX,
|
||||
KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, RGB_TOG, _______, KC_PLUS, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
/* ADJUST
|
||||
* ,-----------------------------------------. ,-----------------------------------------.
|
||||
* | | | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | | | | | | | | | | | | | |
|
||||
* |------+------+------+------+------+------| |------+------+------+------+------+------|
|
||||
* | | | | | | |-------. ,-------| | |RGB ON| HUE+ | SAT+ | VAL+ |
|
||||
* |------+------+------+------+------+------| | | |------+------+------+------+------+------|
|
||||
* | | | | | | |-------| |-------| | | MODE | HUE- | SAT- | VAL- |
|
||||
* `-----------------------------------------/ / \ \-----------------------------------------'
|
||||
* | LAlt | LGUI |LOWER | /Space / \Enter \ |RAISE |BackSP| RGUI |
|
||||
* | | | |/ / \ \ | | | |
|
||||
* `----------------------------' '------''--------------------'
|
||||
*/
|
||||
[_ADJUST] = 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,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
10
keyboards/boardsource/lulu/keymaps/vial/rules.mk
Normal file
10
keyboards/boardsource/lulu/keymaps/vial/rules.mk
Normal file
|
@ -0,0 +1,10 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
QMK_SETTINGS = no
|
||||
COMBO_ENABLE = no
|
||||
MOUSEKEY_ENABLE = no
|
||||
TAP_DANCE_ENABLE = no
|
||||
VIALRGB_ENABLE = yes
|
||||
VIAL_ENCODERS_ENABLE = yes
|
||||
SPACE_CADET_ENABLE = no
|
||||
GRAVE_ESC_ENABLE = no
|
354
keyboards/boardsource/lulu/keymaps/vial/vial.json
Normal file
354
keyboards/boardsource/lulu/keymaps/vial/vial.json
Normal file
|
@ -0,0 +1,354 @@
|
|||
{
|
||||
"name": "Boardsource Lulu",
|
||||
"vendorId": "0x4273",
|
||||
"productId": "0x7685",
|
||||
"firmwareVersion": 0,
|
||||
"keycodes": [
|
||||
"via/keycodes",
|
||||
"via/qmk_lighting"
|
||||
],
|
||||
"lighting": "vialrgb",
|
||||
"menus": [
|
||||
"via/keymap",
|
||||
"via/layouts",
|
||||
"via/macros",
|
||||
"via/save_load",
|
||||
"core/qmk_rgblight"
|
||||
],
|
||||
"matrix": {
|
||||
"rows": 10,
|
||||
"cols": 6
|
||||
},
|
||||
"layouts": {
|
||||
"labels": ["encoders"],
|
||||
"keymap": [
|
||||
{
|
||||
"name": "lulu-via-vial"
|
||||
},
|
||||
[
|
||||
{
|
||||
"x": 6
|
||||
},
|
||||
"4,5\n\n\n0,1",
|
||||
"0,0\n\n\n0,1\n\n\n\n\n\ne",
|
||||
"1,0\n\n\n0,1\n\n\n\n\n\ne",
|
||||
"9,5\n\n\n0,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"x": 7
|
||||
},
|
||||
"0,1\n\n\n0,1\n\n\n\n\n\ne",
|
||||
"1,1\n\n\n0,1\n\n\n\n\n\ne"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": 0.25,
|
||||
"x": 3
|
||||
},
|
||||
"0,3",
|
||||
{
|
||||
"x": 8
|
||||
},
|
||||
"5,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 2
|
||||
},
|
||||
"0,2",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"0,4",
|
||||
{
|
||||
"x": 6
|
||||
},
|
||||
"5,4",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"5,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"x": 5
|
||||
},
|
||||
"0,5",
|
||||
{
|
||||
"x": 4
|
||||
},
|
||||
"5,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 1
|
||||
},
|
||||
"0,1",
|
||||
{
|
||||
"x": 12
|
||||
},
|
||||
"5,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"c": "#777777"
|
||||
},
|
||||
"0,0",
|
||||
{
|
||||
"x": 14,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"5,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.5,
|
||||
"x": 3
|
||||
},
|
||||
"1,3",
|
||||
{
|
||||
"x": 8
|
||||
},
|
||||
"6,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 2
|
||||
},
|
||||
"1,2",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"1,4",
|
||||
{
|
||||
"x": 6
|
||||
},
|
||||
"6,4",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"6,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"x": 5
|
||||
},
|
||||
"1,5",
|
||||
{
|
||||
"x": 4
|
||||
},
|
||||
"6,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 1
|
||||
},
|
||||
"1,1",
|
||||
{
|
||||
"x": 12
|
||||
},
|
||||
"6,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"1,0",
|
||||
{
|
||||
"x": 14,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"6,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.5,
|
||||
"x": 3
|
||||
},
|
||||
"2,3",
|
||||
{
|
||||
"x": 8
|
||||
},
|
||||
"7,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 2
|
||||
},
|
||||
"2,2",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"2,4",
|
||||
{
|
||||
"x": 6
|
||||
},
|
||||
"7,4",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"7,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"x": 5
|
||||
},
|
||||
"2,5",
|
||||
{
|
||||
"x": 4
|
||||
},
|
||||
"7,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 1
|
||||
},
|
||||
"2,1",
|
||||
{
|
||||
"x": 12
|
||||
},
|
||||
"7,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"2,0",
|
||||
{
|
||||
"x": 14,
|
||||
"c": "#cccccc"
|
||||
},
|
||||
"7,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 6
|
||||
},
|
||||
"4,5\n\n\n0,0",
|
||||
{
|
||||
"x": 2
|
||||
},
|
||||
"9,5\n\n\n0,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.75,
|
||||
"x": 3
|
||||
},
|
||||
"3,3",
|
||||
{
|
||||
"x": 8
|
||||
},
|
||||
"8,3"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 2
|
||||
},
|
||||
"3,2",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"3,4",
|
||||
{
|
||||
"x": 6
|
||||
},
|
||||
"8,4",
|
||||
{
|
||||
"x": 1
|
||||
},
|
||||
"8,2"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"x": 5
|
||||
},
|
||||
"3,5",
|
||||
{
|
||||
"x": 4
|
||||
},
|
||||
"8,5"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8700000000000001,
|
||||
"x": 1
|
||||
},
|
||||
"3,1",
|
||||
{
|
||||
"x": 12
|
||||
},
|
||||
"8,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.8799999999999999,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"3,0",
|
||||
{
|
||||
"x": 14
|
||||
},
|
||||
"8,0"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.3700000000000001,
|
||||
"x": 2.5
|
||||
},
|
||||
"4,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9799999999999995,
|
||||
"x": 3.5
|
||||
},
|
||||
"4,2",
|
||||
{
|
||||
"x": 7
|
||||
},
|
||||
"9,2",
|
||||
"9,1"
|
||||
],
|
||||
[
|
||||
{
|
||||
"y": -0.9000000000000004,
|
||||
"x": 4.5
|
||||
},
|
||||
"4,3",
|
||||
{
|
||||
"x": 0.5,
|
||||
"c": "#777777",
|
||||
"h": 1.5
|
||||
},
|
||||
"4,4",
|
||||
{
|
||||
"x": 2,
|
||||
"h": 1.5
|
||||
},
|
||||
"9,4",
|
||||
{
|
||||
"x": 0.5,
|
||||
"c": "#aaaaaa"
|
||||
},
|
||||
"9,3"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue