I see in the Input Bindings there is an option to set Gamepad Triggers, and it shows the Left and Right Sticks and D-Pad, but I don’t see where to assign the other buttons A, B, X, Y? How do I assign these buttons to actions if they’re not in the Input Bindings?
Defold calls the face buttons the right d-pad, since different controllers have different names for those buttons.
Then how would I differentiate from the actual D-Pad and the Face Buttons?
The left d-pad is the real d-pad, the right d-pad is the face buttons.
Ok, thank you.
The way it’s set up is kind of confusing at first. Why not just call them Face Buttons? Since All other gamepads would have them wouldn’t they?
I don’t think Face Buttons is the name used by all controllers. But perhaps it is the standard name nowadays? It surely wasn’t at the time that we assigned names to the different buttons on a controller.
I’ve never heard this term in relation to the buttons.
What does “face” mean here? Is it “typeface”?
Not all controllers have a typeface on the buttons. Some have icons, some have nothing at all.
Instead, we refer to the common hardware functionality between the controllers. I.e. the fact that these buttons are digital buttons (most often anyways).
Compare with “analog stick”.
I’m thinking it is the direction your character is facing.
I don’t think “A, B, X, Y” really conveys a direction though?
No definitely not through their names, but in their arrangement on the gamepad perhaps? Most (all) gamepads have the buttons arranged in a way that they can be used to indicate up, down, left and right.
But I think we are in agreement that we will not change the names in the Defold input bindings. The developer however is free to assign and action ids to the buttons to convey direction.
I think it’s because they’re the buttons on the “face” of the controller.