comparison include/SDL_config_iphoneos.h @ 4490:06c7423f8c60

Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now) Updated iPhone demos (which build and run again)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 07 Jul 2010 18:58:51 -0700
parents 42e1092225f9
children c5b9486688ce
comparison
equal deleted inserted replaced
4489:2bb1bfeee9e2 4490:06c7423f8c60
143 143
144 /* Enable system power support */ 144 /* Enable system power support */
145 #define SDL_POWER_UIKIT 1 145 #define SDL_POWER_UIKIT 1
146 146
147 /* enable iPhone keyboard support */ 147 /* enable iPhone keyboard support */
148 #define SDL_IPHONE_KEYBOARD 0 148 #define SDL_IPHONE_KEYBOARD 1
149 149
150 /* Enable emulation of multiple mice through multi-touch */ 150 /* Set max recognized G-force from accelerometer
151 #define SDL_IPHONE_MULTIPLE_MICE 1
152
153 /* Set max recognized G-force from acceleromter
154 See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed 151 See src/joystick/uikit/SDLUIAccelerationDelegate.m for notes on why this is needed
155 */ 152 */
156 #define SDL_IPHONE_MAX_GFORCE 5.0 153 #define SDL_IPHONE_MAX_GFORCE 5.0
157 154
158 #endif /* _SDL_config_iphoneos_h */ 155 #endif /* _SDL_config_iphoneos_h */