I assume you're talking about midi..... the easiest way would be a cable like this
http://zzounds.com/love.music?p=p.THKTW12MC1&z=1000177054788 it has a midi in and a midi out port and hooks to the joystick port on your computer..... there are many cables like this out there, any of them should do fine.
------------------
John 3:16 For God so loved the world, that He gave His only Son, that whoever believes in Him should not perish, but have everlasting life.