Fader-Events of Hercules (via libdjconsole) are ignored when sending 0-position
Bug #198400 reported by
b2ag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Low
|
ironstorm |
Bug Description
This Bad causes Mixxx to don't register 0-position for line-faders under linux using Hercules Mk2 (or other via libdjconsole).
I've found an if-statement in herculeslinux.cpp line 216 saying to return (and don't handle this) when second parameter equals zero.
I've also attached bugfix.diff solving this problem.
Alternativ you could restrict the whole if-statement to "first equals 45,40 or 39" to only cancel return for faders.
To post a comment you must log in.
Yup, that looks like a bug.
The intent of that code was to catch button up events and clear the LED.
The if-condition should probably be modified to exclude controls that don't have LEDs (i.e. they aren't buttons).