diff --git a/backend/settings_schemas.py b/backend/settings_schemas.py index 9cae50a..707be58 100644 --- a/backend/settings_schemas.py +++ b/backend/settings_schemas.py @@ -70,10 +70,7 @@ }, "required": [ "name", - "config_elements", - "range_from", - "range_to", - "step", + "config_elements" ], }, }, diff --git a/config/gui-config.yml b/config/gui-config.yml index e80e08b..92584c0 100644 --- a/config/gui-config.yml +++ b/config/gui-config.yml @@ -42,4 +42,12 @@ custom_shortcuts: invert: true range_from: -20 range_to: 0 - step: 0.5 \ No newline at end of file + 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" \ No newline at end of file