From 47dfe5d5fb75c11876af86b7266df8328b84d3e8 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Thu, 28 Mar 2013 21:57:01 -0500 Subject: [PATCH] Quick fix for the joystick event state with GuiInputConfig. --- src/components/GuiInputConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/GuiInputConfig.cpp b/src/components/GuiInputConfig.cpp index c7c9ac1c1..6632fe397 100644 --- a/src/components/GuiInputConfig.cpp +++ b/src/components/GuiInputConfig.cpp @@ -28,6 +28,8 @@ GuiInputConfig::GuiInputConfig() LOG(LogInfo) << "Opening joystick \"" << SDL_JoystickName(0) << "\" for configuration..."; mJoystick = SDL_JoystickOpen(0); } + + SDL_JoystickEventState(SDL_ENABLE); } GuiInputConfig::~GuiInputConfig()