pagefaultgames / pokerogue

A browser based Pokémon fangame heavily inspired by the roguelite genre.
https://pokerogue.net
GNU Affero General Public License v3.0
4.05k stars 1.62k forks source link

Repeated phantom inputs #1288

Open mslhutchinson opened 1 month ago

mslhutchinson commented 1 month ago

I've attached a video showing the issue.

This video shows the main menu of the game. I press down (or S) and it scrolls all the way to the bottom. I then press up (or W) and it then alternates between the bottom two menu entries forever, as if I am pressing up & down repeatedly.

https://github.com/pagefaultgames/pokerogue/assets/97957561/d5b03bc4-4ce4-4fbf-a525-43b658a54fd1

In another example, the first input I press on the main menu is enter (or z/space). In this case it acts as though the same input is being pressed repeatedly. It gets stuck on a pokemon summary screen where the button would have no effect. At this point I press X, and from this point it acts as if I am alternating between Z and X.

https://github.com/pagefaultgames/pokerogue/assets/97957561/fe04b2c1-7a22-4f08-8ce6-72a0b4d65f10

This issue has occurred for me on two different Windows 11 PCs and three different browsers (chrome, edge, firefox)

I've found a few places where people have reported the same issue but never a solution.

mslhutchinson commented 1 month ago

a couple of instances where I have found mention of this issue:

https://www.reddit.com/r/pokerogue/comments/1cgiy51/phantom_inputs/ https://www.reddit.com/r/pokerogue/comments/1bztiyy/directional_inputs_not_working/

mslhutchinson commented 1 month ago

As a side note, after doing some digging I found this - which allowed me to use the game without the issue occurring.

https://github.com/Admiral-Billy/Pokerogue-App/releases/tag/v2.0.1

Deviousretard commented 1 month ago

I've noticed a similar issue; button presses sticking; doesn't seem happen chromium based browsers. Must have something to do with polling rate of firefox?

Cappan commented 1 month ago

I've noticed a similar issue; button presses sticking; doesn't seem happen chromium based browsers. Must have something to do with polling rate of firefox?

I can personally confirm that this does happen in Chromium-based browsers.