ca019dada5
Fixed issue where the throttle and other axes on racing wheels don't start at zero and show up as immediate input when the wheel is turned for the first time. Wait until they are actually moved before generating input from them.
Sam Lantinga
2016-12-22 17:33:45 -08:00
b2f6c4c1bd
Fixed bus error when converting 16-bit to float for non-integral-multiple sample rates
Sam Lantinga
2016-12-19 11:15:53 -08:00
366c77a9f0
audio: fixed one more incorrectly-hardcoded value in the resamplers.
Ryan C. Gordon
2016-12-18 20:17:33 -05:00
eda74fda96
tvOS: Expose remote swipe gestures as arrow key presses (thanks oviano!)
Alex Szpakowski
2016-12-18 13:05:14 -04:00
787a54c84b
iOS bug #3377: work around bugs in some third party iOS libraries (e.g. Google admob) where they assume the optional UIApplicationDelegate ?window? property always exists and will crash if it doesn?t.
Alex Szpakowski
2016-12-18 12:28:28 -04:00
f956df23bb
audio: fixed arbitrary upsampling (thanks, Sylvain!).
Ryan C. Gordon
2016-12-17 16:15:24 -05:00
b515b34dbb
Fixed hotplug with more than one device in testjoystick program.
Philipp Wiesemann
2016-12-16 22:58:32 +01:00
0a3f9d0cfb
Fixed warning about unused variable in controllermap program.
Philipp Wiesemann
2016-12-16 22:58:16 +01:00
0c5e7a1067
Fixed handling joysticks that send multiple events for a single control, e.g. both a button and axis event for a trigger. Tested with the 8Bitdo NES30 Pro on Linux
Sam Lantinga
2016-12-15 14:27:22 -08:00
b4ea63ec2c
Fixed crash if there are multiple joysticks closed during the joystick update loop
Sam Lantinga
2016-12-14 06:25:09 -08:00
f50a04009c
windows: add whitespace to fix macro preprocessing issue (thanks, Sven!).
Ryan C. Gordon
2016-12-13 00:22:42 -05:00
85d8a79f65
Fixed updated return value for SDL_GL_SwapWindow()
Sam Lantinga
2016-12-12 09:19:48 -08:00
e81bf12b85
Fixed edid parsing code for older gcc compilers
Sam Lantinga
2016-12-12 09:18:42 -08:00
8414c3d4ae
Fixed ABI, don't change the return type of SDL_GL_SwapWindow()
Sam Lantinga
2016-12-11 12:01:44 -08:00
6211668e9f
Fixed creating a renderer on the dummy driver on Mac OS X
Sam Lantinga
2016-12-11 12:01:01 -08:00
cb5a0b0f6a
Fixed crash when creating a dummy window on Mac OS X
Sam Lantinga
2016-12-11 11:45:33 -08:00
d6bcec8f6a
WinRT: build fixes
David Ludwig
2016-12-10 15:23:17 -05:00
454d9cb96d
PP_OK isn't available in the NaCl build environment on buildbot. It's defined as 0
Sam Lantinga
2016-12-09 05:19:31 -08:00
97d05b0da8
Fixed a bunch of SwapWindow calls that needed their return value updated
Sam Lantinga
2016-12-09 05:12:27 -08:00
7a39681ea5
Fixed X11 OpenGL ES build
Sam Lantinga
2016-12-09 05:04:18 -08:00
fed8cbcdb6
Fixed build for EGL platforms
Sam Lantinga
2016-12-09 05:00:35 -08:00
b936a4c360
Added support for the XiaoMi Game Controller
Sam Lantinga
2016-12-09 04:57:54 -08:00
70aa2a5717
Only print out the controller mappings if we're not going to test a controller
Sam Lantinga
2016-12-09 04:17:10 -08:00
524bf3c282
Fixed bug 3513 - SDL_GL_SwapWindow does not return error status
Sam Lantinga
2016-12-09 01:47:43 -08:00
3b18c796ed
Fixed bug 3512 - Memory leak of SDL_Joystick axes_zero array
Sam Lantinga
2016-12-09 01:29:52 -08:00
a525017139
Protect the game controller API the same way the joystick API is protected from multi-threaded access
Sam Lantinga
2016-12-08 10:13:45 -08:00
1b08f0c179
Added the guide button for the NVIDIA Shield Controller
Sam Lantinga
2016-12-07 11:41:20 -08:00
91491824ae
Removed unneeded warning when running from Visual Studio
Sam Lantinga
2016-12-07 11:02:02 -08:00
09ed5cc0d8
xcode: Make sure SDL_dataqueue sources are included in all targets.
Ryan C. Gordon
2016-12-06 13:33:02 -05:00
6cb2f5bbbc
xcode: updated macOS and iOS project files with SDL_dataqueue sources.
Ryan C. Gordon
2016-12-06 12:30:31 -05:00
c023187548
audio: Fixed compiler warnings.
Ryan C. Gordon
2016-12-06 12:23:17 -05:00
a0e003eebb
Refactored the audio queueing code to a generic SDL_DataQueue interface.
Ryan C. Gordon
2016-12-06 02:23:54 -05:00
8b960d4e0f
Added SDL_VARIABLE_LENGTH_ARRAY so this #ifdef is localized to one place.
Ryan C. Gordon
2016-12-06 02:20:58 -05:00
68d7be3949
Fixed bug 3508 - variably modified ?SDL_dummy_size? at file scope in test/testatomic.c
Sam Lantinga
2016-12-06 00:40:09 -08:00
af7f30de02
Fixed SDL always being built because of missing headers in the project.
Sam Lantinga
2016-12-05 21:28:27 -08:00
264138cceb
Added support for the Hori Fighting Commander 4
Sam Lantinga
2016-12-03 08:39:21 -08:00
54188c8b9e
Fixed crash at startup
Sam Lantinga
2016-12-03 09:59:43 -08:00
e7efcfbaa4
Added Linux mapping for the DragonRise Inc. Generic USB Joystick
Sam Lantinga
2016-12-03 00:40:13 -08:00
16074e6749
Fixed compile warning on Visual Studio
Sam Lantinga
2016-12-02 22:18:05 -08:00
4eda58ba6a
Added SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the speed of the mouse. This currently doesn't affect absolute motion, which would need to be implemented on each windowing system so the cursor matches the reported mouse coordinates.
Sam Lantinga
2016-12-02 21:01:13 -08:00
26f05ecb4d
Fixed missing prototypes on Android, patch from Sylvain
Sam Lantinga
2016-12-02 02:25:12 -08:00
84c0780e25
Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad
Sam Lantinga
2016-12-02 02:21:35 -08:00
a738a6fb49
Added Linux controller mapping for the Nostromo n45 Dual Analog Gamepad
Sam Lantinga
2016-12-01 07:31:08 -08:00
1b689c335c
Fixed bug 3503 - osx builds don't run on 10.6 as of rev. 10651
Sam Lantinga
2016-12-01 11:52:47 -08:00
4905cd9c09
Fixed bug 3340 - SDL_BlitScaled causes access violation in some cases.
Sam Lantinga
2016-11-30 22:06:05 -08:00
cb8748b719
Fixed the controller mappings for the OUYA controller
Sam Lantinga
2016-11-30 12:58:03 -08:00
663afa911f
Added support for the DS4 USB Wireless Adaptor
Sam Lantinga
2016-11-30 12:25:19 -08:00
cd3aefc093
Updated documentation in header file.
Philipp Wiesemann
2016-11-30 23:31:36 +01:00
a7655d77d1
Fixed warning about storing an unused value.
Philipp Wiesemann
2016-11-30 23:31:23 +01:00
d834c08ac7
Add the controller mappings to the linked list in order
Sam Lantinga
2016-11-29 22:02:37 -08:00
dd5d85a4e7
Added an API to iterate over game controller mappings
Sam Lantinga
2016-11-29 06:36:57 -08:00
1e8f074c43
Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment. This fixes joystick detection for applications using the Steam Linux Runtime
Sam Lantinga
2016-11-29 05:34:20 -08:00
5220759f03
Made it safe to update joysticks from multiple threads, fixes crash in Steam
Sam Lantinga
2016-11-29 05:04:42 -08:00
8bd4c6f332
Added fcitx-libs-dev to debian build dependencies, for Fcitx IME support
Sam Lantinga
2016-11-28 08:05:45 -08:00
4fe3fb3454
Added debian changelog entry for SDL 2.0.5
Sam Lantinga
2016-11-28 07:34:25 -08:00
7f764bd8d3
once more - iterating on this is annoying
Sam Lantinga
2016-11-26 10:26:36 -08:00
51ccc9ed8c
if the tap is explicitly disabled by code or by another program, let it remain disabled! this is different than the automatic "event tap was too slow therefore we stopped processing it" timeout which we want to re-enable after.
Sam Lantinga
2016-11-26 10:26:32 -08:00
25f54f0f4f
tap should default to disabled, not enabled
Sam Lantinga
2016-11-26 10:26:26 -08:00
354a8f276e
SDL for Mac - only enable global event tap when actually necessary (app has focus and has requested relative mouse mode or has asked for a mouse grab). in other situations the event tap impacts system performance and battery life with no benefit.
Sam Lantinga
2016-11-26 10:26:22 -08:00
ff56c7b300
checker-buildbot.sh: Disable warnings that aren't explicitly static analysis.
Ryan C. Gordon
2016-11-25 14:16:27 -05:00
d1c35febce
macOS: removed deprecated UpdateSystemActivity() call.
Ryan C. Gordon
2016-11-25 00:13:13 -05:00
fb5fd67ccb
Fixed all known static analysis bugs, with checker-279 on macOS.
Ryan C. Gordon
2016-11-24 21:41:09 -05:00
fd250bd636
checker-buildbot.sh: Upgraded to checker-279, deal with zero bugs detected.
Ryan C. Gordon
2016-11-24 21:13:23 -05:00
2f6ba615ee
Guess the USB VID/PID of XInput devices
Sam Lantinga
2016-11-24 12:24:22 -08:00
e9983c7b0f
We are comparing 16-bit values
Sam Lantinga
2016-11-24 11:53:23 -08:00
e93e91f0b5
Pacify some GCC strict-aliasing compiler warnings.
Ryan C. Gordon
2016-11-23 21:52:48 -05:00
5232b8e952
Fixed XBox One S controller mapping for firmware revision 3.1.1221.0, including back and guide buttons
Sam Lantinga
2016-11-23 06:54:19 -08:00
232ae68864
Still more compiler warning fixes for various platforms.
Ryan C. Gordon
2016-11-23 17:20:28 -05:00
40c2a6fb55
Fixed more compiler warnings.
Ryan C. Gordon
2016-11-23 11:49:26 -05:00
52827361ae
directsound: fixed compiler warnings.
Ryan C. Gordon
2016-11-23 10:51:44 -05:00
aa03b9d7af
The XBox One S controller sends keys outside the standard joystick button range
Sam Lantinga
2016-11-22 22:14:28 -08:00
6558ecdbf6
Added mapping for XBox One S controller firmware version 3.1.1221.0
Sam Lantinga
2016-11-22 04:42:07 -08:00
a949882a98
cpuinfo: fix SDL_HasNEON() on older iOS devices, fixed C++ comment.
Ryan C. Gordon
2016-11-21 20:35:59 -05:00
3615633571
Renaming of guard header names to quiet -Wreserved-id-macro Patch contributed by Sylvain
Sam Lantinga
2016-11-20 21:34:54 -08:00
abe9271065
Fixed warning building under mingw, patch contributed by Sylvain
Sam Lantinga
2016-11-20 21:29:27 -08:00
c7351c2dea
Fixed a few warnings that show up with -Wdocumentation and -Wdocumentation-unknown-command, patch contributed by Sylvain
Sam Lantinga
2016-11-20 21:26:56 -08:00
eaca3958ad
Fixed bug 3494 - SDL_test_fuzzer.c fails compile since r10604
Sam Lantinga
2016-11-20 21:24:09 -08:00
4a089ca1c8
Fixed bug 3486 - Can't get HINSTANCE of my window
Sam Lantinga
2016-11-20 21:18:55 -08:00
2a5fab63ee
Updated configure script.
Philipp Wiesemann
2016-11-19 23:27:51 +01:00
eb9cc03068
Fixed two memory leaks if added game controller mapping has lower priority.
Philipp Wiesemann
2016-11-19 23:27:37 +01:00
a49ac09c02
Windows: Fixed crash if using current SDL_GetWindowWMInfo() from older programs.
Philipp Wiesemann
2016-11-18 00:06:09 +01:00
d05a39d0a6
Wayland: Fixed file descriptor leaks if device was not initialized.
Philipp Wiesemann
2016-11-18 00:05:54 +01:00
c345126266
Emscripten: Fixed handling of deactivated mouse events.
Philipp Wiesemann
2016-11-18 00:05:28 +01:00
32cb34945e
cpuinfo: patched to compile for getauxval() path.
Ryan C. Gordon
2016-11-17 17:03:43 -05:00
0b33a1188b
cpuinfo: more patching for Android. Legacy platform targets are a pain.
Ryan C. Gordon
2016-11-17 16:10:32 -05:00
a298e56349
cpuinfo: Patched to compile on Android, Linux.
Ryan C. Gordon
2016-11-17 16:04:00 -05:00
e8f4b7c4f5
cpuinfo: patched to compile.
Ryan C. Gordon
2016-11-17 16:01:59 -05:00
74eb78dcbf
cpuinfo: more work on SDL_HasNEON().
Ryan C. Gordon
2016-11-17 15:57:58 -05:00
db97c3d3e8
cpuinfo: silence compiler warnings on non-Intel CPU architectures.
Ryan C. Gordon
2016-11-17 01:41:56 -05:00
66a36d5660
cpuinfo: disable NEON detection on Android for now.
Ryan C. Gordon
2016-11-17 01:34:18 -05:00
5c6b2ebf2d
cpuinfo: more robust ARM preprocessor checks.
Ryan C. Gordon
2016-11-17 01:26:56 -05:00
35430a73f2
cpuinfo: first attempt at SDL_HasNEON() implementation.
Ryan C. Gordon
2016-11-17 01:15:16 -05:00
7592b40b39
cpuinfo: Removed code duplication, cached CPUID details.
Ryan C. Gordon
2016-11-16 22:49:04 -05:00
6fe15d6347
Wayland: Fixed memory leak if output retrieval failed.
Philipp Wiesemann
2016-11-16 22:09:40 +01:00
97aa577589
Fixed empty parameter list in signatures of internal functions.
Philipp Wiesemann
2016-11-16 22:08:51 +01:00
818d1d3e80
Fixed bug 1646 - Warnings from clang with -Weverything
Sam Lantinga
2016-11-15 01:30:08 -08:00
0d24495b15
Removed unused constants Except for SDL_bmp.c where they are historically interesting and I've left them in.
Sam Lantinga
2016-11-15 01:24:58 -08:00
acce865911
[qtwayland] Set orientation and window flags via SDL hints
Thomas Perl
2016-11-13 10:39:04 +01:00