Skip to content

Axis-based actions can get stuck as pressed #81164

@KoBeWi

Description

@KoBeWi

Godot version

4.2 bc88dca

System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

Issue description

After #80859 if you have an action that uses joypad axis, it can get stuck very easily and don't get released until more input. The pressed counter can go above 1, because multiple pressed events are received in a row, without equivalent release events that would release the action.

Steps to reproduce

  1. Create an action that uses joypad axis event
  2. Start the project and press the action a few times
  3. Eventually it will not release

Minimal reproduction project

BrokenAxis.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions