Commit Graph

  • 62b2efc9f2 hidapi: Add SDL_hidapi.c, allows support for multiple hidapi backends. Ethan Lee 2019-07-31 12:20:55 -04:00
  • 733cf789ce Make sure HIDAPI is initialized whenever we call HIDAPI_IsDevicePresent() Sam Lantinga 2019-07-31 10:20:37 -07:00
  • d5162f20e7 joystick: Ensure HIDAPI is initialized before calling it Andrew Eikum 2019-07-31 11:14:48 -05:00
  • f9bfaca8ac cmake: Fix locating libusb header at configure-time Andrew Eikum 2019-07-31 11:34:00 -05:00
  • 622a7d1e61 minor whitespace tidy-up. Ozkan Sezer 2019-07-31 19:40:50 +03:00
  • f113f21e5f Fixed bug 4692 - Command line parsing Sam Lantinga 2019-07-31 09:11:20 -07:00
  • 5410f2c5dc use SDL_zeroa at more places where the argument is an array. Ozkan Sezer 2019-07-31 05:11:40 +03:00
  • f5282c7c66 Fix bug 4746 - introduce SDL_zeroa macro. Ozkan Sezer 2019-07-31 01:22:02 +03:00
  • 20db4a86ec minor build fix. Ozkan Sezer 2019-07-31 01:19:26 +03:00
  • ab84d20480 MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&'). Ozkan Sezer 2019-07-31 00:10:00 +03:00
  • 18f946e1ce better readability.. Ozkan Sezer 2019-07-31 00:07:15 +03:00
  • 311b444829 SDL_iconv_string: add (char*) casts before SDL_malloc() calls. Ozkan Sezer 2019-07-31 00:06:50 +03:00
  • cf37a53cbf minor build fixes. Ozkan Sezer 2019-07-31 00:05:28 +03:00
  • 93f43f46d2 Fixed bug 4538 - validate image size when loading BMP files Sam Lantinga 2019-07-30 11:00:00 -07:00
  • 4d79d25f97 hidapi: Update repository URLs Andrew Eikum 2019-07-25 08:05:13 -05:00
  • 92848e7c57 Fixed bug 4742 - SDL 2.0.10 DMG has duplicated files (instead of symlinks) Sam Lantinga 2019-07-30 10:15:49 -07:00
  • 9fe205ab22 Fixed bug 4745 - 2.0.10 fails to build against macOS 10.11 SDK Sam Lantinga 2019-07-30 10:04:46 -07:00
  • 49b15ad319 Fixed bug 4739 - Android: loading native libs, generated by bundletool (Thanks akk0rd87) Sylvain Becker 2019-07-27 20:21:42 +02:00
  • 95cd6c9b26 macOS: fix atomics using deprecated functions instead of compiler intrinsics, when SDL is built with the Xcode project. Alex Szpakowski 2019-07-27 14:08:51 -03:00
  • 0061875de7 Don't call hid_enumerate() if the HIDAPI drivers are all disabled Sam Lantinga 2019-07-25 15:21:44 -07:00
  • 64d9c8bc06 Added tag release-2.0.10 for changeset bc90ce38f1e2 Sam Lantinga 2019-07-25 11:04:36 -07:00
  • c7b8b49ef8 hidapi: Zero out new hid_device_info structs Andrew Eikum 2019-07-23 14:41:00 -05:00
  • 7e0cc7e15b Copypaste SDL_NSLog to UIKit backend, document it as such Ethan Lee 2019-07-17 23:20:57 -04:00
  • 0481c0b987 Fixed bug 4726 - Fix for tvOS GetPrefPath Sam Lantinga 2019-07-18 19:33:17 -07:00
  • e2e6f78573 Fixed build error Sam Lantinga 2019-07-17 16:47:19 -07:00
  • 551c435a27 Merged latest changes from Steam into controller_type.h Sam Lantinga 2019-07-17 16:47:17 -07:00
  • 55fd028b86 Add linked list of opened HID devices to prevent accessing already freed devices in device removal callback that is sometimes called even after being unregistered Sam Lantinga 2019-07-17 16:47:13 -07:00
  • 4dd6fb2220 Added support for the Victrix Pro Fight Stick for PS4 Sam Lantinga 2019-07-17 13:01:44 -07:00
  • 9fc92a4a38 Allow hotplugging joysticks without udev Cameron Gutman 2019-06-24 21:08:26 -07:00
  • 3ed80aec26 Fixed bug 4704 - SDL_HINT_ANDROID_SEPERATE_MOUSE_AND_TOUCH on Windows? Sam Lantinga 2019-07-15 09:36:53 -07:00
  • f14e55e15b Fixed bug 4723 - Generic Xbox pad controller bindings seem odd/broken Sam Lantinga 2019-07-14 16:59:39 -07:00
  • eec7834c4c Blacklist Corsair device causing hang Jimb Esser 2019-07-14 16:48:31 -07:00
  • 30eccf0ba4 macOS: Fix SDL_GL_CreateContext/MakeCurrent on non-main threads causing a Main Thread Checker warning when built with Xcode 11 / the macOS 10.15 SDK. Alex Szpakowski 2019-07-13 17:04:02 -03:00
  • 5e386aa169 ios: Fixed MFi guide button not being detected (thanks, Caleb!). Ryan C. Gordon 2019-07-12 21:28:43 -04:00
  • 9f0bf208be cmake: Add setupapi library to Windows build dependencies (hidapi needs it). Ryan C. Gordon 2019-07-12 13:40:58 -04:00
  • 7dd564a443 cocoa: Set keyboard mod state correctly when turning off capslock. Ryan C. Gordon 2019-07-11 01:07:14 -04:00
  • 4f889d8bce x11: prevent a synthetic mouse event when using a touchscreen Sylvain Becker 2019-07-10 10:06:28 +02:00
  • d84fcce4e0 x11: set some modality things on message boxes with parent windows. Ryan C. Gordon 2019-07-09 17:28:02 -04:00
  • 15b4c5ddd4 SDL_Mouse/Touch: discard synthetic events when hints are not set. Those are generated/flagged by platform layer. Sylvain Becker 2019-07-09 11:46:42 +02:00
  • 0bf214e0d7 fix permissions Ozkan Sezer 2019-07-09 08:55:00 +03:00
  • 704ecdb312 cmake: Added HIDAPI support. Ryan C. Gordon 2019-07-08 16:46:52 -04:00
  • 3702aa3206 configure: Windows and macOS now respect --enable-hidapi. Ryan C. Gordon 2019-07-08 16:08:16 -04:00
  • 3974a2636f Ignore synthetic mouse events generated for touchscreens Cameron Gutman 2019-07-07 11:23:16 -07:00
  • b037166f17 cocoa: Another attempt at mouse vs touch support. Ryan C. Gordon 2019-07-08 13:41:01 -04:00
  • c87a83e74a Fixed bug 4710 - audio/alsa: avoid configuring hardware parameters with only a single period Sam Lantinga 2019-07-07 09:10:56 -07:00
  • 7ebd51f143 Fixed bug 4707 - SDL_SetRelativeMouseMode fails on Vivante Sam Lantinga 2019-07-03 15:57:55 -07:00
  • eacb94636f Fixed bug 4702 - Android back button does not send SDL_KEYDOWN event fallback when event.getSource() is SOURCE_UNKNOWN Sylvain Becker 2019-07-03 13:37:54 +02:00
  • 92d2cf74d1 Fixed bug 4708 - testdropfile: double-free Sam Lantinga 2019-07-03 02:37:15 -07:00
  • f67059d3f7 raspberry: Actually commit the whole patch. :) (Thanks, Joe!) Ryan C. Gordon 2019-07-02 16:49:35 -04:00
  • 2971b5bf20 cocoa: Don't report trackpad mouse events as synthesized touches. Ryan C. Gordon 2019-07-02 12:29:36 -04:00
  • 8a8b69d9dc raspberry: Fixed missing mouse cursor (thanks, Joe!) Ryan C. Gordon 2019-07-02 10:26:54 -04:00
  • 2658dad202 dbus: Don't SimulateUserActivity if we're already inhibiting the screensaver. Ryan C. Gordon 2019-07-02 09:43:26 -04:00
  • 6104b8af01 dbus: Add org.freedesktop.ScreenSaver.SimulateUserActivity support. Ryan C. Gordon 2019-07-02 09:38:31 -04:00
  • 52a6aac9d9 iOS: Fix the window size not being set properly when Split View is used on an iPad (bug #4586). Alex Szpakowski 2019-07-01 14:52:56 -03:00
  • 6ef283414a Made it more explicit that 2.0.10 and newer are required for the SDL_RW* functions Sam Lantinga 2019-07-01 09:05:15 -07:00
  • d7bf002700 Documented that the SDL_RW* macros no longer exist, and you can't use an older SDL library if you build with SDL 2.0.10. Sam Lantinga 2019-07-01 09:02:04 -07:00
  • 481ef447de Fixed memory barrier macro check so it isn't quite so fragile Sam Lantinga 2019-06-30 23:58:31 -07:00
  • 1a545396f2 Limit the compile error to the case where we actually define the memory barrier macro as the function Sam Lantinga 2019-06-30 23:55:28 -07:00
  • 98d14c2c73 Fixed bug 4683 - SDL_atomic infinite recursion on armv6/armv5 w/ thumb Sam Lantinga 2019-06-30 23:26:16 -07:00
  • cbab0050dd Fixed bug 4436 - [OpenBSD] fix D-pad Sam Lantinga 2019-06-30 22:48:13 -07:00
  • 379eb4adfa Android: concurrency issues, make sure Activity is in running State when calling functions like SDL_CreateWindow, SDL_CreateRenderer, Android_GLES_CreateContext Sylvain Becker 2019-06-28 16:38:42 +02:00
  • dc794bedf2 Add an "error" label in SDL_CreateRenderer (no op) Sylvain Becker 2019-06-28 16:14:50 +02:00
  • 03966e79b9 Android: explicitly expand Android_GLES_MakeCurrent/Android_GLES_CreateContext from SDL_egl_c.h Sylvain Becker 2019-06-28 16:05:20 +02:00
  • d821b82742 cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit. Ryan C. Gordon 2019-06-26 13:21:43 -04:00
  • 55337ef6ef windows: Call GetWindowText() with the correct parameters (thanks, Zebediah!) Ryan C. Gordon 2019-06-26 01:29:01 -04:00
  • ae254f8136 define __ARM_NEON for Windows only if _M_ARM or _M_ARM64 is defined. fixes Visual Studio builds. Ozkan Sezer 2019-06-25 11:47:02 +03:00
  • 74957c0973 update version in os/2 makefile Ozkan Sezer 2019-06-24 23:51:10 +03:00
  • 7d18153873 fix permissions Ozkan Sezer 2019-06-24 23:50:20 +03:00
  • 869e4cd849 Android: export Lock/Unlock activity API Sylvain Becker 2019-06-24 18:08:11 +02:00
  • 85d515fc44 Fixed bug 4684 - GLES1 variables missing under Android with CMake Sam Lantinga 2019-06-21 22:01:27 -07:00
  • 98fba377ef direct3d: Use D3DPOOL_DEFAULT for vertex buffers after all, release correctly. Ryan C. Gordon 2019-06-21 15:07:39 -04:00
  • 13f17ec43a Enable Raspberry Pi video by default Sam Lantinga 2019-06-21 10:58:30 -07:00
  • 9d146fcbc2 direct3d: Fix dirty textures failing to update Cameron Gutman 2019-06-20 19:51:00 -07:00
  • e85562f2ac Fixed bug 4672 - Warnings in SDL_LogEvent() Sam Lantinga 2019-06-19 17:11:20 -07:00
  • 53c911510b Rolling back GameCube HIDAPI support It causes the HIDAPI devices to always be opened on enumeration, which causes crashes in the Windows drivers when multiple applications are reading and writing at the same time. We can revisit this after 2.0.10 release. Sam Lantinga 2019-06-19 15:54:21 -07:00
  • 01f6db4da1 Handle GameCube WaveBird controller differences Make wireless GameCube controllers use unknown power level instead of wired and don't allow rumble (it doesn't have hardware for it). Zack Middleton 2019-06-19 06:43:54 -07:00
  • e455e20657 Make GameCube controllers only rumble if both USB cables are connected The Nintendo USB GameCube Adapter has two USB connectors. Black for data and grey for additional power for rumble. The Wii U and other software require both cables to use rumble. The rumble is weaker without the second USB cable. Other than that I don't know if there is any negative side affects from using rumble with only one cable. Zack Middleton 2019-06-19 06:43:36 -07:00
  • fb4bd5c5cb Fix GameCube controller power level being reset to unknown HIDAPI_DriverGameCube_OpenJoystick() set power level to wired and then it was set to unknown in SDL_JoystickOpen(). Zack Middleton 2019-06-19 06:43:04 -07:00
  • 90a66d8866 Use SDL C runtime functions Sam Lantinga 2019-06-19 06:40:50 -07:00
  • 786778fcbf KMSDRM: fix inverted strcmp, remove useless if test (Bug 4624) Sylvain Becker 2019-06-19 10:11:38 +02:00
  • 2d0ae536b5 KMSDRM: fix compilation on linux, no d_namlen (Bug 4624) Sylvain Becker 2019-06-19 09:16:53 +02:00
  • b565cc4e26 wayland: Fixed C99-style variable declaration inside for-loop. Ryan C. Gordon 2019-06-19 00:52:34 -04:00
  • fc7747d45e Fixed building DMG archive on Mac OS X Sam Lantinga 2019-06-18 21:50:57 -07:00
  • 3b0639ca7e opengl: Be more robust in failing cases. Ryan C. Gordon 2019-06-18 18:58:39 -04:00
  • 5fadf0d09c Only warp the mouse to set focus if we're definitely going into relative mode Sam Lantinga 2019-06-18 14:24:26 -07:00
  • bb57b9cc1a Fixed compiler warning Sam Lantinga 2019-06-18 14:24:24 -07:00
  • 756b70a93e Fixed bug 4624 - KMS/DRM fails on FreeBSD because /dev/dri/card* nodes are symlinks Sam Lantinga 2019-06-18 14:15:10 -07:00
  • 35052aeabf cocoa: Patched to compile and also handle possible malloc failure. Ryan C. Gordon 2019-06-18 16:53:49 -04:00
  • 99e6b0ef00 Fixed potential double-free in mouse cleanup code Sam Lantinga 2019-06-18 13:41:38 -07:00
  • f56e16c87d Fixed 4669 - Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes Sam Lantinga 2019-06-18 10:08:19 -07:00
  • 756526a7d9 Android: resize with software rendering, reverted again (Bug 4669) Sylvain Becker 2019-06-18 18:53:58 +02:00
  • c15d530a13 Android: try to fix resize with software rendering (bug 4669) Sylvain Becker 2019-06-18 18:40:40 +02:00
  • 93cf468756 Android: revert commit SW_GetOutputSize, again (Bug 4669) Sylvain Becker 2019-06-18 18:22:18 +02:00
  • f9c3030ef9 Added a patch note about batched rendering Sam Lantinga 2019-06-18 08:35:31 -07:00
  • 7881b92b12 Added patch notes for 2.0.10 Sam Lantinga 2019-06-18 07:55:30 -07:00
  • b479a99315 Make sure we haven't changed the size of the SDL_Event structure and broken binary compatibility. Sam Lantinga 2019-06-18 06:53:32 -07:00
  • aa638c1ccb Android: prevent ignoring surfaceChanged() in MultiWindow Sylvain Becker 2019-06-18 11:35:30 +02:00
  • 3f591fa6dc Android: prevent using SW_GetOutputSize with software renderer (Bug 4669) Sylvain Becker 2019-06-18 10:41:11 +02:00
  • c60bd59822 Android: revert previous commit (Bug 4669) (Refs #1) Sylvain Becker 2019-06-18 10:23:19 +02:00
  • ba367bca49 Fixed bug 4669: Android software renderer, black screen when window resizes Sylvain Becker 2019-06-17 22:31:36 +02:00