Godot version:
3.1
OS/device including version:
Linux
Issue description:
Godot does not recognize joysticks/gamepads with axis only (e.g. rudder pedals). As a result no input events reach the game logic. Happens when compiling with both udev=yes and udev=no.
Code which produces this bug:
https://github.com/godotengine/godot/blob/master/platform/x11/joypad_linux.cpp#L342
(reformatted with values from a gamepad vs my rudder pedals):

The offending line discards any events coming from joysticks that don't have any buttons(test1).
Removing the line fixed the problem for me, but is only a temporary solution.
Steps to reproduce:
- Plug in a joystick without any buttons, only axis
- Have a GDScript with an input function like so:
func _input(event):
print(event)
- Move axis on joystick
- Observe no InputEventJoypadMotion events occuring
Godot version:
3.1
OS/device including version:
Linux
Issue description:
Godot does not recognize joysticks/gamepads with axis only (e.g. rudder pedals). As a result no input events reach the game logic. Happens when compiling with both
udev=yesandudev=no.Code which produces this bug:
https://github.com/godotengine/godot/blob/master/platform/x11/joypad_linux.cpp#L342
(reformatted with values from a gamepad vs my rudder pedals):

The offending line discards any events coming from joysticks that don't have any buttons(
test1).Removing the line fixed the problem for me, but is only a temporary solution.
Steps to reproduce: