mirror of
https://github.com/He4eT/oddkb.git
synced 2026-05-05 01:17:25 +00:00
keymap: port to vial
This commit is contained in:
parent
98c5316442
commit
9cf6903669
3 changed files with 118 additions and 1 deletions
|
|
@ -16,9 +16,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define USE_SERIAL
|
||||
|
||||
#define MASTER_LEFT
|
||||
#define SPLIT_USB_DETECT
|
||||
#define SPLIT_USB_TIMEOUT 2500
|
||||
|
||||
|
||||
#define VIAL_KEYBOARD_UID {0x8A, 0x86, 0x65, 0x9D, 0x13, 0xE1, 0xCB, 0x81}
|
||||
|
||||
// Vial unlock
|
||||
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
|
||||
#define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
|
||||
|
||||
// Vial features
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
|
||||
#define DYNAMIC_MACRO_SIZE 0
|
||||
#define VIAL_TAP_DANCE_ENTRIES 0
|
||||
#define VIAL_COMBO_ENTRIES 0
|
||||
|
|
|
|||
4
rules.mk
Normal file
4
rules.mk
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
VIA_ENABLE = yes
|
||||
VIAL_ENABLE = yes
|
||||
|
||||
LTO_ENABLE = yes
|
||||
101
vial.json
Normal file
101
vial.json
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"name": "Dactyl Manuform (5x6-5)",
|
||||
"vendorId": "0x444D",
|
||||
"productId": "0x3536",
|
||||
"lighting": "none",
|
||||
"matrix": {"rows": 12, "cols": 6},
|
||||
"layouts": {
|
||||
"keymap": [
|
||||
[{"x": 3.5}, "0,3", {"x": 7.5}, "6,2"],
|
||||
[
|
||||
{"y": -0.875, "x": 2.5},
|
||||
"0,2",
|
||||
{"x": 1},
|
||||
"0,4",
|
||||
{"x": 5.5},
|
||||
"6,1",
|
||||
{"x": 1},
|
||||
"6,3"
|
||||
],
|
||||
[{"y": -0.875, "x": 5.5}, "0,5", {"x": 3.5}, "6,0"],
|
||||
[
|
||||
{"y": -0.875, "w": 1.5},
|
||||
"0,0",
|
||||
"0,1",
|
||||
{"x": 11.5},
|
||||
"6,4",
|
||||
{"w": 1.5},
|
||||
"6,5"
|
||||
],
|
||||
[{"y": -0.375, "x": 3.5}, "1,3", {"x": 7.5}, "7,2"],
|
||||
[
|
||||
{"y": -0.875, "x": 2.5},
|
||||
"1,2",
|
||||
{"x": 1},
|
||||
"1,4",
|
||||
{"x": 5.5},
|
||||
"7,1",
|
||||
{"x": 1},
|
||||
"7,3"
|
||||
],
|
||||
[{"y": -0.875, "x": 5.5}, "1,5", {"x": 3.5}, "7,0"],
|
||||
[
|
||||
{"y": -0.875, "w": 1.5},
|
||||
"1,0",
|
||||
"1,1",
|
||||
{"x": 11.5},
|
||||
"7,4",
|
||||
{"w": 1.5},
|
||||
"7,5"
|
||||
],
|
||||
[{"y": -0.375, "x": 3.5}, "2,3", {"x": 7.5}, "8,2"],
|
||||
[
|
||||
{"y": -0.875, "x": 2.5},
|
||||
"2,2",
|
||||
{"x": 1},
|
||||
"2,4",
|
||||
{"x": 5.5},
|
||||
"8,1",
|
||||
{"x": 1},
|
||||
"8,3"
|
||||
],
|
||||
[{"y": -0.875, "x": 5.5}, "2,5", {"x": 3.5}, "8,0"],
|
||||
[
|
||||
{"y": -0.875, "w": 1.5},
|
||||
"2,0",
|
||||
"2,1",
|
||||
{"x": 11.5},
|
||||
"8,4",
|
||||
{"w": 1.5},
|
||||
"8,5"
|
||||
],
|
||||
[{"y": -0.375, "x": 3.5}, "3,3", {"x": 7.5}, "9,2"],
|
||||
[
|
||||
{"y": -0.875, "x": 2.5},
|
||||
"3,2",
|
||||
{"x": 1},
|
||||
"3,4",
|
||||
{"x": 5.5},
|
||||
"9,1",
|
||||
{"x": 1},
|
||||
"9,3"
|
||||
],
|
||||
[{"y": -0.875, "x": 5.5}, "3,5", {"x": 3.5}, "9,0"],
|
||||
[
|
||||
{"y": -0.875, "w": 1.5},
|
||||
"3,0",
|
||||
"3,1",
|
||||
{"x": 11.5},
|
||||
"9,4",
|
||||
{"w": 1.5},
|
||||
"9,5"
|
||||
],
|
||||
[{"y": -0.375, "x": 3.5}, "4,3", {"x": 7.5}, "10,2"],
|
||||
[{"y": -0.875, "x": 2.5}, "4,2", {"x": 9.5}, "10,3"],
|
||||
[{"r": 30, "rx": 5, "ry": 4.5}, "4,4", "5,5", "5,3"],
|
||||
[{"x": 1}, "5,4", "5,2"],
|
||||
[{"r": -30, "rx": 11.5, "x": -3}, "11,2", "11,0", "10,1"],
|
||||
[{"x": -3}, "11,3", "11,1"]
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue