bfirsh/jsnes

Why do I call nes.buttonDown(1, jsnes. Controller. Button_SELECR) in button events does not work?

849029780 opened this issue · 3 comments

Using the touchstart event to call other operation events does not workNS@YCR[CQ%B64NM82]X`HNF(1).png

Can successfully load ROM, and there are pictures and sounds, but I can't operate game characters, PC browser and phone browser can't work

I use the jsnes.mini.js library.
I tried to change the example, but still couldn't operate the game. I entered nes.buttonDown (1, jsnes. Controller. BUTTON_START) in the browser command console_ It works occasionally, but it is uncertain

I'm sorry, it's my code problem. ButtonDown and buttonUp are not used at the same time. This problem has been solved