diff --git a/src/platforms/rcore_drm.c b/src/platforms/rcore_drm.c index 3ec3135e1..1a14763df 100644 --- a/src/platforms/rcore_drm.c +++ b/src/platforms/rcore_drm.c @@ -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++) diff --git a/src/raylib.h b/src/raylib.h index 8e5de3aa6..7ab234b79 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -751,7 +751,7 @@ typedef enum { GAMEPAD_AXIS_RIGHT_Y = 3, // Gamepad right stick Y axis GAMEPAD_AXIS_LEFT_TRIGGER = 4, // Gamepad back trigger left, pressure level: [1..-1] GAMEPAD_AXIS_RIGHT_TRIGGER = 5 // Gamepad back trigger right, pressure level: [1..-1] -} GamepadAxis; +} GamepadAxes; // Material map index typedef enum {