gbdev / homebrewhub

A digital repository of of homebrews, patches, hackroms for old consoles. Provides community submission, tagging and rating features.
https://hh.gbdev.io
GNU General Public License v3.0
44 stars 9 forks source link

The emulator catches unrelated keystrokes in the game page #7

Closed avivace closed 2 years ago

avivace commented 6 years ago

As mentioned on Slack by @dennib , while you are browsing the single-game page, the emulator instantly starts and catches every joypad keystroke.

How we should solve this? Disable input on the emulator till the user focuses on the game canvas? In this case, what is a focus? Clicking the canvas?

avivace commented 6 years ago

Possible solution: Clicking on a text box freezes/disables the emulator, or at least stop the controller part.

avivace commented 3 years ago

27

avivace commented 2 years ago

Should not happen anymore with the new frontend.