qmk-keychron-q3-colemak-dh/keyboards/cherrybstudio/cb87rgb/keymaps/vial/config.h
WrinkleKrinkles ba3099495a
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
2022-07-02 14:42:49 -06:00

51 lines
2.0 KiB
C

/* 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