Skip to content

Commit

Permalink
Adds Boardsource Unicorne (#617)
Browse files Browse the repository at this point in the history
Supports RGB Matrix, but not encoder support as I don't have encoders.

Co-authored-by: Less/Rikki <[email protected]>
  • Loading branch information
LukeDRussell and lesshonor authored Dec 16, 2023
1 parent 2ab0d7f commit 0043f1a
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
13 changes: 13 additions & 0 deletions keyboards/boardsource/unicorne/keymaps/vial/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */

#pragma once

#define VIAL_KEYBOARD_UID \
{ 0x73, 0xFD, 0x11, 0x1F, 0x7F, 0x19, 0xC9, 0x33 }

#define VIAL_UNLOCK_COMBO_ROWS \
{ 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS \
{ 0, 1 }

#define DYNAMIC_KEYMAP_LAYER_COUNT 8
32 changes: 32 additions & 0 deletions keyboards/boardsource/unicorne/keymaps/vial/keymap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"keyboard": "boardsource/unicorne",
"keymap": "vial",
"layout": "LAYOUT_split_3x6_3",
"config": {
"features": {
"via": true,
"vial": true,
"vialrgb": true
}
},
"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_1", "KC_2", "KC_3", "KC_4", "KC_5", "KC_6", "KC_7", "KC_8", "KC_9", "KC_0", "_______",
"_______", "KC_EXLM", "KC_AT", "KC_HASH", "KC_DLR", "KC_PERC", "KC_CIRC", "KC_AMPR", "KC_ASTR", "KC_LPRN", "KC_RPRN", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
],
[
"QK_BOOT", "_______", "_______", "_______", "_______", "_______", "RGB_VAI", "RGB_HUI", "RGB_SAI", "RGB_MOD", "RGB_TOG", "_______",
"EE_CLR", "_______", "_______", "_______", "_______", "_______", "RGB_VAD", "RGB_HUD", "RGB_SAD", "RGB_RMOD", "CK_TOGG", "_______",
"_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______", "_______",
"_______", "_______", "_______", "_______", "_______", "_______"
]
]
}
25 changes: 25 additions & 0 deletions keyboards/boardsource/unicorne/keymaps/vial/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"lighting": "vialrgb",
"matrix": {"rows": 8, "cols": 6},
"layouts":{
"keymap":[
[{"y":1,"x":3.5},"0,3",{"x":7.5},"4,3"],
[{"y":-0.875,"x":2.5},"0,2",{"x":1},"0,4",{"x":5.5},"4,4",{"x":1},"4,2"],
[{"y":-0.875,"x":5.5},"0,5",{"x":3.5},"4,5"],
[{"y":-0.875,"x":0.5},"0,0","0,1",{"x":11.5},"4,1","4,0"],
[{"y":-0.375,"x":3.5},"1,3",{"x":7.5},"5,3"],
[{"y":-0.875,"x":2.5},"1,2",{"x":1},"1,4",{"x":5.5},"5,4",{"x":1},"5,2"],
[{"y":-0.875,"x":5.5},"1,5",{"x":3.5},"5,5"],
[{"y":-0.875,"x":0.5},"1,0","1,1",{"x":11.5},"5,1","5,0"],
[{"y":-0.375,"x":3.5},"2,3",{"x":7.5},"6,3"],
[{"y":-0.875,"x":2.5},"2,2",{"x":1},"2,4",{"x":5.5},"6,4",{"x":1},"6,2"],
[{"y":-0.875,"x":5.5},"2,5",{"x":3.5},"6,5"],
[{"y":-0.875,"x":0.5},"2,0","2,1",{"x":11.5},"6,1","6,0"],
[{"y":-0.125,"x":4},"3,3",{"x":6.5},"7,3"],
[{"r":15,"rx":4.5,"ry":9.1,"y":-4.85,"x":-0.5},"3,4"],
[{"r":30,"rx":5.4,"ry":9.3,"y":-5.05,"x":-1.4,"h":1.5},"3,5"],
[{"r":-30,"rx":11.1,"y":-5.05,"x":0.4,"h":1.5},"7,5"],
[{"r":-15,"rx":12,"ry":9.1,"y":-4.85,"x":-0.5},"7,4"]
]
}
}

0 comments on commit 0043f1a

Please sign in to comment.