Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for splitkb.com keyboards #627

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial-minimal/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright 2023 splitkb.com <support@splitkb.com> */

#pragma once

#define VIAL_KEYBOARD_UID {0x89, 0x87, 0xB7, 0x0F, 0x54, 0x23, 0xC2, 0xE8}

#define VIAL_UNLOCK_COMBO_ROWS { 0, 4 }
#define VIAL_UNLOCK_COMBO_COLS { 5, 5 }

#define NO_ACTION_ONESHOT
38 changes: 38 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial-minimal/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"keyboard": "splitkb/aurora/corne/rev1",
"keymap": "vial",
"version": 1,
"layout": "LAYOUT_split_3x6_3",
"layers": [
[
"KC_TAB" , "KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T" , "KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P" , "KC_BSPC" ,
"KC_LCTL" , "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_N" , "KC_M" , "KC_COMM" , "KC_DOT" , "KC_SLSH" , "KC_ESC" ,
"KC_LGUI" , "MO(1)" , "KC_SPC" , "KC_ENT" , "MO(2)" , "KC_RALT"
],
[
"KC_TAB" , "KC_1" , "KC_2" , "KC_3" , "KC_4" , "KC_5" , "KC_6" , "KC_7" , "KC_8" , "KC_9" , "KC_0" , "KC_BSPC" ,
"KC_LCTL" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "KC_LEFT" , "KC_DOWN" , "KC_UP" , "KC_RIGHT", "XXXXXXX" , "XXXXXXX" ,
"KC_LSFT" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"KC_LGUI" , "_______" , "KC_SPC" , "KC_ENT" , "MO(3)" , "KC_RALT"
],
[
"KC_TAB" , "KC_EXLM" , "KC_AT" , "KC_HASH" , "KC_DLR" , "KC_PERC" , "KC_CIRC" , "KC_AMPR" , "KC_ASTR" , "KC_LPRN" , "KC_RPRN" , "KC_BSPC" ,
"KC_LCTL" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "KC_MINS" , "KC_EQL" , "KC_LBRC" , "KC_RBRC" , "KC_BSLS" , "KC_GRV" ,
"KC_LSFT" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "KC_UNDS" , "KC_PLUS" , "KC_LCBR" , "KC_RCBR" , "KC_PIPE" , "KC_TILD" ,
"KC_LGUI" , "MO(3)" , "KC_SPC" , "KC_ENT" , "_______" , "KC_RALT"
],
[
"QK_BOOT" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"RGB_TOG" , "RGB_HUI" , "RGB_SAI" , "RGB_VAI" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"RGB_MOD" , "RGB_HUD" , "RGB_SAD" , "RGB_VAD" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"KC_LGUI" , "_______" , "KC_SPC" , "KC_ENT" , "_______" , "KC_RALT"
]
],
"encoders": [
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}],
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}],
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}],
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}]
]
}
12 changes: 12 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial-minimal/oneshot_shim.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright 2023 splitkb.com <support@splitkb.com> */

#include QMK_KEYBOARD_H

// The atmega32u4 builds have NO_ACTION_ONESHOT defined due to space issues,
// but helix.c uses `get_oneshot_mods()`.
// This provides a no-op shim.

uint8_t get_oneshot_mods(void) {
return 0;
}
16 changes: 16 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial-minimal/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes

ENCODER_MAP_ENABLE = yes

# A default 32u4 build is more than 8k oversized,
# so we have to disable some less-common / expert-level features.
GRAVE_ESC_ENABLE = no
SPACE_CADET_ENABLE = no
MAGIC_ENABLE = no
KEY_OVERRIDE_ENABLE = no
MOUSEKEY_ENABLE = no
COMBO_ENABLE = no
QMK_SETTINGS = no

