This file is indexed.

/usr/share/mixxx/controllers/Pioneer-CDJ-2000-scripts.js is in mixxx-data 2.0.0~dfsg-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
function PioneerCDJ2000() {}

PioneerCDJ2000.debug = false; 
PioneerCDJ2000.jog_sensitivity = 3.0;
PioneerCDJ2000.scratch_sensitivity = 0.5;

PioneerCDJ2000.init = function(id) {}
PioneerCDJ2000.shutdown = function(id) {}

PioneerCDJ2000.jog_wheel = function(channel, control, value, status, group) {
    value = (value-0x40) / PioneerCDJ2000.jog_sensitivity;
    engine.setValue(group,'jog',value);
};

PioneerCDJ2000.jog_scratch = function(channel, control, value, status, group) {
    value = (value-0x40) / PioneerCDJ2000.scratch_sensitivity;
    engine.setValue(group,'jog',value);
};

PioneerCDJ2000.select_track_knob = function(channel, control, value, status, group) {
    if (value >= 0x01 && value <= 0x1e) {
        value = value;
    } else if (value >= 0x62 && value <= 0x7f) {
        value = 0 - (0x7f-value+1);
    } else {
        return;
    }
    engine.setValue(group,'SelectTrackKnob',value);
};