You can use any PC controller, many of which are better than an N64 controller. Or there's even USB adapters to use the actual N64 controller. I have one of those.
I use a Gamecube controller to play my NES/SNES/Genesis/N64/GB/GBC/GBA/DS/PSX games that are on my computer.