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":{ "configuration":{
"title": "Mind_Reader", "title": "Mind_Reader",
"properties": { "properties": {
"mindReader.productType":{ "mindreader.productType": {
"type":"string", "type":"string",
"description": "Specifies the LEGO® product.",
"default": "MINDSTORMS® EV3", "default": "MINDSTORMS® EV3",
"enum": ["MINDSTORMS® EV3", "SPIKE™ Prime"], "enum": ["MINDSTORMS® EV3", "SPIKE™ Prime"],
"enumDescriptions": [ "enumDescriptions": [
@ -32,15 +33,25 @@
"LEGO® Education SPIKE™ Prime Set (45678)" "LEGO® Education SPIKE™ Prime Set (45678)"
] ]
}, },
"mindReader.screenReader":{ "mindreader.screenReader": {
"type": "string", "type": "string",
"description": "Specifies which screen reader to optimize for.",
"default": "NVDA", "default": "NVDA",
"enum": ["NVDA", "JAWS", "VoiceOver"], "enum": ["NVDA", "Orca", "VoiceOver"],
"enumDescriptions": [ "enumDescriptions": [
"NonVisual Desktop Access", "NonVisual Desktop Access (Windows)",
"Job Access With Speech", "Orca (Linux)",
"Voice Over" "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."
} }
} }
} }