Commit Graph

10682 Commits

Author SHA1 Message Date
Sam Lantinga
3f5fd55965 Organized joystick hotplug code a bit.
Cleaned up names, return types, etc.
2012-11-27 00:58:12 -08:00
Sam Lantinga
3d23fd0ac9 This should really fix it.. 2012-11-26 23:58:53 -08:00
Sam Lantinga
e3e0c91336 Fixed building with joysticks disabled 2012-11-26 23:58:23 -08:00
Sam Lantinga
dd41953be8 Merge 2012-11-26 23:56:49 -08:00
Sam Lantinga
3fff75f8ba Fixed Visual Studio 2008 build 2012-11-26 23:56:24 -08:00
Sam Lantinga
7763f4f5d8 Fixed unused variable warning 2012-11-26 23:53:18 -08:00
Sam Lantinga
01709a0df2 The XInput code is only available in the DirectInput joystick driver. 2012-11-26 23:50:12 -08:00
Sam Lantinga
fa71003e5e Hopefully fixed BSD joystick code 2012-11-26 23:41:50 -08:00
Andreas Schiffler
8ee87a4da7 Add random module to test lib 2012-11-26 23:12:47 -08:00
Sam Lantinga
c8ec3dac8e Completed adding new hotplug stubs for the joystick implementations 2012-11-26 22:27:49 -08:00
Sam Lantinga
1bce563dcf Updated BSD joystick code for the new API 2012-11-26 22:09:58 -08:00
Sam Lantinga
a7eef9c98d Return an error if the joystick index isn't 0 on Android 2012-11-26 22:09:34 -08:00
Sam Lantinga
376e84c815 Fixed building joystick code on Android 2012-11-26 22:02:01 -08:00
Sam Lantinga
f4c4c1e5d8 Fixed building new joystick code on Mac OS X 2012-11-26 21:55:59 -08:00
Sam Lantinga
1eb3ed9437 Fixed iOS joystick support for new API 2012-11-26 21:11:28 -08:00
Andreas Schiffler
b8a9bd3784 Revert incorrect change to automated_VS2010 2012-11-26 18:51:17 -08:00
Sam Lantinga
c40214eab9 Fixed joystick attached API call on Linux 2012-11-26 17:31:49 -08:00
Sam Lantinga
23950f0183 Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds 2012-11-26 16:37:54 -08:00
Sam Lantinga
d5bdfedf0d Include all the test headers in the test library header install 2012-11-26 14:59:07 -08:00
David Ludwig
9fc6a63d06 Merged with latest official SDL code 2012-11-26 16:58:41 -05:00
Sam Lantinga
9c2cdf677b Work in progress on an SDL test library 2012-11-26 07:53:56 -08:00
Andreas Schiffler
84047df68c Fix VS2012 solution; remove accidentally submitted .patch file 2012-11-25 21:57:13 -08:00
David Ludwig
0d4e9bb291 WinRT: fixed incorrect cursor positions when using non-native screen resolutions 2012-11-25 23:27:12 -05:00
David Ludwig
0514530fd3 WinRT: minor code cleanup regarding some variable names 2012-11-25 19:13:45 -05:00
David Ludwig
6ef71900e3 WinRT: removed unneeded Direct3D stencil buffer code 2012-11-25 19:10:02 -05:00
David Ludwig
bbc13a8ecb WinRT: video code cleanup: combined files Direct3DBase.* and SDL_winrtrenderer.* 2012-11-25 19:05:56 -05:00
David Ludwig
7b43dbe1a1 WinRT: made the WinRT video driver report its name correctly 2012-11-25 17:35:41 -05:00
David Ludwig
fb9e63614b WinRT: allow windows in non-native screen sizes. Scaling is applied for such. 2012-11-25 17:34:41 -05:00
David Ludwig
51e95604b7 WinRT: fixed Win32 compile error in XAudio2 backend 2012-11-25 14:45:22 -05:00
David Ludwig
aca89bc12b WinRT: fixed Win32 builds by prevented __WINRT__ from being defined 2012-11-25 14:45:04 -05:00
Sam Lantinga
820889a756 Don't run the game loop while a messagebox is up 2012-11-25 10:03:22 -08:00
David Ludwig
a88bd2513b WinRT: got timers working 2012-11-24 12:07:35 -05:00
David Ludwig
3df1f642d6 WinRT: cleaned up SDL_platform_windowsrt.h 2012-11-24 11:46:15 -05:00
David Ludwig
c728870637 WinRT: disabled the XAudio2 backend, pending work on stability and quality 2012-11-24 11:20:59 -05:00
David Ludwig
d431c1c16f WinRT: got XAudio2 sort-of working (it plays stuff poorly, then crashes) 2012-11-24 11:19:06 -05:00
David Ludwig
e597faf23f WinRT: added a functional threading backend using C++11 apis 2012-11-24 11:17:23 -05:00
David Ludwig
8cb99f7311 WinRT: made testthread to use SDL_Log, not printf or fprintf, for MSVC++ logging 2012-11-24 11:16:45 -05:00
David Ludwig
eb5bc65363 WinRT: cleanups in SDL_platform.h 2012-11-23 00:02:27 -05:00
David Ludwig
0ff36e7874 WinRT: made the skeleton C++11 thread implementation use .cpp files, not .c 2012-11-22 23:12:06 -05:00
David Ludwig
a10ba5bcb9 WinRT: added a skeleton SDL backend for C++11-based threads 2012-11-22 23:03:56 -05:00
David Ludwig
2995bb36ae WinRT: pseudo-implemented SDLmain for WinRT. It has to be compiled directly into apps, for now. 2012-11-22 22:36:34 -05:00
David Ludwig
390acc322a WinRT: modified the loopwave test to run if and when argv is NULL 2012-11-22 22:35:38 -05:00
David Ludwig
18cc7d9a0c WinRT: got the XAudio2 backend compiling (but not running, yet) 2012-11-22 22:34:50 -05:00
David Ludwig
7a6a66c59e WinRT: made SDL_platform.h auto-detect WinRT 2012-11-22 13:11:05 -05:00
David Ludwig
63e383e03b WinRT: added a VC++ 2012 project to help compile the loopwave test 2012-11-22 12:37:31 -05:00
David Ludwig
dd673b6e08 WinRT: got SDL_UpdateWindowSurface working, rudimentarily 2012-11-21 23:44:58 -05:00
David Ludwig
3cb25cc986 WinRT: added code to update the main texture on each frame with dummy data 2012-11-21 17:38:17 -05:00
David Ludwig
9b3e8fe390 WinRT: removed now-unused 'color' parameter from shaders 2012-11-21 17:19:16 -05:00
David Ludwig
c7f3a001de WinRT: made the fullscreen display be backed by a texture 2012-11-21 17:07:48 -05:00
David Ludwig
f2315e5a87 WinRT: included shaders in SDL library (moved from SDLWinRTTestApp) 2012-11-20 08:46:10 -05:00