Skip to content

Commit

Permalink
add bastardkb tbk-mini vial firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Nheiley committed Jun 8, 2021
1 parent 9a8cca5 commit 16726de
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 1 deletion.
4 changes: 4 additions & 0 deletions keyboards/bastardkb/tbkmini/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#pragma once
#define VIAL_KEYBOARD_UID {0x72, 0xE6, 0xED, 0x4A, 0xE8, 0xE5, 0xB8, 0x5D}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 4 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 0 }
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2021 Quentin LEBASTARD <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
Expand Down
2 changes: 2 additions & 0 deletions keyboards/bastardkb/tbkmini/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIAL_ENABLE = yes
VIA_ENABLE = yes
156 changes: 156 additions & 0 deletions keyboards/bastardkb/tbkmini/keymaps/via/vial.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"name": "TBK Mini",
"vendorId": "0xA8F8",
"productId": "0x1828",
"lighting": { "extends": "qmk_rgblight" },
"matrix": { "rows": 8, "cols": 6 },
"layouts": {
"keymap": [
[
{
"x": 2
},
"0,2",
"0,3",
"0,4",
"0,5",
{
"x": 5
},
"4,5",
"4,4",
"4,3",
"4,2"
],
[
{
"y": -0.5
},
"0,0",
"0,1",
{
"x": 13
},
"4,1",
"4,0"
],
[
{
"y": -0.5,
"x": 2
},
"1,2",
"1,3",
"1,4",
"1,5",
{
"x": 5
},
"5,5",
"5,4",
"5,3",
"5,2"
],
[
{
"y": -0.5
},
"1,0",
"1,1",
{
"x": 13
},
"5,1",
"5,0"
],
[
{
"y": -0.5,
"x": 2
},
"2,2",
"2,3",
"2,4",
"2,5",
{
"x": 5
},
"6,5",
"6, 4",
"6,3",
"6,2"
],
[
{
"y": -0.5
},
"2,0",
"2,1",
{
"x": 13
},
"6,1",
"6,0"
],
[
{
"r": 15,
"rx": 6,
"ry": 3.25,
"y": 0.2400000000000002,
"x": -1.25
},
"3,3"
],
[
{
"r": 23,
"rx": 7,
"ry": 3.75,
"y": 0.1499999999999999,
"x": -1
},
"3,4"
],
[
{
"r": 33,
"rx": 8,
"ry": 4.5,
"y": 0.009999999999999787,
"x": -0.8499999999999996
},
"3,1"
],
[
{
"r": -33,
"rx": 9.25,
"y": 0.009999999999999787,
"x": -0.25
},
"7,1"
],
[
{
"r": -23,
"rx": 10.5,
"ry": 3.75,
"y": 0.08000000000000007,
"x": -0.3699999999999992
},
"7,4"
],
[
{
"r": -15,
"rx": 11.75,
"ry": 3.5,
"y": -0.08000000000000007,
"x": -0.3699999999999992
},
"7,3"
]
]
}
}

0 comments on commit 16726de

Please sign in to comment.