include/SDL_config_iphoneos.h
branchgsoc2008_iphone
changeset 2428 826210ef2c10
parent 2408 f0c16f5ecd75
child 2435 775e061e9440
     1.1 --- a/include/SDL_config_iphoneos.h	Fri Aug 15 00:46:58 2008 +0000
     1.2 +++ b/include/SDL_config_iphoneos.h	Fri Aug 15 00:49:49 2008 +0000
     1.3 @@ -66,9 +66,15 @@
     1.4  /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
     1.5  #define SDL_CDROM_DISABLED	1
     1.6  
     1.7 -/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
     1.8 -//#define SDL_JOYSTICK_DISABLED	1
     1.9 -
    1.10 +/* Set max recognized G-force from acceleromter
    1.11 +   (necessary for mapping floating point accelerometer
    1.12 +    data to Sint16 joystick data)
    1.13 + */
    1.14 +#define SDL_IPHONE_MAX_GFORCE 5.0
    1.15 +/*
    1.16 +	Enable (or disable) emulation of multiple mice through multi-touch
    1.17 +*/
    1.18 +#define SDL_IPHONE_MULTIPLE_MICE 1
    1.19  /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
    1.20  #define SDL_LOADSO_DISABLED	1
    1.21