diff options
Diffstat (limited to 'config.rhai')
-rw-r--r-- | config.rhai | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.rhai b/config.rhai index aed41d4..5483ade 100644 --- a/config.rhai +++ b/config.rhai @@ -16,6 +16,8 @@ fn pm_control_changed(channel, controller, value) { if controller == 64 { // pedal down if value < 127. pm_set_pedal(value < 127); + } else if controller == 1 { + pm_set_volume(0, value / 127.0); } } |