0 votes

Hi.

I'm completely new to Godot, so maybe there's an obvious solution to this.

When testing out controller compatibility I made a simple script like so:

get_node("Label").set_text(str(Input.is_joy_button_pressed(0,0)))

In the editor and Windows builds, pressing the A button on my controller changes the value to true.
In the html build, pressing the Y button on my controller changes the value to true. This is despite the fact that both the editor and html builds describe the button string as "Face Button Bottom".

The html build also sees the second stick as a different pair of axes than the editor.

Why are they different? Is there any way to make them the same?

in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories