1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

delete useless include and open joystick in InputSourceGameController constructor.

This commit is contained in:
kdmcser
2024-04-15 22:43:37 +08:00
parent cee8d34fc5
commit 876bae0b73
7 changed files with 2 additions and 15 deletions

View File

@ -34,7 +34,7 @@ InputSourceGameController::InputSourceGameController():
planDisX(0.0),
planDisY(0.0)
{
// SDL_init has not been called. so it is unnecessary to open joystick.
tryOpenAllGameControllers();
}
void InputSourceGameController::tryOpenAllGameControllers()