epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
19 stars 1 forks source link

Input.IsButtonTriggered() doesn't always register inputs correctly and sometimes even registers different inputs #468

Open Foks256 opened 2 years ago

Foks256 commented 2 years ago

For example, setting it to only trigger when pressing shift works most of the time just fine, but sometimes it doesn't register the key being pressed (unlike Input.IsActionTriggered() that doesn't have the same issues), also when randomly pressing the shooting keys while holding the shift button down, it can sometimes just "press it" again, which causes issues.

Zamiell commented 2 years ago

Note that the workaround of using IsButtonPressed works completely reliably, so this should be considered a low-priority issue. (End-users can wrap it around some state tracking to create a working IsButtonTriggered for any problematic inputs.)