Skip to content

Joypad trigger buttons incorrectly mapped on Android #108982

@Treidexy

Description

@Treidexy

Tested versions

  • Reproducible in v4.4.1.stable.official.49a5bc7b6

System information

Godot v4.4.1.stable - Arch Linux #1 SMP PREEMPT_DYNAMIC Thu, 22 May 2025 05:37:49 +0000 on Wayland - X11 display driver, Multi-window, 1 monitor - Vulkan (Mobile) - integrated Intel(R) Iris(R) Xe Graphics (RPL-U) - 13th Gen Intel(R) Core(TM) i7-1355U (12 threads)

Issue description

On Linux, the joypad right trigger input correctly reads values between 0 and 1.
On Android, the joypad right trigger begins by reading 0. Then if you press it, it reads 1. But when you release it reads 0.5 and not 0.

The issue persists whether you are using InputEventJoypadMotion.axis_value directly or Input.get_action_strength()

Steps to reproduce

Create a label
Create a script for the label that gets the axis_value of RIGHT_TRIGGER on _input()

Test it out on Linux

  • connect joypad controller
  • press Right Trigger
  • release Right Trigger

Test it out on Android

  • connect joypad controller
  • press Right Trigger
  • release Right Trigger

Minimal reproduction project (MRP)

mrp.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions