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?

asked Oct 12, 2017 in Engine by billybillyjim (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.