Godot Version
4.3
Question
What could be the reason for a gamepad to not be detected the joystick movements by the Input.get_vector
or Input.get_axis
functions?
I have the InputMap
actions to move mapped with the left joystick but they always give me zero.
Instead I need to get the joystick movement with Input.get_joy_axis(current_device_id, JOY_AXIS_LEFT_X)
for example.
My gamepad is detected well I guess as it allows me to map the actions without any problems.
I tested it on Hardware Tester.
It’s a xbox game controller that displays in my game as:
XInput Gamepad - __XINPUT_DEVICE__