comparison include/SDL_config_iphoneos.h @ 2771:15e69dc6fded

Disabled the Haptic API on iPhone, changed the order of the header to match the other config headers.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Oct 2008 12:22:56 +0000
parents f55c87ae336b
children 99210400e8b9
comparison
equal deleted inserted replaced
2770:c3ff3d5d16f0 2771:15e69dc6fded
30 typedef signed short int16_t; 30 typedef signed short int16_t;
31 typedef unsigned short uint16_t; 31 typedef unsigned short uint16_t;
32 typedef signed int int32_t; 32 typedef signed int int32_t;
33 typedef unsigned int uint32_t; 33 typedef unsigned int uint32_t;
34 typedef unsigned long uintptr_t; 34 typedef unsigned long uintptr_t;
35
36 /* enable iPhone keyboard support */
37 #define SDL_IPHONE_KEYBOARD 1
38
39 /* enable OpenGL ES */
40 #define SDL_VIDEO_OPENGL_ES 1
41 #define SDL_VIDEO_RENDER_OGL_ES 1
42
43 #define SDL_HAS_64BIT_TYPE 1 35 #define SDL_HAS_64BIT_TYPE 1
44
45 /* Enable various timer systems */
46 #define SDL_TIMER_UNIX 1
47
48 /* enable iPhone version of Core Audio driver */
49 #define SDL_AUDIO_DRIVER_COREAUDIOIPHONE 1
50 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
51 #define SDL_AUDIO_DRIVER_DUMMY 1
52
53 /* Enable Unix style SO loading */
54 #define SDL_LOADSO_DLOPEN 1
55
56 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
57 #define SDL_CDROM_DISABLED 1
58
59 /*
60 Set max recognized G-force from acceleromter
61 See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed
62 */
63 #define SDL_IPHONE_MAX_GFORCE 5.0
64 /* Enable emulation of multiple mice through multi-touch */
65 #define SDL_IPHONE_MULTIPLE_MICE 1
66 /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
67 #define SDL_LOADSO_DISABLED 1
68
69 /* Supported video drivers */
70 #define SDL_VIDEO_DRIVER_UIKIT 1
71 #define SDL_VIDEO_DRIVER_DUMMY 1
72
73 /* Enable various threading systems */
74 #define SDL_THREAD_PTHREAD 1
75 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
76 36
77 #define HAVE_ALLOCA_H 1 37 #define HAVE_ALLOCA_H 1
78 #define HAVE_SYS_TYPES_H 1 38 #define HAVE_SYS_TYPES_H 1
79 #define HAVE_STDIO_H 1 39 #define HAVE_STDIO_H 1
80 #define STDC_HEADERS 1 40 #define STDC_HEADERS 1
124 #define HAVE_VSNPRINTF 1 84 #define HAVE_VSNPRINTF 1
125 #define HAVE_SIGACTION 1 85 #define HAVE_SIGACTION 1
126 #define HAVE_SETJMP 1 86 #define HAVE_SETJMP 1
127 #define HAVE_NANOSLEEP 1 87 #define HAVE_NANOSLEEP 1
128 88
89 /* enable iPhone version of Core Audio driver */
90 #define SDL_AUDIO_DRIVER_COREAUDIOIPHONE 1
91 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
92 #define SDL_AUDIO_DRIVER_DUMMY 1
93
94 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
95 #define SDL_CDROM_DISABLED 1
96
97 /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
98 #define SDL_JOYSTICK_DISABLED 1
99
100 /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
101 #define SDL_HAPTIC_DISABLED 1
102
103 /* Enable Unix style SO loading */
104 /* Technically this works, but it violates the iPhone developer agreement */
105 /* #define SDL_LOADSO_DLOPEN 1 */
106
107 /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
108 #define SDL_LOADSO_DISABLED 1
109
110 /* Enable various threading systems */
111 #define SDL_THREAD_PTHREAD 1
112 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
113
114 /* Enable various timer systems */
115 #define SDL_TIMER_UNIX 1
116
117 /* Supported video drivers */
118 #define SDL_VIDEO_DRIVER_UIKIT 1
119 #define SDL_VIDEO_DRIVER_DUMMY 1
120
121 /* enable OpenGL ES */
122 #define SDL_VIDEO_OPENGL_ES 1
123 #define SDL_VIDEO_RENDER_OGL_ES 1
124
125 /* enable iPhone keyboard support */
126 #define SDL_IPHONE_KEYBOARD 1
127
128 /* Enable emulation of multiple mice through multi-touch */
129 #define SDL_IPHONE_MULTIPLE_MICE 1
130
131 /* Set max recognized G-force from acceleromter
132 See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed
133 */
134 #define SDL_IPHONE_MAX_GFORCE 5.0
135
129 #endif /* _SDL_config_iphoneos_h */ 136 #endif /* _SDL_config_iphoneos_h */