I didn't do much, it was mostly based on TOF's code! You can thank him. But hey, we're both Canadian, if that makes a difference

Sorry I don't have an Arduino mini, and i have a slew of other projects, so I can only suggest you try this:
- add the ports to the arduino code as applicable ( the code has to call the new ports through analogRead() )
- add a MAX print statement right after the serial object, where the data comes in.
- bang the serial port slowly to see what comes in form the Arudino.
- modify patch to extract the data coming in.
It would be great if you could figure this out for others to use!
D