sdl2_frt/src/joystick
David Ludwig 65023e0767 WinRT: Fixed game controller axis mappings
SDL/WinRT currently uses a separate XInput backend from SDL/Win32, as WinRT
has no support for DirectInput.  This change makes SDL/WinRT's XInput
code snag some recently-changed bits from the Win32-specific,
DirectInput + XInput backend, in order to get the SDL_GameController API
working again on WinRT, insofar that axes map to the correct parts.

TODO:
 - test all buttons, making sure WinRT maps buttons the same way that Win32 does
 - consider making the Win32 and WinRT codebases share more stuff, minus
   the sort of duplication happening via this change.  Maybe simulate, or
   stub-out, DirectInput calls when on WinRT?
2014-06-25 22:38:40 -04:00
..
android Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
bsd Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
darwin Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
dummy Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
haiku Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
iphoneos Fixed bug 2603 - iOS: update joystick accelerometer code to use CoreMotion instead of the deprecated UIAccelerometer 2014-06-25 00:20:21 -07:00
linux Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
psp Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
windows Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
winrt WinRT: Fixed game controller axis mappings 2014-06-25 22:38:40 -04:00
SDL_gamecontroller.c Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_gamecontrollerdb.h Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_joystick_c.h Removed SDL_SYS_JoystickNeedsPolling(). 2014-06-14 23:31:23 -04:00
SDL_joystick.c Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
SDL_sysjoystick.h Fixed bug 2553 - Add support to all XInput devices 2014-06-24 13:31:25 -07:00
sort_controllers.py Added a README file regarding WinRT support 2014-04-09 21:29:19 -04:00