Instructions
Open the "Options" menu of your emulator program and choose "Controls" or "Set Controls."
Map the game's action buttons to the keys you want to use. By default, the movement arrows are used to simulate the Nintendo 64's joystick, but these can be changed to other keys, such as the "WASD" configuration, if you prefer.
Press "OK" to return to your emulator. "Super Mario 64" can now be controlled via your computer's keyboard.