include/SDL_config_winrt.h
changeset 8972 dfc759d7486f
parent 8840 9b6ddcbdea65
child 8973 47fb6a7e7f68
equal deleted inserted replaced
8971:c30e826412d1 8972:dfc759d7486f
    76 # define SIZEOF_VOIDP 4
    76 # define SIZEOF_VOIDP 4
    77 #endif
    77 #endif
    78 
    78 
    79 /* Useful headers */
    79 /* Useful headers */
    80 #define HAVE_DXGI_H 1
    80 #define HAVE_DXGI_H 1
       
    81 #define HAVE_XINPUT_H 1
    81 #define HAVE_LIBC 1
    82 #define HAVE_LIBC 1
    82 #define HAVE_STDIO_H 1
    83 #define HAVE_STDIO_H 1
    83 #define STDC_HEADERS 1
    84 #define STDC_HEADERS 1
    84 #define HAVE_STRING_H 1
    85 #define HAVE_STRING_H 1
    85 #define HAVE_CTYPE_H 1
    86 #define HAVE_CTYPE_H 1
   146 #define SDL_AUDIO_DRIVER_XAUDIO2	1
   147 #define SDL_AUDIO_DRIVER_XAUDIO2	1
   147 #define SDL_AUDIO_DRIVER_DISK	1
   148 #define SDL_AUDIO_DRIVER_DISK	1
   148 #define SDL_AUDIO_DRIVER_DUMMY	1
   149 #define SDL_AUDIO_DRIVER_DUMMY	1
   149 
   150 
   150 /* Enable various input drivers */
   151 /* Enable various input drivers */
   151 // TODO, WinRT: Get haptic support working
       
   152 #define SDL_HAPTIC_DISABLED	1
       
   153 
       
   154 #if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
   152 #if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
   155 #define SDL_JOYSTICK_DISABLED 1
   153 #define SDL_JOYSTICK_DISABLED 1
       
   154 #define SDL_HAPTIC_DISABLED	1
   156 #else
   155 #else
   157 #define SDL_JOYSTICK_XINPUT 1
   156 #define SDL_JOYSTICK_XINPUT 1
       
   157 #define SDL_HAPTIC_XINPUT   1
   158 #endif
   158 #endif
   159 
   159 
   160 /* Enable various shared object loading systems */
   160 /* Enable various shared object loading systems */
   161 #define SDL_LOADSO_WINDOWS	1
   161 #define SDL_LOADSO_WINDOWS	1
   162 
   162