I’ve built a raspberry pi 4B + 7" touchscreen system based on the tutorial by timewasternl: Building a standalone DDJ-400 with a Raspberry Pi and Mixxx - DJ TechTools
In addition, I integrated a KY-040 rotary encoder (see picture below) which I plan to use for changing parameters of the GUI such as the zoom level, etc.
The rotary encoder is connected to the RPi’s GPIO and I was able to test it successfully using a little Python script I found on the Internet.
Now I want to integrate this rotary encoder to Mixxx’s mapping system. What’s the best way to proceed?
I guess I need to write a backend (a Linux driver?) which emulates a MIDI controller? Does the Mixxx’s controller system only work for external hardware plugged on USB ports?
(disclaimer, this “mapping” will be quite specific as it’s only for Raspberry Pi, only for this type of rotary encoder, and only on Linux)