From 2b503b55034bb784922cc0cc8174605ee352dfd2 Mon Sep 17 00:00:00 2001 From: Poyeyo Date: Thu, 1 May 2025 20:46:04 +0300 Subject: [PATCH] Fix for Hercules DJControl Inpulse 500 controller mapping: the crossfader was not reaching 100% to the right end --- res/controllers/Hercules-DJControl-Inpulse-500-script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/controllers/Hercules-DJControl-Inpulse-500-script.js b/res/controllers/Hercules-DJControl-Inpulse-500-script.js index afcc008e4923..92194ca722c4 100644 --- a/res/controllers/Hercules-DJControl-Inpulse-500-script.js +++ b/res/controllers/Hercules-DJControl-Inpulse-500-script.js @@ -1152,7 +1152,7 @@ DJCi500.crossfader = function(channel, control, value, status, group) { } engine.setValue(group, "crossfader", result); } else { - engine.setValue(group, "crossfader", (value/64)-1); + engine.setParameter(group, "crossfader", script.absoluteLin(value, 0, 1, 0, 127)); } } };