Skip to content

Input.is_action_just_pressed flickers when action is tied to an input axis (joystick direction) #81975

@mieldepoche

Description

@mieldepoche

Godot version

4.2.dev5

System information

linux, wired switch pro controller

Issue description

may be related to #81170 (as before that, my axes were getting stuck, but since then I get this bug). (although I didn't bisect or anything, I just remember that)

I have an action tied to an input axis (a joystick direction).
This happens as I move my joystick in the direction of the action:

simplescreenrecorder-2023-09-20_13.57.30.webm

(red circle is deadzone)

Steps to reproduce

  1. assign a controller axis to an action
  2. print Input.is_action_just_pressed("your_action") in _process
  3. wiggle your stick

Minimal reproduction project

axis_jittering.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