Joystick controls changing between editor and html 5 build?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By billybillyjim
:warning: Old Version Published before Godot 3 was released.

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?