add nes_joypad function, in emulator using nes_joypad instead of joypad_setkey.