From 0af899ad1ab3fab63d22f655e8a5ee43ad305ed4 Mon Sep 17 00:00:00 2001 From: mfkiiyd Date: Mon, 9 Jan 2023 18:16:06 +0800 Subject: [PATCH] Create vn.json (#1613) * Create vn.json add keyboard ubest/vn * Create vn.json V3 add ubest/vn --- V3/ubest/vn.json | 201 ++++++++++++++++++++++++++++++++++++++++++ src/ubest/vn/vn.json | 202 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 403 insertions(+) create mode 100644 V3/ubest/vn.json create mode 100644 src/ubest/vn/vn.json diff --git a/V3/ubest/vn.json b/V3/ubest/vn.json new file mode 100644 index 0000000000..f3d1958141 --- /dev/null +++ b/V3/ubest/vn.json @@ -0,0 +1,201 @@ +{ + "name": "VN", + "vendorId": "0x6D66", + "productId": "0x0868", + "matrix": { + "rows": 5, + "cols": 15 + }, + "layouts": { + "labels": [ + "Split Backspace", + "ISO", + "Split Direction" + ], + "keymap": [ + [ + { + "x": 15.5 + }, + "0,13\n\n\n0,1", + "2,13\n\n\n0,1" + ], + [ + { + "x": 2.5 + }, + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "w": 2 + }, + "0,13\n\n\n0,0", + "0,14" + ], + [ + { + "y": -0.25, + "x": 21.25, + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,12\n\n\n1,1" + ], + [ + { + "y": -0.75, + "x": 2.5, + "w": 1.5 + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13\n\n\n1,0", + "1,14" + ], + [ + { + "y": -0.25, + "x": 20.25 + }, + "1,13\n\n\n1,1" + ], + [ + { + "y": -0.75, + "x": 2.5, + "w": 1.75 + }, + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "w": 2.25 + }, + "2,12\n\n\n1,0", + "2,14" + ], + [ + { + "x": 2.5, + "w": 2.25 + }, + "3,0", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "w": 1.75 + }, + "3,12", + "3,13", + "3,14" + ], + [ + { + "x": 2.5, + "w": 1.25 + }, + "4,0\n\n\n2,0", + { + "w": 1.25 + }, + "4,1\n\n\n2,0", + { + "w": 1.25 + }, + "4,3\n\n\n2,0", + { + "w": 5.25 + }, + "4,7\n\n\n2,0", + "4,8\n\n\n2,0", + "4,9\n\n\n2,0", + "4,10\n\n\n2,0", + "4,11\n\n\n2,0", + "4,12\n\n\n2,0", + "4,13\n\n\n2,0", + "4,14\n\n\n2,0" + ], + [ + { + "x": 2.5, + "w": 1.25 + }, + "4,0\n\n\n2,1", + { + "w": 1.25 + }, + "4,1\n\n\n2,1", + { + "w": 1.25 + }, + "4,3\n\n\n2,1", + { + "w": 6.25 + }, + "4,7\n\n\n2,1", + { + "w": 1.25 + }, + "4,8\n\n\n2,1", + { + "w": 1.25 + }, + "4,9\n\n\n2,1", + { + "w": 1.25 + }, + "4,10\n\n\n2,1", + { + "w": 1.25 + }, + "4,11\n\n\n2,1", + "4,14\n\n\n2,1" + ] + ] + } +} diff --git a/src/ubest/vn/vn.json b/src/ubest/vn/vn.json new file mode 100644 index 0000000000..964bec8d42 --- /dev/null +++ b/src/ubest/vn/vn.json @@ -0,0 +1,202 @@ +{ + "name" : "VN", + "vendorId" : "0x6D66", + "productId" : "0x0868", + "lighting": "none", + "matrix": { + "rows": 5, + "cols": 15 + }, + "layouts": { + "labels": [ + "Split Backspace", + "ISO", + "Split Direction" + ], + "keymap": [ + [ + { + "x": 15.5 + }, + "0,13\n\n\n0,1", + "2,13\n\n\n0,1" + ], + [ + { + "x": 2.5 + }, + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "0,6", + "0,7", + "0,8", + "0,9", + "0,10", + "0,11", + "0,12", + { + "w": 2 + }, + "0,13\n\n\n0,0", + "0,14" + ], + [ + { + "y": -0.25, + "x": 21.25, + "w": 1.25, + "h": 2, + "w2": 1.5, + "h2": 1, + "x2": -0.25 + }, + "2,12\n\n\n1,1" + ], + [ + { + "y": -0.75, + "x": 2.5, + "w": 1.5 + }, + "1,0", + "1,1", + "1,2", + "1,3", + "1,4", + "1,5", + "1,6", + "1,7", + "1,8", + "1,9", + "1,10", + "1,11", + "1,12", + { + "w": 1.5 + }, + "1,13\n\n\n1,0", + "1,14" + ], + [ + { + "y": -0.25, + "x": 20.25 + }, + "1,13\n\n\n1,1" + ], + [ + { + "y": -0.75, + "x": 2.5, + "w": 1.75 + }, + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "2,6", + "2,7", + "2,8", + "2,9", + "2,10", + "2,11", + { + "w": 2.25 + }, + "2,12\n\n\n1,0", + "2,14" + ], + [ + { + "x": 2.5, + "w": 2.25 + }, + "3,0", + "3,2", + "3,3", + "3,4", + "3,5", + "3,6", + "3,7", + "3,8", + "3,9", + "3,10", + "3,11", + { + "w": 1.75 + }, + "3,12", + "3,13", + "3,14" + ], + [ + { + "x": 2.5, + "w": 1.25 + }, + "4,0\n\n\n2,0", + { + "w": 1.25 + }, + "4,1\n\n\n2,0", + { + "w": 1.25 + }, + "4,3\n\n\n2,0", + { + "w": 5.25 + }, + "4,7\n\n\n2,0", + "4,8\n\n\n2,0", + "4,9\n\n\n2,0", + "4,10\n\n\n2,0", + "4,11\n\n\n2,0", + "4,12\n\n\n2,0", + "4,13\n\n\n2,0", + "4,14\n\n\n2,0" + ], + [ + { + "x": 2.5, + "w": 1.25 + }, + "4,0\n\n\n2,1", + { + "w": 1.25 + }, + "4,1\n\n\n2,1", + { + "w": 1.25 + }, + "4,3\n\n\n2,1", + { + "w": 6.25 + }, + "4,7\n\n\n2,1", + { + "w": 1.25 + }, + "4,8\n\n\n2,1", + { + "w": 1.25 + }, + "4,9\n\n\n2,1", + { + "w": 1.25 + }, + "4,10\n\n\n2,1", + { + "w": 1.25 + }, + "4,11\n\n\n2,1", + "4,14\n\n\n2,1" + ] + ] + } +}