Guitar EAMIR-o is an application that allows button presses from a Guitar Hero game controller to be translated as diatonic chord events. It was developed by V.J. Manzo (http://vjmanzo.com) as part of the EAMIR project (http://eamir.org).
The source requires Max 7 or later and the EAMIR SDK package available through Max in the "Package Manager".