Skip to content

Commit

Permalink
Support boolean shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Aug 14, 2024
1 parent 64d98a7 commit f28865f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 1 addition & 4 deletions backend/settings_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@
},
"required": [
"name",
"config_elements",
"range_from",
"range_to",
"step",
"config_elements"
],
},
},
Expand Down
10 changes: 9 additions & 1 deletion config/gui-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,12 @@ custom_shortcuts:
invert: true
range_from: -20
range_to: 0
step: 0.5
step: 0.5
type: "number"
- name: "Switch"
config_elements:
- path: ["filters", "GainA", "parameters", "mute"]
invert: false
- path: ["filters", "GainB", "parameters", "mute"]
invert: true
type: "boolean"

0 comments on commit f28865f

Please sign in to comment.