We live in a golden age for MIDI controllers. [rheslip]’s contribution to the milieu is a twisty take on the format, in that it’s covered in an array of knobs. Thus the name—Twisty 2.
All switches are connected at one end to a pull-up input, and connect to ground on close. The analog input for the food pedal expects a potentiometer (e.g. 10k). Note that the MIDI output is used.