SRC+=oneshot_shim.c
30 changes: 30 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial-minimal/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"lighting": "qmk_rgblight",
"matrix": {
"rows": 8,
"cols": 6
},
"layouts": {
"keymap": [
[{"x":3},"0,3",{"x":7},"4,3"],
[{"y":-0.9,"x":2},"0,2"],
[{"y":-1,"x":4},"0,4",{"x":5},"4,4",{"x":1},"4,2"],
[{"y":-0.9,"x":5},"0,5",{"x":3},"4,5"],
[{"y":-0.9},"0,0","0,1",{"x":11},"4,1","4,0"],
[{"y":-0.3,"x":3},"1,3",{"x":7},"5,3"],
[{"y":-0.9,"x":2},"1,2",{"x":1},"1,4",{"x":5},"5,4",{"x":1},"5,2"],
[{"y":-0.9,"x":5},"1,5",{"x":3},"5,5"],
[{"y":-0.9},"1,0","1,1",{"x":11},"5,1","5,0"],
[{"y":-0.3,"x":3},"2,3",{"x":7},"6,3"],
[{"y":-0.9,"x":2},"2,2",{"x":1},"2,4",{"x":5},"6,4",{"x":1},"6,2"],
[{"y":-0.9,"x":5},"2,5",{"x":3},"6,5"],
[{"y":-0.9},"2,0","2,1",{"x":11},"6,1","6,0"],
[{"y":-0.2,"x":3.5},"3,3",{"x":6},"7,3"],
[{"y":-0.35},"0,0\n\n\n\n\n\n\n\n\ne","0,1\n\n\n\n\n\n\n\n\ne",{"x":11},"0,1\n\n\n\n\n\n\n\n\ne","1,0\n\n\n\n\n\n\n\n\ne"],
[{"r":15,"rx":4.5,"ry":4.1,"y":-1},"3,4"],
[{"r":30,"rx":5.4,"ry":4.3,"y":-1.5,"x":0.1,"h":1.5},"3,5"],
[{"r":-30,"rx":9.6,"y":-1.5,"x":-1.1,"h":1.5},"7,5"],
[{"r":-15,"rx":10.5,"ry":4.1,"y":-1,"x":-1},"7,4"]
]
}
}
12 changes: 12 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Copyright 2023 splitkb.com <support@splitkb.com> */

#pragma once

#define VIAL_KEYBOARD_UID {0x89, 0x87, 0xB7, 0x0F, 0x54, 0x23, 0xC2, 0xE8}

#define VIAL_UNLOCK_COMBO_ROWS { 0, 4 }
#define VIAL_UNLOCK_COMBO_COLS { 5, 5 }

#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
93 changes: 93 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"keyboard": "splitkb/aurora/corne/rev1",
"keymap": "vial",
"version": 1,
"layout": "LAYOUT_split_3x6_3",
"layers": [
[
"KC_TAB" , "KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T" , "KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P" , "KC_BSPC" ,
"KC_LCTL" , "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_N" , "KC_M" , "KC_COMM" , "KC_DOT" , "KC_SLSH" , "KC_ESC" ,
"KC_LGUI" , "MO(1)" , "KC_SPC" , "KC_ENT" , "MO(2)" , "KC_RALT"
],
[
"KC_TAB" , "KC_1" , "KC_2" , "KC_3" , "KC_4" , "KC_5" , "KC_6" , "KC_7" , "KC_8" , "KC_9" , "KC_0" , "KC_BSPC" ,
"KC_LCTL" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "KC_LEFT" , "KC_DOWN" , "KC_UP" , "KC_RIGHT", "XXXXXXX" , "XXXXXXX" ,
"KC_LSFT" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"KC_LGUI" , "_______" , "KC_SPC" , "KC_ENT" , "MO(3)" , "KC_RALT"
],
[
"KC_TAB" , "KC_EXLM" , "KC_AT" , "KC_HASH" , "KC_DLR" , "KC_PERC" , "KC_CIRC" , "KC_AMPR" , "KC_ASTR" , "KC_LPRN" , "KC_RPRN" , "KC_BSPC" ,
"KC_LCTL" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "KC_MINS" , "KC_EQL" , "KC_LBRC" , "KC_RBRC" , "KC_BSLS" , "KC_GRV" ,
"KC_LSFT" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "KC_UNDS" , "KC_PLUS" , "KC_LCBR" , "KC_RCBR" , "KC_PIPE" , "KC_TILD" ,
"KC_LGUI" , "MO(3)" , "KC_SPC" , "KC_ENT" , "_______" , "KC_RALT"
],
[
"QK_BOOT" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"RGB_TOG" , "RGB_HUI" , "RGB_SAI" , "RGB_VAI" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"RGB_MOD" , "RGB_HUD" , "RGB_SAD" , "RGB_VAD" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" , "XXXXXXX" ,
"KC_LGUI" , "_______" , "KC_SPC" , "KC_ENT" , "_______" , "KC_RALT"
]
],
"encoders": [
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}],
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}],
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}],
[{"ccw": "KC_VOLD", "cw": "KC_VOLU"}, {"ccw": "KC_PGUP", "cw": "KC_PGDN"}]
],
"config": {
"rgb_matrix": {
"animations": {
"solid_color": true,
"alphas_mods": true,
"gradient_up_down": true,
"gradient_left_right": true,
"breathing": true,
"band_sat": true,
"band_val": true,
"band_pinwheel_sat": true,
"band_pinwheel_val": true,
"band_spiral_sat": true,
"band_spiral_val": true,
"cycle_all": true,
"cycle_left_right": true,
"cycle_up_down": true,
"cycle_out_in": true,
"cycle_out_in_dual": true,
"rainbow_moving_chevron": true,
"cycle_pinwheel": true,
"cycle_spiral": true,
"dual_beacon": true,
"rainbow_beacon": true,
"rainbow_pinwheels": true,
"flower_blooming": true,
"raindrops": true,
"jellybean_raindrops": true,
"hue_breathing": true,
"hue_pendulum": true,
"hue_wave": true,
"pixel_fractal": true,
"pixel_flow": true,
"pixel_rain": true,
"typing_heatmap": true,
"digital_rain": true,
"solid_reactive_simple": true,
"solid_reactive": true,
"solid_reactive_wide": true,
"solid_reactive_multiwide": true,
"solid_reactive_cross": true,
"solid_reactive_multicross": true,
"solid_reactive_nexus": true,
"solid_reactive_multinexus": true,
"splash": true,
"multisplash": true,
"solid_splash": true,
"solid_multisplash": true,
"starlight": true,
"starlight_dual_hue": true,
"starlight_dual_sat": true,
"riverflow": true
}
}
}
}
5 changes: 5 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIALRGB_ENABLE = yes

