Commit Graph

  • 8a37848de9 Fixed bug 4605 - WASAPI_WaitDevice hang Sam Lantinga 2019-06-08 13:41:46 -07:00
  • 82af42761e hidapi: Use GameCube adapter controller port for player index The Nintendo USB GameCube adapter has four controller ports. Return the port number as 0 to 3 from SDL_JoystickGetPlayerIndex() and SDL_JoystickGetDevicePlayerIndex(). Zack Middleton 2019-06-08 13:36:59 -07:00
  • e7b514d8ff riscos: Fix iconv warnings Cameron Cawley 2019-01-13 23:36:31 +00:00
  • 15bae953b1 Fixed bug 4642 - Rework SDL_netbsdaudio to improve performance Sam Lantinga 2019-06-08 13:03:36 -07:00
  • f2c8d8e9c4 Fixed bug 4443 - Incorrect scan code reported for numpad 5 Sam Lantinga 2019-06-08 10:47:43 -07:00
  • 5cb14f4467 Ignore Xbox One S gamepads with older firmware in HIDAPI Cameron Gutman 2019-04-30 20:37:49 -07:00
  • b1100ec18c Fixed Android build warning Sam Lantinga 2019-06-08 10:23:52 -07:00
  • 03cf24162f OpenSL ES audio cleanup and added a note with low latency audio discussion Sam Lantinga 2019-06-08 10:21:38 -07:00
  • 166d15fd75 Fixed surround sound channel setup for Android OpenSL ES audio driver Sam Lantinga 2019-06-07 15:09:15 -07:00
  • 23a2b47790 Protect against NULL device in the Android hidapi implementation Sam Lantinga 2019-06-07 09:00:26 -07:00
  • 9261e473d6 Potential fix for a crash we're seeing on Android that should in theory never happen. Sam Lantinga 2019-06-07 09:00:24 -07:00
  • 20ec866484 Added support for the Rotor Riot gamepad, and upcoming Xbox and PS4 controller support on iOS and tvOS Patch contributed by Nat Brown Sam Lantinga 2019-06-06 08:20:53 -07:00
  • 6c0b304c93 Fixed bug 4655 - evdev is available on FreeBSD, check in 'configure' limited to Linux Sam Lantinga 2019-06-05 12:03:45 -07:00
  • 23569362dc Use SDL sized types Sam Lantinga 2019-06-05 12:01:26 -07:00
  • 3e3294645f Fixed bug 4656 - SDL_evdev.c uses Linux specific integer types Sam Lantinga 2019-06-05 08:54:07 -07:00
  • 723d014336 Fixed bug 4171 - SDL_GetQueuedAudioSize is broken with WASAPI Sam Lantinga 2019-06-04 17:32:15 -07:00
  • b5d3b6fc25 test: unify all the command line usage logging. Ryan C. Gordon 2019-05-28 17:39:13 -04:00
  • 9b5811592d iOS: return SDL_GetWindowSize from SDL_GL_GetDrawableSize if there's no GLES view in the window (matches the behaviour of SDL_GL_GetDrawableSize on other platforms). Addresses bug #4629. Alex Szpakowski 2019-05-26 18:53:36 -03:00
  • dce56ab9fa Added a function to get the current Android SDK version at runtime Sam Lantinga 2019-05-23 14:19:00 -07:00
  • f3e76ea1d0 Use the OpenSL ES audio driver by default on Android, as it has the lowest latency. Sam Lantinga 2019-05-23 13:47:30 -07:00
  • 02f9667a08 Fixed static and buzzing when trying to use floating point audio on the OpenSL ES audio driver. Sam Lantinga 2019-05-23 13:47:27 -07:00
  • e401b95025 Return an error if both mouse relative mode and mouse warping are unavailable, instead of asserting. Sam Lantinga 2019-05-23 11:32:36 -07:00
  • 8b57331e71 Fixed hiding the Android virtual keyboard when the return key is pressed Sam Lantinga 2019-05-23 11:05:43 -07:00
  • f91b87859c Android: minimum size for IME, so that it takes focus Sylvain Becker 2019-05-23 09:08:40 +02:00
  • 7ec514d48f Improved iOS Bluetooth keyboard support * Don't stop text input after the return key is pressed * Handle arrow and escape keys Sam Lantinga 2019-05-22 17:39:51 -07:00
  • 50aab19877 Fixed bug 4639 - CMake build does not generate libhidapi.so for Android Sam Lantinga 2019-05-21 17:33:31 -07:00
  • 9b2202828a Fix use-after-free when pumping the event loop after SDL_DestroyWindow() Cameron Gutman 2019-04-28 17:37:49 -07:00
  • a4e33b9cc4 Added support for Bluetooth keyboards on iOS In this case the keyboard is shown and immediately hidden, but we still want to accept text input Sam Lantinga 2019-05-20 14:31:03 -07:00
  • 582a3c994d Fixed mouse focus for touch events on iOS Sam Lantinga 2019-05-20 14:08:35 -07:00
  • 4bd808346a vulkan: Swapped out a free() that should have been an SDL_free(). Ryan C. Gordon 2019-05-20 00:41:18 -04:00
  • ebbb295e85 vulkan: Patched to compile on Visual Studio. Ryan C. Gordon 2019-05-19 23:29:50 -04:00
  • d778b26dd1 Patched to compile in C89 mode. Ryan C. Gordon 2019-05-19 20:25:02 -04:00
  • 5f34162030 Fixed bug 4474 - Add support for an ASUS Gamepad variation Sam Lantinga 2019-05-19 12:06:58 -07:00
  • 41c718db85 Fixed bug 4469 - make SDL_CreateTextureFromSurface pick a more appropriate format Sam Lantinga 2019-05-19 12:04:06 -07:00
  • c377de5440 Fixed bug 4436 - [OpenBSD] fix D-pad Sam Lantinga 2019-05-19 11:56:26 -07:00
  • 510b01f5fc Fix WORKING_DIR parameter Serhii Charykov 2018-12-03 20:14:35 +02:00
  • ee0a482a87 Fixed bug 4401 - SDL_GetWindowPosition() wrong after SDL_SetWindowPosition() until window is moved on macOS Sam Lantinga 2019-05-19 11:52:25 -07:00
  • 2ee9b1ddce Fixed bug 4025 - SDL_Renderer OpenGL : add support for textures ABGR, RGB, BGR Sam Lantinga 2019-05-19 11:01:36 -07:00
  • 8dea23c705 Fixed bug 3911 - SYSWM generic X11 events missing event data Sam Lantinga 2019-05-19 10:44:14 -07:00
  • 29f3445316 video: Add Vulkan support for vivante fb Vivante drivers use the VK_KHR_display extension for rendering directly to the frame buffer. This patch adds support to the video driver for Vulkan rendering using that method. Wladimir J. van der Laan 2019-05-19 10:36:44 -07:00
  • 00e5eeb40e test: added SDLTest_CommonDefaultArgs() Ryan C. Gordon 2019-05-19 01:45:15 -04:00
  • 18d83093a8 test: configure/make shouldn't build GL/GLES1/GLES2 programs if unsupported. Ryan C. Gordon 2019-05-18 23:47:57 -04:00
  • 62a5797088 Windows are not in a minimized state when they are shown This fixes https://github.com/ValveSoftware/steam-for-linux/issues/4313 "Exiting game a in Steam Big Picture Mode gets semi-windowed BPM" Sam Lantinga 2019-05-15 14:01:15 -07:00
  • abcfe80480 [SDL] iOS fix bug with audio interrupted by a phone call not restoring. Sam Lantinga 2019-05-14 14:20:54 -07:00
  • 59da5b7202 [SDL] ios Touch Fix. Sam Lantinga 2019-05-14 07:55:42 -07:00
  • ba0fc92ded Patched to compile. Ryan C. Gordon 2019-05-11 12:41:21 -04:00
  • 6eb0521131 Emscripten: Use EMSCRIPTEN_EVENT_TARGET_* Charlie Birks 2019-05-09 12:09:45 +01:00
  • 4e5b5cba12 Emscripten: Switch from canvas[XY] to target[XY] Allows mouse/touch events to work on non-default canvases Charlie Birks 2019-05-09 12:09:40 +01:00
  • 60c48ed787 Emscripten: Store canvas id in WindowData Also replace all hardcoded uses of "#canvas" or NULL Charlie Birks 2019-05-09 12:09:34 +01:00
  • f0a4fea89f Fixed bug 4608 - Android: not getting SDL_WINDOWEVENT_FOCUS_GAINED on start of our app Sam Lantinga 2019-04-25 14:17:07 -07:00
  • 1a38853e02 Fixed bug 4566 - Hot-plugging Bluetooth controller causes force-quit on Android Sam Lantinga 2019-04-24 12:53:15 -07:00
  • 53a6196b32 Don't redefine __SSE__ and related macros if they're already defined Sam Lantinga 2019-04-23 16:57:34 -07:00
  • f5252530d2 Change my previous fix based on feedback from dev @saml Sam Lantinga 2019-04-23 14:08:14 -07:00
  • 624f8ca80d Created Xcode schemes for building on iOS and tvOS Sam Lantinga 2019-04-23 14:08:09 -07:00
  • ecce803d54 Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml Sam Lantinga 2019-04-23 12:59:28 -07:00
  • 45b5453b16 Fix compile errors I hit when building org.libsdl in source2 (part 1 of 2) Sam Lantinga 2019-04-23 12:59:20 -07:00
  • f79190f407 Use _Exit() when available Sam Lantinga 2019-04-23 07:59:31 -07:00
  • 46af90d8c3 Add a configure option allowing users to choose whether to install sdl2-config Hugh McMaster 2019-04-07 23:01:07 +10:00
  • 2c92c8e85a Android: add static variable initialization in non blocking event loop Sylvain Becker 2019-04-23 14:24:58 +02:00
  • cb18117c92 Added a helper function to tell whether or not a window can be minimized Sam Lantinga 2019-04-22 16:34:42 -07:00
  • f1b57f3785 Only leave fullscreen mode if we're actually going to minimize Sam Lantinga 2019-04-22 16:25:49 -07:00
  • 9950271bb6 Fixed bug 4580 - Android 8: immersive fullscreen notification causes flickering between fullscreen and non-fullscreen and app is unresponsive Sam Lantinga 2019-04-22 16:19:52 -07:00
  • 2f6c988e7c configure: Cleaned up audio/video summaries when building for Windows. Ryan C. Gordon 2019-04-21 21:34:14 -04:00
  • 90b08881ab iOS: Remove code trying to support compilation on the iOS 7 SDK, the deployment target has been set to iOS 8 for years and there's other unconditionally compiled code that depends on newer SDKs so that code is useless. Alex Szpakowski 2019-04-17 20:41:05 -03:00
  • 9d7b26155a macOS: Fix compilation when using the 10.9 SDK or older. Alex Szpakowski 2019-04-17 20:14:40 -03:00
  • cf87d5764d Explicitly load hidapi as a dependency of the SDL library This fixes loading on Android 4.2 Sam Lantinga 2019-04-16 20:00:14 -07:00
  • f07c992bb8 hidapi: Add GCN L/R buttons, just in case someone wants them... Ethan Lee 2019-03-17 12:36:40 -04:00
  • bd344c2287 Android: when event loop is not blocking in pause, backup EGL context (Bug 4578) Backup the EGL context when SDL_APP_DIDENTERBACKGROUND has been removed from the event queue. Sylvain Becker 2019-04-12 23:15:26 +02:00
  • 00c824a8b0 Fix disabling OpenGL vsync on macOS 10.14.4+ (bug #4575). Alex Szpakowski 2019-04-10 22:30:58 -03:00
  • aae49015da Fixed bug 4581 - generate synthetic mouse events at window boundaries when real touch events are actually outside the window. Sylvain Becker 2019-04-10 10:59:53 +02:00
  • cfefe5434a Fixed bug 4581 - mouse events with SDL_TOUCH_MOUSEID make window lost focus Virtual mouse events should never leave the window or change focus for single window applications. Sylvain Becker 2019-04-08 21:27:24 +02:00
  • d68e501db4 Fixed bug 4582 - Maximize/Resize not working on Windows 10 When viewport is set, projectionAndView changes, but ID3D11DeviceContext_UpdateSubresource was not called. Sylvain Becker 2019-04-08 13:43:48 +02:00
  • eb7affeeb8 SDL_HINT_MOUSE_TOUCH_EVENTS: move tracking appart in case of 'window' is null Sylvain Becker 2019-04-06 21:52:51 +02:00
  • a1a9fd50c6 Bug 4581: move tracking appart so it doesn't require the window to have focus Sylvain Becker 2019-04-06 21:43:16 +02:00
  • a46af76b07 Fixed bug 4579 - SDL_android.c s_active not being atomic Sam Lantinga 2019-04-05 08:15:01 -07:00
  • 9eac91dd29 Set SDL_HINT_MOUSE_TOUCH_EVENTS for iPhone and iPad as well Sam Lantinga 2019-04-05 08:10:12 -07:00
  • b6f33a6870 https://bugzilla.libsdl.org/show_bug.cgi?id=4577 Sam Lantinga 2019-04-05 07:51:11 -07:00
  • 05333a6e9f Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE to set whether the event loop will block itself when the app is paused. Sylvain Becker 2019-04-05 09:16:30 +02:00
  • b470cd9b09 Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour Sylvain Becker 2019-04-05 08:36:31 +02:00
  • 6f732d4ee8 Update WhatsNew.txt Sylvain Becker 2019-04-04 20:24:22 +02:00
  • 458c60e6a4 Update WhatsNew.txt Sylvain Becker 2019-04-04 20:10:55 +02:00
  • bfdd0b228a Android: remove SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH java layer runs as if separate mouse and touch was 1, Use SDL_HINT_MOUSE_TOUCH_EVENTS and SDL_HINT_TOUCH_MOUSE_EVENTS for generating synthetic touch/mouse events Sylvain Becker 2019-04-04 17:01:02 +02:00
  • e41576188d Add hint SDL_HINT_MOUSE_TOUCH_EVENTS for mouse events to generate touch events Sylvain Becker 2019-04-04 16:51:50 +02:00
  • ab03892ddf Bug 4576: track both FingerId and TrackId Sylvain Becker 2019-04-04 15:19:00 +02:00
  • e39c0a1f7d Bug 4576: fix wrong scaling Sylvain Becker 2019-04-03 10:14:42 +02:00
  • 236b86067f Bug 4576: one more warning Sylvain Becker 2019-04-02 18:07:27 +02:00
  • b45abbb2a7 Bug 4576: fix warning and compile Sylvain Becker 2019-04-02 17:57:27 +02:00
  • 9b3c2258aa Bug 4576: remove touch/mouse duplication for Android Sylvain Becker 2019-04-02 17:23:55 +02:00
  • 9d28156f12 Bug 4576: remove touch/mouse duplication for IOS Sylvain Becker 2019-04-02 17:18:47 +02:00
  • 42de5f97cc Bug 4576: remove touch/mouse duplication for WinRT Sylvain Becker 2019-04-02 17:13:22 +02:00
  • b086edc915 Bug 4576: remove touch/mouse duplication for Emscripten Sylvain Becker 2019-04-02 17:10:29 +02:00
  • b8e5c561d8 Bug 4576: remove touch/mouse duplication for Wayland Sylvain Becker 2019-04-02 17:07:54 +02:00
  • 6bc2d9de1f Bug 4576: remove touch/mouse duplication for linux/EVDEV Sylvain Becker 2019-04-02 17:03:58 +02:00
  • 1a4c3b57b7 Bug 4576: remove touch/mouse duplication for Windows Sylvain Becker 2019-04-02 16:58:11 +02:00
  • a3f2c446ef Bug 4576: handle mapping of TouchEvents to MouseEvents at higher level Sylvain Becker 2019-04-02 16:46:17 +02:00
  • 1febfedf85 configure.in: Rename configure.ac to fix an 'aclocal' warning Sam Lantinga 2019-04-02 05:31:08 -07:00
  • 14b385f2bf docs: Replace references to configure.in with configure.ac Hugh McMaster 2019-03-27 20:58:33 +11:00
  • af4bbb3064 configure.in: Rename to configure.ac to fix an 'aclocal' warning Hugh McMaster 2019-03-25 23:01:32 +11:00
  • 9a8d5215c6 Handle potentially calling SDL_JoystickUpdate() and SDL_JoystickQuit() at the same time. Sam Lantinga 2019-03-27 08:17:05 -07:00
  • 2fbfe8b912 coreaudio: Set audio callback thread priority. Ryan C. Gordon 2019-03-25 12:59:30 -04:00