the little cord that connects to the yellow cymbol on the drums of guitar hero world tour ripped off how can i fix it?

it was the little cord that connects to a little plug and the plug connects to the symbol

you could solder it back together by finding out what wire goes to what