Rename GamepadAxis enum to GamepadAxes (breaking change)

This commit is contained in:
M374LX 2025-05-30 15:23:54 -03:00
commit 7e0ef5ae56

View file

@ -1551,7 +1551,7 @@ static void ConfigureEvdevDevice(char *device)
// ABS_X, ABX_Y for one joystick ABS_RX, ABS_RY for the other and the Z axes for the
// shoulder buttons
// If these are now enumerated you get LJOY_X, LJOY_Y, LEFT_SHOULDERB, RJOY_X, ...
// That means they don't match the GamepadAxis enum
// That means they don't match the GamepadAxes enum
// This could be fixed
int axisIndex = 0;
for (int axis = ABS_X; axis < ABS_PRESSURE; axis++)