Cut Glove is a live sampling and performance instrument built using Max. It was programmed around the Xbox 360 controller. Additionally, the patch has MIDI learn functionality built in, so every parameter can be mapped to any MIDI controller.
You can find out more information and download the latest version here: http://www.rodrigoconstanzo.com/cut-glove
Or you can follow the GitHub repository here: https://github.com/rconstanzo/cut-glove