[键盘] Vortex Hellcat/PC66 QMK json 除错

楼主: pinkb (b)   2024-11-06 01:57:44
网页版
https://hackmd.io/rynDz2RlJl
https://www.ptt.cc/bbs/Key_Mou_Pad/M.1730829474.A.190.html
Hellcat 是 65% 喷砂压克力船壳结构(Tray Mount)的 RGB 键盘,有含轴的成品键盘,
也有不含轴的套件版本(含DSA键帽&卫星轴)。船壳结构可以避免 Gasket Mount
定位版的固定点,或是 Top Mount 的锁孔露出在半透壳正面影响质感,同时利用定位
板硅胶垫有效减少船壳结构常遇到支撑处和边缘打感不一的问题。
主板延用非三模版本的 PC66 QMK,虽然写支援 Via/Vial/QMK,
但只有 Vial https://vial.rocks 可以直接使用,不用折腾。
Via 部分因为目前官网下载的 json 档都要除错之后才能加载改键,
对没有除错能力的入门使用者来说不太友好,喜欢折腾的再往下看。
QMK 部分若是使用 QMK Configurator https://config.qmk.fm/
也搜寻不到能对应的键盘型号,所以也用不了。
▼ 内容物共两盒,一盒是键盘,包含外纸盒(未入镜)、携行箱(未入镜)、
键盘本体(已组)、保固卡、贴纸x3、螺丝螺柱包(应该是多给的)。
https://imgur.com/6slJWLd.jpg
未组套件的开箱,可以参考 Oliver Granlund 的开箱。
https://olli.works/post/vortex-hellcat-keyboard-review-sponsored/
▼ 另一盒是 DSA Hellcat 键帽,美规版本配置如下:
https://imgur.com/sSWl8ZO.jpg
没有 Del 和 Fn,Fn 可使用 PN 或是个性来替代,
美规版本也没有欧规版本需要的键帽。
6.25u 空白键微弯,对打感没什么影响。
有键帽盒可以收纳换下来的键帽,算是还不错的。
测试触发
测试触发其实用线上键盘测试网站就好,
不过还是用 Via 官网 https://via.evove.top/ 来测。
接线后能辨识出和 PC66 QMK 一样的 M77_US_1 ,但是配置没有自动加载,
要手动加载 json 档。先点选上排选单左边第二个图示 KEY TESTER 测试触发。
方向上的右边和右 Alt 右边的这两个键应该是切层,所以单独按不会触发,
要使用组合键像是 Fn+1 来测试。
json 除错
官网json档下载位置:左上角选单 → 技术支援 → VIA ViaL Json&更新档
Hellcat DIY KIT (VIA 适用版本: 1.3.1)
缩网址
https://tinyurl.com/yu2atdud
https://cdn.shopify.com/s/files/1/0653/2812/0033/files/
Hellcat_Via_Json_files.zip
解压之后会有两个档(不能通用)
Hellcat_ISO_via.json (欧规)
Hellcat_US_via.json (美规,可和 PC66 QMK 通用)
点选 Design 分页(上排左边第三个图示),因为使用到 lighting 相关灯效参数,
所以需要勾选 V2 Definitions,如果没有勾选 Use V2 Definitions 就直接
Load Draft Definition 加载解压缩的 Json 档,会出现错误讯息:
Hellcat_US_via.json Object: should NOT have additional properties
勾选 Use V2 Definitions (deprecated) 再 Load Draft Definition
解压缩的 Json 档,则会出现另ㄧ个错误讯息:
Error: `Row,col` pairs must be placed in the top-left legend in
the KLE keymap provided in definition
大意是 json 档里面有格式上的语法错误,用文字编辑软件打开 json 档,
把 9-123 行贴到 KLE (https://www.keyboard-layout-editor.com/) 的
Raw Data 分页。
https://imgur.com/CPAAOY7.png
错误原因为空白键的矩阵 "4,7" 在格式设到居中("a": 7),以致于无法正常
读取,必须改回默认的左上角。
把110行(欧规版本则是116行)的
"a": 7,
这一整行删掉再储存,然后重新 Load 再连接就可以加载 Layout 了,
如果 Layout 加载一半就卡住,那就关掉浏览器或是 Reload Via 的
网页再连接即可。
114-116行(欧规版本则是120-122行)为还原左上角的设定,可删可不删,建议顺手删。
{
"a": 4
},
▼ 加载后的 Via 画面
https://imgur.com/QjjJfG6.jpg
▼ Via 左下角的 Lighting 选单,相关的设定没有作用,
也不会读取键盘目前的灯效设定,要改灯效只能用实体按键按出来。
https://imgur.com/WeIYmnK.jpg
默认的灯效:
Fn + E = 开关灯 RGB Toggle
Fn + R = 灯效切换 RGB Mode+
Fn + T = 轴灯/底灯/轴灯+底灯切换 0x5DB1
Fn + 上 / Fn + 下 = Sat+ / Sat- 调整饱和度
Fn + 左 / Fn + 右 = Hue+ / Hue- 调整色相
Fn + PageUp = Brght+ 增加亮度
Fn + PageDown = Brght- 减少亮度
国外官网(https://vortexgear.store) 找到一个2024.06.05版本的 json,
据说是能解决这个无法设定灯效的问题
Latest firmware release notes - 2024.06.05 :
Fixed the issue of not be able to control the light settings through VIA
(ANSI layout only)
缩网址:
https://tinyurl.com/bdhbv9bd
https://cdn.shopify.com/s/files/1/0575/2278/2371/files/
Hellcat_PC66_QMK_us1_via_JOSN_240605.json
但实际上也有语法错误无法正常加载的问题,修正语法的错误之后,
一样无法从选单来设定灯效。
改用 Vial (https://vial.rocks) 也是一样无法从选单来设定灯效。
▼ 如果要套用Via键帽配色,则要修正如下
Hellcat_US_via.json (非官方修正版)
https://imgur.com/gtyogfa.png
{
"name": "M77_US1",
"vendorId": "0xEB88",
"productId": "0x0014",
"lighting": "qmk_rgblight",
"matrix": {"rows": 5, "cols": 15},
"layouts": {
"keymap": [
[
{"c": "#777777"},
"0,0",
{"c": "#cccccc"},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
{"c": "#aaaaaa","w": 2},
"0,13",
"0,14"
],
[
{"w": 1.5},
"1,0",
{"c": "#cccccc"},
"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",
{"c": "#aaaaaa"},
"1,14"
],
[
{"w": 1.75},
"2,0",
{"c": "#cccccc"},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
{"c": "#777777","w": 2.25},
"2,13",
{"c": "#aaaaaa"},
"2,14"
],
[
{"w": 2.25},
"3,0",
{"c": "#cccccc"},
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{"c": "#aaaaaa","w": 1.75},
"3,12",
"3,13",
"3,14"
],
[
{"w": 1.25},
"4,0",
{"w": 1.25},
"4,1",
{"w": 1.25},
"4,2",
{"c": "#cccccc","w": 6.25},
"4,7",
{"c": "#aaaaaa"},
"4,9",
"4,10",
"4,11",
"4,12",
"4,13",
"4,14"
]
]
}
}
Hellcat_ISO_via.json (非官方修正版)
https://imgur.com/C1Iz8rZ.png
{
"name": "M77_EU1",
"vendorId": "0xEB88",
"productId": "0x0012",
"lighting": "qmk_rgblight",
"matrix": {"rows": 5, "cols": 15},
"layouts": {
"keymap": [
[
{"c": "#777777"},
"0,0",
{"c": "#cccccc"},
"0,1",
"0,2",
"0,3",
"0,4",
"0,5",
"0,6",
"0,7",
"0,8",
"0,9",
"0,10",
"0,11",
"0,12",
{"c": "#aaaaaa","w": 2},
"0,13",
"0,14"
],
[
{"w": 1.5},
"1,0",
{"c": "#cccccc"},
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{"c": "#777777","x": 0.25,"w": 1.25,"h": 2,"w2": 1.5,
"h2": 1,"x2": -0.25},
"1,13",
{"c": "#aaaaaa"},
"1,14"
],
[
{"w": 1.75},
"2,0",
{"c": "#cccccc"},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
"2,12",
{"c": "#aaaaaa","x": 1.25},
"2,14"
],
[
{"w": 1.25},
"3,0",
{"c": "#cccccc"},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{"c": "#aaaaaa","w": 1.75},
"3,12",
"3,13",
"3,14"
],
[
{"w": 1.25},
"4,0",
{"w": 1.25},
"4,1",
{"w": 1.25},
"4,2",
{"c": "#cccccc","w": 6.25},
"4,7",
{"c": "#aaaaaa"},
"4,9",
"4,10",
"4,11",
"4,12",
"4,13",
"4,14"
]
]
}
}
▼ 这样就能套用 Via 的键帽配色了。
https://imgur.com/fBfnpI0.jpg
Vial 用的 uf2 档就没有另做测试了
疏漏之处还请各位补充及指正。
作者: afuu (平凡)   2024-11-06 08:21:00
谢谢分享
作者: ediward   2024-11-06 22:22:00
看不懂 但是推
作者: Edge5566 (阿吉56~~~棒吉了)   2024-11-10 16:00:00
推一个

Links booklink

Contact Us: admin [ a t ] ucptt.com