mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 07:16:00 +00:00
Changed enums to use XXX_COUNT for the count or number of values
Fixes https://github.com/libsdl-org/SDL/issues/10763
This commit is contained in:
@@ -813,7 +813,7 @@ static bool HIDAPI_DriverWii_OpenJoystick(SDL_HIDAPI_Device *device, SDL_Joystic
|
||||
// Maximum is Classic Controller + Wiimote
|
||||
joystick->nbuttons = k_eWiiButtons_Max;
|
||||
}
|
||||
joystick->naxes = SDL_GAMEPAD_AXIS_MAX;
|
||||
joystick->naxes = SDL_GAMEPAD_AXIS_COUNT;
|
||||
|
||||
ctx->m_ulLastInput = SDL_GetTicks();
|
||||
|
||||
|
Reference in New Issue
Block a user