Skip to content

Commit 2914fd3

Browse files
chore: update interface interface_config schema files from MaaFramework
Triggered by 9c0e647 [skip changelog]
1 parent 9c0e647 commit 2914fd3

2 files changed

Lines changed: 26 additions & 2 deletions

File tree

deps/tools/interface.schema.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,8 @@
405405
"Win32",
406406
"MacOS",
407407
"PlayCover",
408-
"Gamepad"
408+
"Gamepad",
409+
"WlRoots"
409410
]
410411
},
411412
"display_short_side": {
@@ -603,6 +604,19 @@
603604
}
604605
},
605606
"additionalProperties": false
607+
},
608+
"wlroots": {
609+
"type": "object",
610+
"title": "WlRoots 控制器配置",
611+
"description": "WlRoots 控制器的具体配置(仅 Linux)",
612+
"properties": {
613+
"wlr_socket_path": {
614+
"type": "string",
615+
"title": "Wayland Socket 路径",
616+
"description": "可选。Wayland Socket 路径,不提供则使用默认"
617+
}
618+
},
619+
"additionalProperties": false
606620
}
607621
},
608622
"required": [

deps/tools/interface_config.schema.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": {
1414
"title": "控制器类型",
1515
"type": "string",
16-
"enum": ["Adb", "Win32", "PlayCover"]
16+
"enum": ["Adb", "Win32", "PlayCover", "WlRoots"]
1717
}
1818
}
1919
},
@@ -53,6 +53,16 @@
5353
}
5454
}
5555
},
56+
"wlroots": {
57+
"title": "WlRoots配置",
58+
"type": "object",
59+
"properties": {
60+
"wlr_socket_path": {
61+
"title": "Wayland Socket路径",
62+
"type": "string"
63+
}
64+
}
65+
},
5666
"resource": {
5767
"title": "激活的资源",
5868
"type": "string"

0 commit comments

Comments
 (0)