Add port options

This commit is contained in:
jakergrossman 2021-10-12 14:18:29 -05:00
parent d2e3df4965
commit 3ac94353de

View File

@ -23,8 +23,9 @@
"configuration":{
"title": "Mind_Reader",
"properties": {
"mindReader.productType":{
"mindreader.productType": {
"type":"string",
"description": "Specifies the LEGO® product.",
"default": "MINDSTORMS® EV3",
"enum": ["MINDSTORMS® EV3", "SPIKE™ Prime"],
"enumDescriptions": [
@ -32,15 +33,25 @@
"LEGO® Education SPIKE™ Prime Set (45678)"
]
},
"mindReader.screenReader":{
"type":"string",
"mindreader.screenReader": {
"type": "string",
"description": "Specifies which screen reader to optimize for.",
"default": "NVDA",
"enum": ["NVDA", "JAWS", "VoiceOver"],
"enum": ["NVDA", "Orca", "VoiceOver"],
"enumDescriptions": [
"NonVisual Desktop Access",
"Job Access With Speech",
"Voice Over"
"NonVisual Desktop Access (Windows)",
"Orca (Linux)",
"Apple VoiceOver (macOS)"
]
},
"mindreader.connection.connectAutomatically": {
"type": "boolean",
"description": "Specifies whether to try to automatically detect and communicate with a connected Hub.",
"default": "true"
},
"mindreader.connection.portPath": {
"type": "string",
"markdownDescription": "Specifies the serial port path to use if `#mindreader.connectAutomatically#` is not set."
}
}
}