working on game controller input

This commit is contained in:
2021-08-24 20:20:08 +02:00
parent 23d9bb0e3d
commit 03cbc67cfb

View File

@@ -132,6 +132,8 @@ bool Director::initSDL()
} }
else else
{ {
SDL_JoystickEventState(SDL_ENABLE);
// Establece el filtro de la textura a nearest // Establece el filtro de la textura a nearest
if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "0")) if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "0"))
{ {