Open a terminal and run:
# Create the directory if it doesn't exist
mkdir -p ~/.mixxx/controllersThe mapping file should go in:
~/.mixxx/controllers/
- Launch Mixxx.
- Go to Preferences/Controllers.
- Click Add and select "Pioneer DDJ-FLX2" from the dropdown.
- Click "Load Mapping" and select
DDJ-FLX2.midi.js. - Enable the controller by checking the "Enabled" box.
- Click OK to save.
- Test the Jog Wheels:
- Touch the platter: Should activate scratching (vinyl mode).
- Release touch: Should switch to track seeking.
- Check MIDI Input (Optional):
- In Mixxx Preferences → Controllers, enable "MIDI Debug".
- Monitor if the controller sends signals when touching/jogging.
- Fix 1: Ensure the controller is USB-connected and recognized:
(Should show the DDJ-FLX2.)
lsusb | grep "Pioneer"
- Fix 2: Verify Mixxx has ALSA/JACK access:
If missing, add your user to the
groups | grep audioaudiogroup:(Log out and back in.)sudo usermod -aG audio $USER
- Adjust sensitivity in the script:
Save the file and reload the mapping in Mixxx.
this.jogSensitivity = 0.7; // Increase (0.1–1.0)
- Modify the
touch1/touch2functions:engine.setValue(group, "vinylcontrol_enable", value ? 0 : 1);
To remove:
- Delete the mapping file:
rm ~/.mixxx/controllers/DDJ-FLX2.midi.js - In Mixxx Preferences → Controllers, remove the FLX2 entry.