ENCODER_MAP_ENABLE = yes
30 changes: 30 additions & 0 deletions keyboards/splitkb/aurora/corne/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"lighting": "vialrgb",
"matrix": {
"rows": 8,
"cols": 6
},
"layouts": {
"keymap": [
[{"x":3},"0,3",{"x":7},"4,3"],
[{"y":-0.9,"x":2},"0,2"],
[{"y":-1,"x":4},"0,4",{"x":5},"4,4",{"x":1},"4,2"],
[{"y":-0.9,"x":5},"0,5",{"x":3},"4,5"],
[{"y":-0.9},"0,0","0,1",{"x":11},"4,1","4,0"],
[{"y":-0.3,"x":3},"1,3",{"x":7},"5,3"],
[{"y":-0.9,"x":2},"1,2",{"x":1},"1,4",{"x":5},"5,4",{"x":1},"5,2"],
[{"y":-0.9,"x":5},"1,5",{"x":3},"5,5"],
[{"y":-0.9},"1,0","1,1",{"x":11},"5,1","5,0"],
[{"y":-0.3,"x":3},"2,3",{"x":7},"6,3"],
[{"y":-0.9,"x":2},"2,2",{"x":1},"2,4",{"x":5},"6,4",{"x":1},"6,2"],
[{"y":-0.9,"x":5},"2,5",{"x":3},"6,5"],
[{"y":-0.9},"2,0","2,1",{"x":11},"6,1","6,0"],
[{"y":-0.2,"x":3.5},"3,3",{"x":6},"7,3"],
[{"y":-0.35},"0,0\n\n\n\n\n\n\n\n\ne","0,1\n\n\n\n\n\n\n\n\ne",{"x":11},"0,1\n\n\n\n\n\n\n\n\ne","1,0\n\n\n\n\n\n\n\n\ne"],
[{"r":15,"rx":4.5,"ry":4.1,"y":-1},"3,4"],
[{"r":30,"rx":5.4,"ry":4.3,"y":-1.5,"x":0.1,"h":1.5},"3,5"],
[{"r":-30,"rx":9.6,"y":-1.5,"x":-1.1,"h":1.5},"7,5"],
[{"r":-15,"rx":10.5,"ry":4.1,"y":-1,"x":-1},"7,4"]
]
}
}
21 changes: 21 additions & 0 deletions keyboards/splitkb/aurora/helix/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* Copyright 2023 splitkb.com <support@splitkb.com>
*
* 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/>.
*/

#pragma once

#ifdef OLED_ENABLE
# define OLED_FONT_H "keyboards/splitkb/aurora/helix/glcdfont.c"
#endif
Loading