I've been coding an entry for the 7 Day Roguelike Challenge. I have it coded to use my PS4 controller. I have no other controllers. Does anyone know if SDL2 uses equivalent mappings of axis/buttons on Xbox or other controllers? Obviously I want to make a configuration screen but if I don't have time I'd like to know if it is usable by others.
EDIT: Found the solution. I should be using GameController not Joystick. https://discourse.libsdl.org/t/what-is-the-difference-between-controller-and-joystick/25788