summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwiftb0y <12380386+Swiftb0y@users.noreply.github.com>2020-05-29 18:17:11 +0200
committerSwiftb0y <12380386+Swiftb0y@users.noreply.github.com>2020-05-29 21:02:03 +0200
commit56e1c7d630c435e733c234ca46a807e0aa3f8982 (patch)
tree777bdf9a19344818a3148bded3295583231a56e0
parent69f050768fa49c034e982b3cc5070a1d7bb31ad9 (diff)
Numark N4 mapping: fixed backwards wheelturns being slow
A user on Zulip reported that turning the wheel backwards is being interpreted by mixxx as slower than spinning it at the same speed forwards. Upon closer inspection, I noticed I made a mistake while interpreting the turn speed sent by the controller.
-rw-r--r--res/controllers/Numark-N4-scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/controllers/Numark-N4-scripts.js b/res/controllers/Numark-N4-scripts.js
index 68bacc626f..95fe08961b 100644
--- a/res/controllers/Numark-N4-scripts.js
+++ b/res/controllers/Numark-N4-scripts.js
@@ -555,7 +555,7 @@ NumarkN4.Deck = function (channel) {
inKey: "jog",
group: theDeck.group,
input: function (channelmidi, control, value, status, group) {
- value=(value<0x40?value:value-0x7F); // centers values at 0
+ value=(value<0x40?value:value-0x80); // centers values at 0
if (theDeck.isSearching) {value*=NumarkN4.searchAmplification;}
if (engine.isScratching(channel)) {
engine.scratchTick(channel,value);