Sam Lantinga
aea1a556ac
Guess the USB VID/PID of XInput devices
2016-11-24 12:24:22 -08:00
Sam Lantinga
1b032a0419
Implemented SDL_GetHintBoolean() to make it easier to check boolean hints
2016-10-07 23:40:44 -07:00
Sam Lantinga
4d1a9e8231
Allow using the game controller API with arcade sticks and other XInput devices
2016-02-16 13:47:37 -08:00
Sam Lantinga
7ee8dda270
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
David Ludwig
b96b7bef26
WinRT: fixed build error in latest XInput code
...
This change has also been tested as buildable + runnable on Win32 + MSVC 2015,
2013, 2012, and 2010. It may fix similar build errors (in XInput code) that
are appearing in MingW builds (on buildbot).
2015-11-14 21:29:14 -05:00
Sam Lantinga
bf785c766b
SDL - added new SDL_JoystickCurrentPowerLevel() API that returns the battery level of the selected joystick. Currently only implemented for XInput devices, other platforms are a TODO.
...
CR: Sam
2015-09-30 15:39:30 -07:00
Ryan C. Gordon
5c7974ec41
Another attempt to get this to compile.
2015-05-28 01:08:33 -04:00
Ryan C. Gordon
891c2792ad
Patched to compile on MingW.
...
(I think!)
2015-05-28 01:02:03 -04:00
Ryan C. Gordon
f6992428b4
Move tests from SDL_config higher up in Windows joystick/haptic code.
...
Fixes Bugzilla #2932 .
2015-05-28 00:54:52 -04:00
Sam Lantinga
56b58afdbe
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
d32eb0d9e5
Removed useless assert
2014-07-07 13:19:53 -07:00
Sam Lantinga
9d42bf534d
Fixed mingw64 build and warnings
2014-07-07 10:26:28 -07:00
Sam Lantinga
9cdeec59f3
Split the XInput and DirectInput code so Windows RT can use the existing XInput support.
...
--HG--
rename : src/audio/directsound/directx.h => src/core/windows/SDL_directx.h
rename : src/haptic/windows/SDL_syshaptic.c => src/haptic/windows/SDL_windowshaptic.c
rename : src/haptic/windows/SDL_syshaptic_c.h => src/haptic/windows/SDL_windowshaptic_c.h
rename : src/joystick/windows/SDL_dxjoystick.c => src/joystick/windows/SDL_dinputjoystick.c
rename : src/joystick/windows/SDL_dxjoystick_c.h => src/joystick/windows/SDL_dinputjoystick_c.h
rename : src/joystick/windows/SDL_dxjoystick_c.h => src/joystick/windows/SDL_windowsjoystick_c.h
2014-07-03 15:39:55 -07:00