Hi!
I’m trying to add a key event to button index for android gamepads:
But i have an error:
How i can to add these keys Gamepad input in Defold?
Hi!
I’m trying to add a key event to button index for android gamepads:
But i have an error:
How i can to add these keys Gamepad input in Defold?
AKEYCODE_DPAD_RIGHT
is not a defined text trigger constant. What you need to do for gamepad input on Defold is this:
You can also use raw gamepad input:
With raw gamepad input you do not need to create a gamepad configuration. You simply create a single input binding for Raw
in the gamepad section of the input bindings.
Thank you so much for this answer and help! I will try it!