N64-Controllers is a project mainly written in JAVA and C, it's free.
Arduino and Processing projects to allow four N64 controllers to be connected to a computer
404: Not Found