WinRT: added preliminary joystick / game controller support (minus hotplugging)

This commit is contained in:
David Ludwig 2013-05-19 23:30:34 -04:00
parent b2ea4f6eca
commit b919f57c12
6 changed files with 399 additions and 15 deletions

View file

@ -144,8 +144,12 @@ typedef unsigned int uintptr_t;
/* Enable various input drivers */
// TODO, WinRT: Get haptic support working
#define SDL_HAPTIC_DISABLED 1
// TODO, WinRT: Get joystick support working
#define SDL_JOYSTICK_DISABLED 1
#if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
#define SDL_JOYSTICK_DISABLED 1
#else
#define SDL_JOYSTICK_XINPUT 1
#endif
/* Enable various shared object loading systems */
#define SDL_LOADSO_WINDOWS 1