Skip to content

Commit

Permalink
Add Vial support for keebio/chiri_ce (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
xommmmmmmm authored Sep 2, 2024
1 parent 313ccb7 commit b3060f8
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 0 deletions.
16 changes: 16 additions & 0 deletions keyboards/keebio/chiri_ce/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID {0x38, 0x44, 0x95, 0x0E, 0x18, 0xF1, 0x64, 0x24}
#define VIAL_UNLOCK_COMBO_ROWS {0,7}
#define VIAL_UNLOCK_COMBO_COLS {1,5}

// Since the outer columns can be broken off, redefine the bootmagic keys as second column from outside
#define BOOTMAGIC_ROW 0
#define BOOTMAGIC_COLUMN 1

#undef BOOTMAGIC_COLUMN_RIGHT
#undef BOOTMAGIC_ROW_RIGHT
#define BOOTMAGIC_ROW_RIGHT 4
#define BOOTMAGIC_COLUMN_RIGHT 1
32 changes: 32 additions & 0 deletions keyboards/keebio/chiri_ce/keymaps/vial/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"config": { "features": {"tri_layer": true} },
"keyboard": "keebio/chiri_ce/rev1",
"keymap": "default",
"layout": "LAYOUT",
"layers": [
[
"KC_TAB" , "KC_Q" , "KC_W" , "KC_E" , "KC_R" , "KC_T" , "KC_Y" , "KC_U" , "KC_I" , "KC_O" , "KC_P" , "KC_DEL" ,
"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" , "QK_GESC", "KC_BSPC", "KC_N" , "KC_M" , "KC_COMM", "KC_DOT" , "KC_SLSH", "KC_RSFT",
"KC_LGUI", "TL_LOWR", "KC_ENT" , "KC_SPC" , "TL_UPPR", "KC_RALT"
],
[
"KC_GRV" , "KC_1" , "KC_2" , "KC_3" , "KC_4" , "KC_5" , "KC_6" , "KC_7" , "KC_8" , "KC_9" , "KC_0" , "KC_BSPC",
"KC_ESC" , "KC_LEFT", "KC_DOWN", "KC_UP" , "KC_RGHT", "KC_LBRC", "KC_RBRC", "KC_P4" , "KC_P5" , "KC_P6" , "KC_PLUS", "KC_PIPE",
"RGB_MOD", "_______", "_______", "_______", "_______", "KC_LCBR", "KC_LPRN", "KC_RPRN", "KC_RCBR", "KC_P1" , "KC_P2" , "KC_P3" , "KC_MINS", "_______",
"_______", "_______", "KC_DEL" , "KC_DEL" , "_______", "KC_P0"
],
[
"RGB_TOG", "KC_EXLM", "KC_AT" , "KC_HASH", "KC_DLR" , "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "QK_BOOT",
"RGB_MOD", "KC_MPRV", "KC_MNXT", "KC_VOLU", "KC_PGUP", "KC_UNDS", "KC_EQL" , "KC_HOME", "RGB_HUI", "RGB_SAI", "RGB_VAI", "KC_BSLS",
"KC_MUTE", "KC_MSTP", "KC_MPLY", "KC_VOLD", "KC_PGDN", "KC_MINS", "KC_LPRN", "_______", "KC_PLUS", "KC_END" , "RGB_HUD", "RGB_SAD", "RGB_VAD", "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
],
[
"KC_F12" , "KC_F1" , "KC_F2" , "KC_F3" , "KC_F4" , "KC_F5" , "KC_F6" , "KC_F7" , "KC_F8" , "KC_F9" , "KC_F10" , "KC_F11" ,
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "EE_CLR" , "QK_BOOT", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "QK_BOOT", "EE_CLR" , "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
]
]
}
3 changes: 3 additions & 0 deletions keyboards/keebio/chiri_ce/keymaps/vial/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
VIALRGB_ENABLE = yes
20 changes: 20 additions & 0 deletions keyboards/keebio/chiri_ce/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"lighting": "vialrgb",
"matrix": {
"rows": 8,
"cols": 6
},
"layouts": {
"labels":[
["Size", "3x6", "3x5"]
],
"keymap": [
[{"y":0.375},"0,0\n\n\n0,0",{"x":-1,"d":true},"0,0\n\n\n0,1","0,1",{"y":-0.25},"0,2",{"y":-0.125},"0,3",{"y":0.125},"0,4",{"y":0.125},"0,5",{"x":4},"4,5",{"y":-0.125},"4,4",{"y":-0.125},"4,3",{"y":0.125},"4,2",{"y":0.25},"4,1","4,0\n\n\n0,0",{"x":-1,"d":true},"4,0\n\n\n0,1"],
["1,0\n\n\n0,0",{"x":-1,"d":true},"1,0\n\n\n0,1","1,1",{"y":-0.25},"1,2",{"y":-0.125},"1,3",{"y":0.125},"1,4",{"y":0.125},"1,5",{"x":4},"5,5",{"y":-0.125},"5,4",{"y":-0.125},"5,3",{"y":0.125},"5,2",{"y":0.25},"5,1","5,0\n\n\n0,0",{"x":-1,"d":true},"5,0\n\n\n0,1"],
["2,0\n\n\n0,0",{"x":-1,"d":true},"2,0\n\n\n0,1","2,1",{"y":-0.25},"2,2",{"y":-0.125},"2,3",{"y":0.125},"2,4",{"y":0.125},"2,5",{"x":4},"6,5",{"y":-0.125},"6,4",{"y":-0.125},"6,3",{"y":0.125},"6,2",{"y":0.25},"6,1","6,0\n\n\n0,0",{"x":-1,"d":true},"6,0\n\n\n0,1"],
[{"x":3.5},"3,2",{"y":0.125},"3,3",{"x":5},"7,3",{"y":-0.125},"7,2"],
[{"r":30,"rx":5.1,"ry":4.925,"y":-1.5,"x":0.25},"3,4",{"y":-1,"x":-1},"3,5"],
[{"r":330,"rx":9.0,"ry":4.925,"y":-1.5,"x":0.4},"7,5",{"y":1,"x":-1},"7,4"]
]
}
}

0 comments on commit b3060f8

Please sign in to comment.