mpassignment2 is a little bpatcher that allows you to connect input devices and assign them to whatever you like. Behaves in a similar way to midi learn functions in software like Ableton or Logic. Because it is tied into the pattrstorage system, the assignment can change dynamically. This means a parameter in Max can be controlled by any input device and this can change during performance, or if you have different input devices available on different occasions, or if you decide you don’t like the mapping you originally designed, you don’t need to edit the patch just make a new preset for it.
Lock your patch, click on the mp.assignment2 bpatcher, it will go red. Move a fader, joystick or keyboard and the input device has been assigned.
Requires tinpark_alphabet.txt to work. This is included inside the download.