godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.08k stars 20.2k forks source link

Xbox One/Series gamepad "View" button is not detected on android 12+ #67920

Open dannygaray60 opened 1 year ago

dannygaray60 commented 1 year ago

Godot version

3.5.1 stable

System information

Android 12 - Samsung A12

Issue description

On android 12+, the "view" button doesn't work.

Steps to reproduce

Create a new Godot Project and assign an action to view button (select-playstation, "-" button on switch). Export and install on android (I tested on Android 12) It's the only button that doesn't work.

Minimal reproduction project

No response

Calinou commented 1 year ago

Does the same button work in other Android games? Does it work on desktop platforms?

dannygaray60 commented 1 year ago

@Calinou yes, the button is working in other games, and is working in old godot version (I tested in a game made with godot 3.3.3). On PC platforms there are no problems

Torguen commented 1 year ago

@dannygaray60 Hey, could you please try the bug I reported for android? This bug needs to be checked. https://github.com/godotengine/godot/issues/67127

dannygaray60 commented 1 year ago

@Torguen on Android 12 and with a Xbox One Gamepad (2nd gen, without Share button) the axis works fine. #67127

dannygaray60 commented 1 year ago

Tested in Godot 4.0 stable + Android 13. The view button doesn't works

dannygaray60 commented 1 year ago

Any way to patch this?

dannygaray60 commented 11 months ago

Tested with Android13 and Xbox Series X controller, have the same issue in Godot4.2 beta1...

dannygaray60 commented 3 months ago

Tried with Godot 3.6beta5 and the result is the same (using Xbox Series Controller)... however the "share" button is detected, but show this error:

E 0:08:20.811   joy_button: Index p_button = -38 is out of bounds (JOY_BUTTON_MAX = 128).
  <C++ Source>  main/input_default.cpp:888 @ joy_button()

But with the "view" button nothing happens. Is this a problem of godot or SDLmapping list?