Skip to content
Browse files

Made the latest XInput + Haptic changes compile and run on WinRT

- Support for the 'Guide' button does not seem to be possible, as
  XInputGetStateEx is not available on WinRT.
- Haptic support appears to be working on WinRT now!
- SDL/WinRT does not allow calls to LoadLibrary or LoadLibraryEx.  The calls
  to those were removed by this change, but only when compiling for WinRT.
  Non-WinRT Windows will continue to detect and load XInput via LoadLibrary and
  GetProcAddress calls.
  • Loading branch information
DavidLudwig committed Jul 4, 2014
1 parent b79e7f3 commit cf4ff728a05fb147a16658f74e70e648263f4295

File 5 of 6 in cf4ff72

@@ -78,7 +78,9 @@ typedef unsigned int uintptr_t;

/* Useful headers */
#define HAVE_DXGI_H 1
#define HAVE_XINPUT_H 1
#define HAVE_LIBC 1
#define HAVE_STDIO_H 1
#define STDC_HEADERS 1

0 comments on commit cf4ff72

Please sign in to comment.