Skip to content

Commit fd9f594

Browse files
chore: update interface schema files from MaaFramework
Triggered by 0feaa9f [skip changelog]
1 parent 0feaa9f commit fd9f594

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

deps/tools/interface.schema.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@
403403
"enum": [
404404
"Adb",
405405
"Win32",
406+
"MacOS",
406407
"PlayCover",
407408
"Gamepad"
408409
]
@@ -515,6 +516,36 @@
515516
},
516517
"additionalProperties": false
517518
},
519+
"macos": {
520+
"type": "object",
521+
"title": "MacOS 控制器配置",
522+
"description": "MacOS 控制器的具体配置",
523+
"properties": {
524+
"title_regex": {
525+
"type": "string",
526+
"title": "窗口标题正则",
527+
"description": "可选。MacOS 控制器搜索窗口标题使用的正则表达式"
528+
},
529+
"input": {
530+
"type": "string",
531+
"title": "输入控制方式",
532+
"description": "可选。MacOS 控制器的输入控制方式,不提供则使用默认",
533+
"enum": [
534+
"GlobalEvent",
535+
"PostToPid"
536+
]
537+
},
538+
"screencap": {
539+
"type": "string",
540+
"title": "截图方式",
541+
"description": "可选。MacOS 控制器的截图方式,不提供则使用默认",
542+
"enum": [
543+
"ScreenCaptureKit"
544+
]
545+
}
546+
},
547+
"additionalProperties": false
548+
},
518549
"playcover": {
519550
"type": "object",
520551
"title": "PlayCover 控制器配置",
@@ -1038,4 +1069,4 @@
10381069
"resource"
10391070
],
10401071
"additionalProperties": false
1041-
}
1072+
}

0 commit comments

Comments
 (0)