premake/projects/SDL2.lua
changeset 9876 1496e502e51d
parent 9657 fbc01731d914
child 9998 f67cf37e9cd4
--- a/premake/projects/SDL2.lua	Fri Sep 18 16:22:23 2015 -0400
+++ b/premake/projects/SDL2.lua	Sun Sep 20 23:08:36 2015 -0300
@@ -367,7 +367,7 @@
 		SDL_config
 		{
 			["SDL_AUDIO_DRIVER_COREAUDIO"] = 1,
-			["SDL_JOYSTICK_DISABLED"] = 0,
+			["SDL_JOYSTICK_MFI"] = 1,
 			["SDL_HAPTIC_DISABLED"] = 1,
 			["SDL_LOADSO_DISABLED"] = 1,
 			["SDL_THREAD_PTHREAD"] = 1,
@@ -404,5 +404,6 @@
 			"$(SDKROOT)/UIKit.framework",
 			"$(SDKROOT)/Foundation.framework",
 			"$(SDKROOT)/CoreAudio.framework",
-			"$(SDKROOT)/CoreMotion.framework"
+			"$(SDKROOT)/CoreMotion.framework",
+			"$(SDKROOT)/GameController.framework"
 		}