diff options
author | josepma <josepma@gmail.com> | 2015-12-28 20:52:53 +0100 |
---|---|---|
committer | josepma <josepma@gmail.com> | 2015-12-28 20:52:53 +0100 |
commit | ea8364ff38fd5e25460f81ea47943f7017a40911 (patch) | |
tree | 0af19e97cf1e9e572c6dfd1ff7e32d1923ab6761 /res/controllers/Hercules-DJ-Console-4-Mx-scripts.js | |
parent | b2ca6e6c94a5510ba80435abd54038ce184d82a4 (diff) |
Hercules DJ console 4Mx small fix
AutoDj leds were removed by mistake in previous version, plus added url
to wiki in the mapping.
Diffstat (limited to 'res/controllers/Hercules-DJ-Console-4-Mx-scripts.js')
-rw-r--r-- | res/controllers/Hercules-DJ-Console-4-Mx-scripts.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/res/controllers/Hercules-DJ-Console-4-Mx-scripts.js b/res/controllers/Hercules-DJ-Console-4-Mx-scripts.js index 48140ddbc9..fd32371cd5 100644 --- a/res/controllers/Hercules-DJ-Console-4-Mx-scripts.js +++ b/res/controllers/Hercules-DJ-Console-4-Mx-scripts.js @@ -136,7 +136,9 @@ Hercules4Mx.init = function(id, debugging) { // ignore jog wheel movement: (codes from 0x7A to 0x7D, one for each deck). // midi.sendShortMsg(Hercules4Mx.CC, 0x7A, enable); enable = 0 obey movement, enable = 0x7F ignore movement - // Connect several signals to javascript events, like song load, pre-fader-listen, looks or effects + // Connect several signals to javascript events, like song load, pre-fader-listen, loops or effects + engine.connectControl("[AutoDJ]","enabled","Hercules4Mx.onAutoDJ"); + engine.connectControl("[AutoDJ]","fade_now","Hercules4Mx.onAutoDJFade"); for (i = 1; i <= 4; i++) { engine.connectControl("[Channel" + i + "]", "pfl", "Hercules4Mx.onPreFaderListen"); engine.connectControl("[Channel" + i + "]", "loop_enabled", "Hercules4Mx.onLoopStateChange"); |