Vial configuration for Split75 keyboard (#288)
This commit is contained in:
parent
bd25648888
commit
2d88380b99
20
keyboards/mt/split75/keymaps/vial/config.h
Normal file
20
keyboards/mt/split75/keymaps/vial/config.h
Normal file
@ -0,0 +1,20 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0xE1, 0x19, 0x66, 0xAE, 0x22, 0x17, 0xAA, 0x3C}
|
||||
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||
#define VIAL_TAP_DANCE_ENTRIES 4
|
||||
#define VIAL_COMBO_ENTRIES 4
|
||||
#define VIAL_KEY_OVERRIDE_ENTRIES 4
|
||||
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
|
||||
#define ENABLE_RGB_MATRIX_BREATHING
|
||||
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 5, 6 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 11 }
|
||||
|
||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
69
keyboards/mt/split75/keymaps/vial/keymap.c
Normal file
69
keyboards/mt/split75/keymaps/vial/keymap.c
Normal file
@ -0,0 +1,69 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
/* Base ,-----------------------------------------. ,-----------------------------------------------------.
|
||||
* | ESC | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |Print| Ins | Del |
|
||||
* ,-----------. |-----+-----+-----+-----+-----+-----+-----| |-----+-----+-----+-----+-----+-----+-----------+-----|
|
||||
* | 8 | 9 | | ~ | 1 | 2 | 3 | 4 | 5 | 6 | | 7 | 8 | 9 | 0 | - | = | Backspace | Home|
|
||||
* |-----+-----| |-----------------------------------------' ,--------------------------------------------------+-----|
|
||||
* | 6 | 7 | | Tab | Q | W | E | R | T | | Y | U | I | O | P | [ | ] | \ | PgUp|
|
||||
* |-----+-----| |---------------------------------------. `--------------------------------------------------+-----|
|
||||
* | 4 | 5 | | Caps | A | S | D | F | G | | H | J | K | L | ; | ' | Enter | PgDn|
|
||||
* |-----+-----| |-----------------------------------------. `-------------------------------------------------+-----|
|
||||
* | 2 | 3 | | Shift | Z | X | C | V | B | | N | M | , | . | / | Shift | Up | End |
|
||||
* |-----+-----| |-----------------------------------------' ,-------------------------------------------+-----+-----|
|
||||
* | 0 | 1 | | Ctrl | GUI | Alt | Space |Space| | Space | Alt | | Ctrl | Left| Down|Right|
|
||||
* `-----------' `---------------------------------------' `-------------------------------------------------------'
|
||||
*/
|
||||
[0] = LAYOUT(
|
||||
//--------------------------------Left Hand-----------------------------------| |--------------------------------Right Hand------------------------------------------------
|
||||
KC_ESC, 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_INS, KC_DEL,
|
||||
KC_8, KC_9, KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BSPC, KC_HOME,
|
||||
KC_6, KC_7, 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_BSLS, KC_PGUP,
|
||||
KC_4, KC_5, 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_ENTER, KC_PGDN,
|
||||
KC_2, KC_3, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
|
||||
KC_0, KC_1, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
),
|
||||
[2] = LAYOUT(
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
led_config_t g_led_config = {
|
||||
{ // Key Matrix to LED Index
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
|
||||
{ NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }
|
||||
},
|
||||
{ // LED Index to Physical Position
|
||||
{ 0, 0 }, { 112, 0 }, { 224, 0 }, { 224, 64 }, { 112, 64 }, { 0, 64 }, { 112, 32 }
|
||||
},
|
||||
{ // LED Index to Flag
|
||||
0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a, 0x0a
|
||||
}
|
||||
};
|
||||
#endif
|
10
keyboards/mt/split75/keymaps/vial/rules.mk
Normal file
10
keyboards/mt/split75/keymaps/vial/rules.mk
Normal file
@ -0,0 +1,10 @@
|
||||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
VIALRGB_ENABLE = yes
|
||||
|
||||
LTO_ENABLE = yes
|
||||
|
||||
BACKLIGHT_ENABLE = no
|
||||
RGBLIGHT_ENABLE = no
|
||||
RGB_MATRIX_ENABLE = yes
|
||||
RGB_MATRIX_DRIVER = WS2812
|
15
keyboards/mt/split75/keymaps/vial/vial.json
Normal file
15
keyboards/mt/split75/keymaps/vial/vial.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "Split75",
|
||||
"lighting": "vialrgb",
|
||||
"matrix": {"rows": 8, "cols": 14},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"x":2.5},"5,0","5,1","5,2","5,3","5,4","5,5","5,6",{"x":1},"5,7","5,8","5,9","5,10","5,11","5,12","5,13","6,8","7,8"],
|
||||
["7,4","6,4",{"x":0.5},"4,0","4,1","4,2","4,3","4,4","4,5","4,6",{"x":1},"4,7","4,8","4,9","4,10","4,11","4,12",{"w":2},"6,9","7,9"],
|
||||
["7,3","6,3",{"x":0.5,"w":1.5},"3,0","3,1","3,2","3,3","3,4","3,5",{"x":1},"3,7","3,8","3,9","3,10","3,11","3,12","3,13",{"w":1.5},"6,10","7,10"],
|
||||
["7,2","6,2",{"x":0.5,"w":1.75},"2,0","2,1","2,2","2,3","2,4","2,5",{"x":1},"2,7","2,8","2,9","2,10","2,11","2,12",{"w":2.25},"6,11","7,11"],
|
||||
["7,1","6,1",{"x":0.5,"w":2.25},"1,0","1,2","1,3","1,4","1,5","1,6",{"x":1},"1,7","1,8","1,9","1,10","1,11",{"w":1.75},"1,13","6,12","7,12"],
|
||||
["7,0","6,0",{"x":0.5,"w":1.25},"0,0",{"w":1.25},"0,1",{"w":1.25},"0,2",{"w":2},"0,3","0,4",{"x":1,"w":2.75},"0,7",{"w":1.25},"0,10","0,11",{"w":1.25},"0,12","0,13","6,13","7,13"]
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user