Otherwise the position of the button and axis elements won't be correct
@@ -24,13 +24,8 @@
/* Define this for verbose output while mapping controllers */
#define DEBUG_CONTROLLERMAP
-#ifdef __IPHONEOS__
-#define SCREEN_WIDTH 320
-#define SCREEN_HEIGHT 480
-#else
#define SCREEN_WIDTH 512
#define SCREEN_HEIGHT 320
-#endif
#define MARKER_BUTTON 1
#define MARKER_AXIS 2
#ifndef SDL_JOYSTICK_DISABLED
-#define SCREEN_WIDTH 480
-#define SCREEN_HEIGHT 320
/* This is indexed by SDL_GameControllerButton. */
static const struct { int x; int y; } button_positions[] = {