From 03cbc67cfb63a4dddbe0d5bf5110b95097790508 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Tue, 24 Aug 2021 20:20:08 +0200 Subject: [PATCH] working on game controller input --- source/director.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/director.cpp b/source/director.cpp index f8a0e83..7b0d513 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -132,6 +132,8 @@ bool Director::initSDL() } else { + SDL_JoystickEventState(SDL_ENABLE); + // Establece el filtro de la textura a nearest if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "0")) {