Commit Graph

  • d8b1ef42ae pulseaudio: Only use PA_STREAM_ADJUST_LATENCY if buffer isn't super small. Ryan C. Gordon 2022-11-15 22:18:51 -05:00
  • 8b696541ed CI, MSVC: update to use microsoft/setup-msbuild v1.1.3. Ozkan Sezer 2022-11-16 00:20:28 +03:00
  • 06492c5981 CI, MSVC: update to use microsoft/setup-msbuild v1.1.3. Ozkan Sezer 2022-11-16 00:20:28 +03:00
  • 02ab7f3745 Fixed release build using clang on Windows Sam Lantinga 2022-11-15 12:57:07 -08:00
  • 98f93d0aa1 Fixed building without xkbcommon support Sam Lantinga 2022-11-15 11:39:06 -08:00
  • 615901dbfe Removed unnecessary header Sam Lantinga 2022-11-15 11:19:08 -08:00
  • c855184765 wayland: Handle virtual keyboards that don't fit the X mapping Frank Praznik 2022-11-04 12:41:46 -04:00
  • d1858eb124 events: Add a helper function to get the default keycode for a scancode Frank Praznik 2022-11-04 12:33:45 -04:00
  • 0e446c54bd events: Factor out the xkb keysym to scancode conversion from the X11 driver Frank Praznik 2022-11-04 12:27:36 -04:00
  • 44d7b8b91d egl: Check for a NULL pointer in SDL_EGL_GetProcAddress. Ryan C. Gordon 2022-11-15 13:57:01 -05:00
  • f3cc99fb93 x11: Minor style fixes for recent OSK changes Ethan Lee 2022-11-15 13:56:44 -05:00
  • 711d30ddd4 The SDL2::SDL2 target in SDL2.framework needs to see the SDL2 include folder Anonymous Maarten 2022-11-15 19:22:42 +01:00
  • e6c4db8160 The SDL2::SDL2 target in SDL2.framework needs to see the SDL2 include folder Anonymous Maarten 2022-11-15 19:22:42 +01:00
  • 70656b133c Don't recreate the window when creating a Metal renderer on an OpenGL window. Sam Lantinga 2022-11-15 10:18:41 -08:00
  • a71ad40ac3 CMake: Add option to use Ccache. Pierre Wendling 2022-11-15 13:04:22 -05:00
  • 5e61f245ab Sync SDL wiki -> header SDL Wiki Bot 2022-11-15 05:25:16 +00:00
  • 80ff20f6fe N3DS: Set keyboard focus to newly created windows. Pierre Wendling 2022-11-14 23:56:20 -05:00
  • 491d0bcc3c N3DS: Refactor N3DS_FileOpen. Pierre Wendling 2022-11-14 17:38:42 -05:00
  • dcfa127fd4 N3DS: Document the SDL_GetBasePath behaviour. Pierre Wendling 2022-11-14 17:34:22 -05:00
  • de5fa89b50 N3DS: Prepend PrefPath with sdmc:. Pierre Wendling 2022-11-14 16:56:51 -05:00
  • 7d536d5240 N3DS: Put SDL_Log.txt in the proper directory. Pierre Wendling 2022-11-14 16:16:21 -05:00
  • bf4f9aaa63 N3DS: Use designated initialiser for drivers. Pierre Wendling 2022-11-14 16:11:58 -05:00
  • d080e3bf3a Silence -Wmaybe-uninitialized warnings in tests. Pierre Wendling 2022-11-14 17:56:48 -05:00
  • a40b7cde10 Workaround for views being in portrait instead of landscape mode on iOS 16 Sam Lantinga 2022-11-14 13:03:52 -08:00
  • 9f784b1887 The iOS and tvOS demos link SDL statically, not as a framework Sam Lantinga 2022-11-14 10:58:59 -08:00
  • b886f4c6c9 events: eliminate redundant code in SDL_SendEditingText pionere 2022-11-14 17:35:28 +01:00
  • dad8df3ed1 video: check graphics flags the same way in SDL_RecreateWindow as in SDL_CreateWindow - single check to validate the graphics flags - check it before tearing down the window pionere 2022-11-14 08:20:31 +01:00
  • eef4d3c86a wayland: Clamp wl_seat version on older versions of libwayland Frank Praznik 2022-11-13 16:56:04 -05:00
  • 674989261d Fixed warning Sam Lantinga 2022-11-13 11:09:20 -08:00
  • 1b0277da61 Move SDL_mslibc.c into the source file list Sam Lantinga 2022-11-13 11:08:37 -08:00
  • c4b9f62164 x11: Add support for the Steam Deck on-screen keyboard Ethan Lee 2022-11-13 12:45:13 -05:00
  • 5f2a1231dd video: check graphics flags the same way as the type flags pionere 2022-11-13 08:00:03 +01:00
  • 22354b4142 video: simplify window-type check in SDL_CreateWindow pionere 2022-11-12 08:29:15 +01:00
  • 85aa9b8b6f wasapi: Favor the system resampler again, for now. Ryan C. Gordon 2022-11-11 13:47:36 -05:00
  • 9f8b68a278 Fixed building without linux/input.h Sam Lantinga 2022-11-11 10:24:17 -08:00
  • b7e65a81f1 Fixed incorrect WGI controller state when the application loses focus Sam Lantinga 2022-11-11 08:57:07 -08:00
  • 875e9b35d7 N-Gage: additional cleanup Michael Fitzmayer 2022-10-26 15:19:28 +02:00
  • afbafc2aef Remove redundant dependency to bitdraw.h, minor cleanup Michael Fitzmayer 2022-10-21 08:11:48 +02:00
  • d09edcbcac video: sync Metal_CreateView with GL_CreateContext and Vulkan_CreateSurface no need to check if _this->Metal_CreateView, since it is already checked in Re(create)Window pionere 2022-11-11 12:10:27 +01:00
  • b71d927429 video: add NOT_AN_OPENGL_WINDOW define (similar to NOT_A_VULKAN_WINDOW) pionere 2022-11-11 12:09:15 +01:00
  • 36c6ed4b6f video: add SDL_DllNotSupported - add SDL_DllNotSupported and use it to sync the behavior of SDL_GL_LoadLibrary with SDL_Vulkan_LoadLibrary pionere 2022-11-11 08:33:55 +01:00
  • dd44cacbd6 remove duplicated SDL_hidapi_steam.c additions to watcom makefiles. Ozkan Sezer 2022-11-11 12:51:30 +03:00
  • 0dfc829a6b Added simple BLE Steam Controller support on all platforms Sam Lantinga 2022-11-10 19:16:53 -08:00
  • 3d8a7e4c15 cocoa: implement GL_GetDrawableSize for OpenGL ES Steven Noonan 2021-04-09 07:44:38 -07:00
  • e8fbb02d16 windows: support forcing EGL for GL desktop Steven Noonan 2022-09-11 12:30:18 -07:00
  • 085a276d6c egl: implement callbacks for defining custom EGL attributes Steven Noonan 2022-08-25 22:41:06 -07:00
  • 0644042eb8 egl: implement public functions to obtain internal EGL handles Steven Noonan 2022-08-25 19:44:35 -07:00
  • eacf6dc15e egl: fix function prototype for eglGetPlatformDisplay Steven Noonan 2022-08-25 22:53:25 -07:00
  • fb1a581209 egl: add hint to disable eglGetDisplay fallback when eglGetPlatformDisplay fails Steven Noonan 2022-08-25 21:29:30 -07:00
  • c608cf6222 egl: implement SDL_GL_EGL_PLATFORM attribute Steven Noonan 2022-08-25 20:29:41 -07:00
  • aed980526c SDL_video: defer destroying window until GL/EGL/Vulkan unloaded Steven Noonan 2022-08-25 20:22:52 -07:00
  • 5a7c20b945 hints: replace SDL_HINT_VIDEO_X11_FORCE_EGL with platform-agnostic SDL_HINT_VIDEO_FORCE_EGL Steven Noonan 2022-08-25 19:35:41 -07:00
  • f430ef5ddc Don't change the window position when creating it on iOS, it is already placed on the correct display Sam Lantinga 2022-11-10 17:27:48 -08:00
  • 7c05ea0a0e Added mappings for the GameSir T3 and T4 Pro controllers Sam Lantinga 2022-11-10 13:35:40 -08:00
  • 404cb27677 Added macOS mappings for the Nintendo Switch Pro Controller over Bluetooth Sam Lantinga 2022-11-10 13:28:03 -08:00
  • 29cafa9c94 add SDL_ContextNotSupported and validate flags in SDL_RecreateWindow similar to SDL_CreateWindow pionere 2022-11-10 08:23:16 +01:00
  • 1008cc8e5f video: Add some braces to match SDL coding style. Ryan C. Gordon 2022-11-09 12:55:27 -05:00
  • ac3349faaf solve FIXMEs in SDL_video.c pionere 2022-11-09 09:11:04 +01:00
  • e5c599f8c6 fix SOLARIS_ATOMICS - use 'sizeless' int types (int uses 32-bit even if _LP64 is set) pionere 2022-11-09 09:02:23 +01:00
  • b095df7f5c simplify MSC_ATOMICS - use _Interlocked(Compare)ExchangePointer in case of _M_IX86 as well - improve assertions: 1. add assertions to SDL_AtomicAdd/SDL_AtomicSet and SDL_AtomicCAS 2. use sizeof(a->value) instead of sizeof(int) pionere 2022-11-08 08:39:43 +01:00
  • 3dc88da022 Fix Dualshock 4 rumble stopping too early meyraud705 2022-11-08 13:27:56 +01:00
  • 6432f45a1c Don't treat the Nintendo IMU as a separate game controller on Linux Sam Lantinga 2022-11-08 10:27:21 -08:00
  • 2e3b4f3fd7 Don't send rumble to the Amazon Luna controller on macOS Sam Lantinga 2022-11-08 07:50:51 -08:00
  • 02bc359b64 Shorten "Bensussen Deutsch & Associates,Inc.(BDA)" to "BDA" for controller names Sam Lantinga 2022-11-07 19:31:18 -08:00
  • b0dc6709b9 coreaudio: Don't use deprecated kAudioObjectPropertyElementMaster symbol. Ryan C. Gordon 2022-11-07 14:26:48 -05:00
  • db01016dd6 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. Ozkan Sezer 2022-11-07 21:15:30 +03:00
  • e873d60981 fix handling of SDL_EventQ.active - SDL_EventQ.active is a bool variable -> do not use SDL_AtomicGet/Set, it does not help in any way - protect SDL_EventQ.active with SDL_EventQ.lock - set SDL_EventQ.active to FALSE by default pionere 2022-11-07 10:02:06 +01:00
  • eb670742f5 better SDL_AtomicGet(Ptr) implementation pionere 2022-11-07 09:05:32 +01:00
  • 64c93f7804 replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. Ozkan Sezer 2022-11-06 23:51:04 +03:00
  • 5dc93451d2 JANITORIAL : Correct some more spelling mistakes (#6489) Hubert Maier 2022-11-06 20:49:37 +01:00
  • c2675d74c5 Revert "cocoa: Discard the IME Candidate Window immediately when Escape is pressed" Sam Lantinga 2022-11-06 10:52:20 -08:00
  • f2ce7c5fb2 Added the G29 as a PlayStation controller Sam Lantinga 2022-11-06 08:23:08 -08:00
  • 9d1dbd2ad8 Added note about trigger rumble availability across third-party Xbox One controllers Sam Lantinga 2022-11-06 01:16:52 -08:00
  • e7a56323ab Make sure we wait after sending the rumble packet when initializing the PowerA Xbox One Mini Wired Controller Sam Lantinga 2022-11-06 01:43:05 -07:00
  • 6875e62af3 Make sure we don't send Xbox controllers rumble so quickly that it overwhelms the firmware Sam Lantinga 2022-11-06 01:15:20 -07:00
  • 38af459dd9 Fixed potential clobbering of packets of different types using SDL_HIDAPI_SendRumble() Sam Lantinga 2022-11-06 01:15:19 -07:00
  • e45cb5b1e2 Fixed initializing the PowerA Xbox One Mini Wired Controller Sam Lantinga 2022-11-06 01:15:18 -07:00
  • 0d76e2a8a1 cocoa: Discard the IME Candidate Window immediately when Escape is pressed Edward Li 2022-11-06 04:59:02 +08:00
  • 15a9890919 Added SDL_HINT_HIDAPI_IGNORE_DEVICES to specify devices that should be ignored in SDL_hid_enumerate() Sam Lantinga 2022-11-05 16:44:52 -07:00
  • 297ecb706d Added SDL_strcasestr() for a case insensitive version of SDL_strstr() Sam Lantinga 2022-11-05 15:58:30 -07:00
  • a4626dea8d Fixed initializing the PDP Xbox One and Victrix Gambit controllers Sam Lantinga 2022-11-05 14:24:41 -07:00
  • 7e11b09b3b The PowerA Xbox One Mini Wired Controller works with the HIDAPI driver now Sam Lantinga 2022-11-05 13:50:37 -07:00
  • a2d66b6a91 SDL_GameControllerMapping() should return the string for the actual mapping that was used when opening a gamecontroller, rather than do a GUID match again Sam Lantinga 2022-11-05 13:12:10 -07:00
  • f3bf543e2a recognize game controllers connected via raphnet technologies WUSBMote v2.2 Stefan Sperling 2022-11-05 15:21:29 +00:00
  • 24cdebe464 Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED to control the brightness of the Xbox button LED on the Xbox One controller Sam Lantinga 2022-11-05 10:34:08 -07:00
  • c93900437f audio: Avoid accumulation errors in resampler. Ryan C. Gordon 2022-11-05 10:38:33 -04:00
  • 78f97108f9 audio: Avoid accumulation errors in resampler. Ryan C. Gordon 2022-11-05 10:38:33 -04:00
  • 689218ebf5 Fix wayland reconnection paths David Edmundson 2022-11-04 12:07:20 +00:00
  • 33a68f575f Added Linux mappings for the Logitech G29 in PS3 and PS4 modes Sam Lantinga 2022-11-03 16:02:58 -07:00
  • c70e675900 Wait a bit for devices to initialize before trying to enumerate and open them. Sam Lantinga 2022-11-03 12:37:54 -07:00
  • 084fa4c3fa cocoa: Reset IME when sending composed text Guldoman 2022-11-01 10:55:17 +01:00
  • 61297f703a cmake: on Apple, check for presence of an OBJC compiler Anonymous Maarten 2022-10-29 03:20:30 +02:00
  • 04bcc910e9 cmake: don't do enable_language(OBJC) Anonymous Maarten 2022-10-29 03:14:54 +02:00
  • b50e429354 Fix compilation for .m files extension Luca Lolli 2022-09-07 12:21:56 +02:00
  • 4c704ecfdd cmake: use SDL2-static as static library output name when prefix/static == ""/".lib" Anonymous Maarten 2022-11-01 16:33:21 +01:00
  • 55b03c7493 Updated to version 2.24.2 for point release release-2.24.2 Sam Lantinga 2022-11-01 05:47:12 -07:00
  • 70a41f9bc2 wayland: Read window data only if window is valid Guldoman 2022-11-01 09:59:16 +01:00
  • b75d318776 Sometimes the HID open doesn't succeed immediately after being notified about the device Sam Lantinga 2022-10-31 13:33:53 -07:00
  • 27ee8c8e14 Fix mismatch between Init and Quit Jasper Hugunin 2022-10-28 22:35:16 -07:00
  • 33a430056f wayland: Don't modify the mouse capture flag in relative mode Frank Praznik 2022-10-31 12:23:51 -04:00