diff --git a/keyboards/cherrybstudio/cb87rgb/keymaps/vial/config.h b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/config.h new file mode 100644 index 0000000000..0421e31293 --- /dev/null +++ b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/config.h @@ -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 diff --git a/keyboards/cherrybstudio/cb87rgb/keymaps/vial/keymap.c b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/keymap.c new file mode 100644 index 0000000000..c2db045a64 --- /dev/null +++ b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/keymap.c @@ -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 . +*/ + +#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 + ), +}; + diff --git a/keyboards/cherrybstudio/cb87rgb/keymaps/vial/rules.mk b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/rules.mk new file mode 100644 index 0000000000..b3a07b6d22 --- /dev/null +++ b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/rules.mk @@ -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 diff --git a/keyboards/cherrybstudio/cb87rgb/keymaps/vial/vial.json b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/vial.json new file mode 100644 index 0000000000..ae1424aa71 --- /dev/null +++ b/keyboards/cherrybstudio/cb87rgb/keymaps/vial/vial.json @@ -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" + ] + ] + } + }