Added Vial support for CherryBStudio87 RGB TKL PCB (#191)

* VIAL ported to Vega

Readme.md for changes

* Adding support for StudioKestra Galatea TKL

No RGB underglow version; tested using StudioKestra Galatea x GeonWorks TKL PCB.

Built and tested in 7U, WKL, F12 layout.

* Add VIAL support for Ninjin TKL

Build file 49502 bytes.

No features were removed; firmware was tested on ANSI, F12, WK layout.

* Added support for CherryBStudio87 RGB TKL.

Added Vial support for CherryBStudio87 RGB TKL PCB. 

Static RGB LED is still functional (saturation, hue, and brightness control), however RGB preset animations were removed to preserve EEPROM space.

List of removed features:
Several in-built RGB animations were removed (build the firmware again with several choices of RGB animations if you want to enable them)
Tap dance, space cadet, combo, key override, mousekey, extrakey, and grave escape were disabled.
Dynamic keycap layer count were set into 2. 

Total firmware size after build: 23810/28672 (83%, 4862 bytes free)

Possible issues:
In the VIAL GUI, the keyboard is still listing about 4 layers even with the maximum layer set into two.
From the .json file from May 22th, 2022 (latest update from CherryB Discord server), there were some issues on F13 stopped working and the left arrow key stopped working when using WKL layout; built and tested the firmware using the newest .json file that fixes the issue. Further testing might be required. 

Only tested on ANSI, F13 WK, 6.25u space layout.

* Updated config.h

Dynamic keymap layer count was properly inserted.

Fixed typo on fractal RGB animation disable.

* Removed layer 2 and 3

Removed layer 2 and 3, saved about 2% of the total capacity in the build (at least on my end).

* Tweaking features and revised

Keymap layer moved to the appropriate file. 

**Mousekey and extrakeys enabled**

* Moved to the correct folder

Uploaded the Vial changes to the WRONG folder... (supposed to be 'cb87rgb' instead of 'cb87'

Will delete all the additions related to cb87 later. Was tested using cb87rgb folder.

* Delete vial.json

* Delete rules.mk

* Delete keymap.c

* Delete config.h
This commit is contained in:
WrinkleKrinkles 2022-07-02 20:42:49 +00:00 committed by GitHub
parent 0a48d82c3a
commit ba3099495a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 377 additions and 0 deletions

View File

@ -0,0 +1,50 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x1D, 0x41, 0xFC, 0x31, 0x95, 0xA5, 0xF9, 0xDA}
#define VIAL_UNLOCK_COMBO_ROWS {0,1}
#define VIAL_UNLOCK_COMBO_COLS {0,6}
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
#undef ENABLE_RGB_MATRIX_ALPHAS_MODS
#undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
#undef ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
#undef ENABLE_RGB_MATRIX_BREATHING
#undef ENABLE_RGB_MATRIX_BAND_SAT
#undef ENABLE_RGB_MATRIX_BAND_VAL
#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
#undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
#undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
#undef ENABLE_RGB_MATRIX_CYCLE_ALL
#undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
#undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
#undef ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
#undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
#undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
#undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
#undef ENABLE_RGB_MATRIX_DUAL_BEACON
#undef ENABLE_RGB_MATRIX_RAINBOW_BEACON
#undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
#undef ENABLE_RGB_MATRIX_RAINDROPS
#undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
#undef ENABLE_RGB_MATRIX_HUE_BREATHING
#undef ENABLE_RGB_MATRIX_HUE_PENDULUM
#undef ENABLE_RGB_MATRIX_HUE_WAVE
#undef ENABLE_RGB_MATRIX_PIXEL_RAIN
#undef ENABLE_RGB_MATRIX_PIXEL_FLOW
#undef ENABLE_RGB_MATRIX_PIXEL_FRACTAL
#undef ENABLE_RGB_MATRIX_TYPING_HEATMAP
#undef ENABLE_RGB_MATRIX_DIGITAL_RAIN
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
#undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
#undef ENABLE_RGB_MATRIX_SPLASH
#undef ENABLE_RGB_MATRIX_MULTISPLASH
#undef ENABLE_RGB_MATRIX_SOLID_SPLASH

View File

@ -0,0 +1,35 @@
/*
Copyright 2020 Tybera
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] = {
[0] = LAYOUT_all(
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_ESC, KC_PSCR, KC_SLCK, KC_PAUS,
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP,
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_DEL, KC_END, KC_PGDN,
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_NUHS, KC_ENT,
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, KC_UP,
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT
),
[1] = LAYOUT_all(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
),
};

View File

@ -0,0 +1,7 @@
LTO_ENABLE = yes
VIA_ENABLE = yes
VIAL_ENABLE = yes
TAP_DANCE_ENABLE = no
COMBO_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no

View File

@ -0,0 +1,285 @@
{
"name": "CherryB.Studio CB87RGB",
"vendorId": "0x4342",
"productId": "0x8785",
"lighting": "qmk_backlight_rgblight",
"matrix": { "rows": 10, "cols": 10 },
"layouts": {
"labels": [
"Split Backspace",
["Enter type", "Normal Enter", "ISO Enter" ],
"Split Left Shift",
"Split Right Shift",
["Bottom Row", "Normal 1.25u + 6.25u Space Bar", "1.5u + 7u Space Bar" ]
],
"keymap": [
[
{
"x": 2.75,
"c": "#777777"
},
"0,0",
{
"x": 0.25,
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
{
"x": 0.25
},
"0,5",
"0,6",
"0,7",
"0,8",
{
"x": 0.25
},
"0,9",
"1,0",
"1,1",
"1,2",
{
"x": 0.25
},
"9,1",
{
"x": 0.25
},
"1,3",
"1,4",
"1,5"
],
[
{
"y": 0.25,
"x": 2.75
},
"1,6",
"1,7",
"1,8",
"1,9",
"2,0",
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
{
"c": "#aaaaaa",
"w": 2
},
"3,0\n\n\n0,0",
{
"x": 0.25,
"c": "#cccccc"
},
"3,1",
"3,2",
"3,3",
{
"x": 1
},
"2,9\n\n\n0,1",
"3,0\n\n\n0,1"
],
[
{
"x": 2.75,
"c": "#aaaaaa",
"w": 1.5
},
"3,4",
{
"c": "#cccccc"
},
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"4,0",
"4,1",
"4,2",
"4,3",
"4,4",
"4,5",
"4,6",
{
"c": "#aaaaaa",
"w": 1.5
},
"4,7\n\n\n1,0",
{
"x": 0.25,
"c": "#cccccc"
},
"4,8",
"4,9",
"5,0",
{
"x": 1.75,
"c": "#aaaaaa",
"w": 1.25,
"h": 2,
"w2": 1.5,
"h2": 1,
"x2": -0.25
},
"6,4\n\n\n1,1"
],
[
{
"x": 2.75,
"w": 1.75
},
"5,1",
{
"c": "#cccccc"
},
"5,2",
"5,3",
"5,4",
"5,5",
"5,6",
"5,7",
"5,8",
"5,9",
"6,0",
"6,1",
"6,2",
{
"c": "#777777",
"w": 2.25
},
"6,4\n\n\n1,0",
{
"x": 4,
"c": "#cccccc"
},
"6,3\n\n\n1,1"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"6,5\n\n\n2,1",
"6,6\n\n\n2,1",
{
"x": 0.5,
"w": 2.25
},
"6,5\n\n\n2,0",
{
"c": "#cccccc"
},
"6,7",
"6,8",
"6,9",
"7,0",
"7,1",
"7,2",
"7,3",
"7,4",
"7,5",
"7,6",
{
"c": "#aaaaaa",
"w": 2.75
},
"7,7\n\n\n3,0",
{
"x": 1.25,
"c": "#777777"
},
"7,9",
{
"x": 1.25,
"c": "#aaaaaa",
"w": 1.75
},
"7,7\n\n\n3,1",
"7,8\n\n\n3,1"
],
[
{
"x": 2.75,
"w": 1.25
},
"8,0\n\n\n4,0",
{
"w": 1.25
},
"8,1\n\n\n4,0",
{
"w": 1.25
},
"8,2\n\n\n4,0",
{
"c": "#cccccc",
"w": 6.25
},
"8,3\n\n\n4,0",
{
"c": "#aaaaaa",
"w": 1.25
},
"8,4\n\n\n4,0",
{
"w": 1.25
},
"8,5\n\n\n4,0",
{
"w": 1.25
},
"8,6\n\n\n4,0",
{
"w": 1.25
},
"8,7\n\n\n4,0",
{
"x": 0.25,
"c": "#777777"
},
"8,8",
"8,9",
"9,0"
],
[
{
"y": 0.25,
"x": 2.75,
"c": "#aaaaaa",
"w": 1.5
},
"8,0\n\n\n4,1",
"8,1\n\n\n4,1",
{
"w": 1.5
},
"8,2\n\n\n4,1",
{
"c": "#cccccc",
"w": 7
},
"8,3\n\n\n4,1",
{
"c": "#aaaaaa",
"w": 1.5
},
"8,5\n\n\n4,1",
"8,6\n\n\n4,1",
{
"w": 1.5
},
"8,7\n\n\n4,1"
]
]
}
}