Remove code added accidently for testing

This commit is contained in:
snippet
2025-10-01 18:43:01 +10:00
parent aac28466ac
commit a8ed7ac7d9
2 changed files with 0 additions and 9 deletions
-5
View File
@@ -158,11 +158,6 @@ bool Joystick::open(int64 deviceid)
else
gamepadType = GAMEPAD_TYPE_UNKNOWN;
}
else
{
auto err = SDL_GetError();
auto t = 1;
}
return isConnected();
}
@@ -49,11 +49,7 @@ JoystickModule::JoystickModule()
int count = 0;
SDL_JoystickID *sticks = SDL_GetJoysticks(&count);
for (int i = 0; i < count; i++)
{
auto test = SDL_OpenGamepad(sticks[i]);
auto err = SDL_GetError();
addJoystick((int64)sticks[i]);
}
SDL_free(sticks);
// Start joystick event watching. Joysticks are automatically added and