It sounds to me like what you want is
RetroUSB. You have two options, either an actual NES (or SNES) controller with the connector converted to a USB plug or else an adapter that lets you plug your own console controller into USB.
I haven't used one myself, though I keep thinking I'll buy an NES converter, but I've heard good things about them from a few people.