Some game controllers have hats. A hat works like a d-pad but should NOT be mapped as a d-pad. This results in conflicting bindings as seen in #60862.
The offending code is in Input::joy_hat which is in core\input\input.cpp
Edit:
Seems like JoypadWindows::process_joypads() only supports 1 hat while JoypadMacOS::process_joypads() and JoypadLinux::process_joypads() can have multiple hats, but since they all go through Input::joy_hat they all get mapped as a d-pad
Godot version
v4.2.beta.custom_build [a574c0296]
System information
Windows 11 - Logitech G X52
Issue description
Some game controllers have hats. A hat works like a d-pad but should NOT be mapped as a d-pad. This results in conflicting bindings as seen in #60862. The offending code is in
Input::joy_hat
which is incore\input\input.cpp
Edit: Seems like
JoypadWindows::process_joypads()
only supports 1 hat whileJoypadMacOS::process_joypads()
andJoypadLinux::process_joypads()
can have multiple hats, but since they all go throughInput::joy_hat
they all get mapped as a d-padSteps to reproduce
Not relevant
Minimal reproduction project
Not relevant