aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/data/options-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/data/options-schema.json')
-rw-r--r--ext/bg/data/options-schema.json34
1 files changed, 25 insertions, 9 deletions
diff --git a/ext/bg/data/options-schema.json b/ext/bg/data/options-schema.json
index 52d96db9..17fe096c 100644
--- a/ext/bg/data/options-schema.json
+++ b/ext/bg/data/options-schema.json
@@ -318,7 +318,7 @@
"scanning": {
"type": "object",
"required": [
- "middleMouse",
+ "inputs",
"touchInputEnabled",
"selectText",
"alphanumeric",
@@ -336,9 +336,30 @@
"layoutAwareScan"
],
"properties": {
- "middleMouse": {
- "type": "boolean",
- "default": true
+ "inputs": {
+ "type": "array",
+ "default": [
+ {
+ "include": "shift",
+ "exclude": ""
+ }
+ ],
+ "items": {
+ "required": [
+ "include",
+ "exclude"
+ ],
+ "properties": {
+ "include": {
+ "type": "string",
+ "default": "shift"
+ },
+ "exclude": {
+ "type": "string",
+ "default": ""
+ }
+ }
+ }
},
"touchInputEnabled": {
"type": "boolean",
@@ -371,11 +392,6 @@
"minimum": 1,
"default": 10
},
- "modifier": {
- "type": "string",
- "enum": ["none", "alt", "ctrl", "shift", "meta"],
- "default": "shift"
- },
"deepDomScan": {
"type": "boolean",
"default": false