Commit Graph

  • 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
  • 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
  • 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
  • a66cb8cf21 sdl2.m4: Deprecate AM_PATH_SDL2 in favour of PKG_CHECK_MODULES Simon McVittie 2022-10-31 11:44:32 +00:00
  • e0d904e90b sdl2-config.in: Deprecate sdl2-config Simon McVittie 2022-10-31 12:05:36 +00:00
  • 678ef7977f SDL_KMSDRMOPENGLES.H: Correct spelling mistakes Hubert Maier 2022-10-30 08:53:34 +01:00
  • 8b9c82e140 SDL_RENDER_PSP.C: Correct spelling mistakes Hubert Maier 2022-10-30 08:50:36 +01:00
  • 3369b0163f SDL_PS2_MAIN.C: Correct spelling mistake Hubert Maier 2022-10-30 08:43:04 +01:00
  • d7a46a16e9 SDL_SYSLOADSO.c: Correct spelling mistake Hubert Maier 2022-10-30 08:37:23 +01:00
  • 6a881302ad SDL_IBUS.H: Correct spelling mistake Hubert Maier 2022-10-30 08:35:59 +01:00
  • 61f3662c95 SDL_QSA_AUDIO.C: Correct spelling mistake Hubert Maier 2022-10-30 08:34:47 +01:00
  • 57973cd379 SDL_HINTS.H: Correct spelling mistake Hubert Maier 2022-10-30 08:30:49 +01:00
  • 571ff1a3a9 wayland: Prepare cursor implementation for reconnect support Ethan Lee 2022-10-30 00:19:09 -04:00
  • 9c8b1fd8b6 wayland: Cleanup work to aid reconnect support Ethan Lee 2022-10-29 22:34:05 -04:00
  • f6b1e028ab Allow vendor matching for hid_enumerate() on all backends Sam Lantinga 2022-10-29 10:42:48 -07:00
  • c360ca9928 Add UWP-ARM64 Support. 许兴逸 2022-10-29 16:55:10 +08:00
  • 4556074e18 Re-set the maximize state if we were maximized while fullscreen Sam Lantinga 2022-10-29 09:35:07 -07:00
  • ab06a307dc Don't report windows being maximized when fullscreen on X11 Sam Lantinga 2022-10-29 09:21:17 -07:00
  • b9e1d1b4de events: Rename SDL_SendKeyboardKeyComplete to SDL_SendKeyboardKeyAndKeycode.+ Ryan C. Gordon 2022-10-09 19:49:34 -04:00
  • 9221548114 emscripten: Make an attempt at correct keyboard scancode/keycodes. Ryan C. Gordon 2022-10-09 19:33:52 -04:00
  • 0ddec7e421 docs: Add notes about Emscripten audio quirks. Ryan C. Gordon 2022-10-28 16:07:30 -04:00
  • a8f019b1f0 Using ST and removing warnings Francisco Javier Trujillo Mata 2022-10-28 00:52:06 +02:00
  • f2ebedae92 adding texture function Francisco Javier Trujillo Mata 2022-10-27 00:35:20 +02:00
  • 5de01eb0aa Make render to use new functions Francisco Javier Trujillo Mata 2022-10-22 00:22:34 +02:00
  • f500c14766 Fixed DirectFB build Sam Lantinga 2022-10-28 08:39:02 -07:00
  • 9e8d2f3948 video: Don't use texture framebuffer on Windows Subsystem for Linux. Ryan C. Gordon 2022-10-27 13:54:53 -04:00
  • 4223e6ac7a wayland: Early-out sooner when requesting fullscreen on a popup Frank Praznik 2022-10-26 13:14:50 -04:00
  • 11a24a34e3 Sync SDL wiki -> header SDL Wiki Bot 2022-10-26 22:30:06 +00:00
  • 41d38c0f64 shape: More robust handling of failure cases in CreateShaper. Ryan C. Gordon 2022-10-26 09:43:04 -04:00
  • c8d20f96ba shape: Free platform-specific shaped window data. Ryan C. Gordon 2022-10-25 23:13:34 -04:00
  • 30c2dac787 wayland: Remove duplicate #include statement Frank Praznik 2022-10-25 20:00:38 -04:00
  • 25d0473aad Removed Razer Onza Tournament Edition mapping Sam Lantinga 2022-10-25 16:14:26 -07:00
  • e837debc25 Bindings should have a trailing comma, so the CRC can be appended Sam Lantinga 2022-10-25 16:13:50 -07:00
  • b6cf889af4 Use ScreenCount() instead of SDL_GetNumVideoDisplays() Sam Lantinga 2022-10-25 15:09:43 -07:00
  • c74ea994a5 Added support for the Razer Raiju Tournament Edition controller in Bluetooth mode Sam Lantinga 2022-10-25 13:11:41 -07:00
  • 72f6e216dc Disabled debug logging Sam Lantinga 2022-10-25 12:25:57 -07:00
  • e3f5744db4 Don't use XIWarpPointer() on multi-display configurations Sam Lantinga 2022-10-25 12:14:00 -07:00
  • 393acf6362 Sync SDL wiki -> header SDL Wiki Bot 2022-10-25 18:07:13 +00:00
  • 98dfc9296a build-scripts/fnsince.pl: Deal with new point-release system. Ryan C. Gordon 2022-10-25 14:03:32 -04:00
  • 5fbf8f6cf0 Adds DualSense Edge Alynne 2022-10-25 12:37:17 -04:00
  • da478d1f66 Fixed build Sam Lantinga 2022-10-25 10:30:56 -07:00
  • a6018ae57f Added support for the NVIDIA SHIELD controller v1.03 to the HIDAPI driver Sam Lantinga 2022-10-25 10:23:51 -07:00
  • 20beed3029 SDL_EGL_GetProcAddress: remove unnecessary underscore-prepended search. Ozkan Sezer 2022-10-25 14:56:32 +03:00
  • 053b5f85f1 SDL_windowsevents: minimize white screen flash on window creation Steven Noonan 2022-08-25 20:18:03 -07:00
  • b6e7c743db SDL_cpuinfo: define __ARM_ARCH=8 for _M_ARM64 Steven Noonan 2022-08-25 20:21:03 -07:00
  • d2300516c3 cocoa: set sRGB colorspace on nswindow Steven Noonan 2022-09-07 06:49:02 -07:00
  • 019e9d4c92 SDL_cocoavideo.m: add missing SDL_cocoaopengles.h include Steven Noonan 2022-08-25 23:15:58 -07:00
  • dd72f3f03d Added comment for #endif Sam Lantinga 2022-10-24 10:37:43 -07:00
  • 3d35c08585 fix a few 'unused but set variable' and 'unused function' warnings Steven Noonan 2022-10-02 17:30:03 -07:00
  • f4d1f5ed54 SDL-HIDPS4: fix PS4 Slim controller over BT - it sends the same input report as the it does over USB, but with a larger packet size Sam Lantinga 2022-10-23 16:35:36 -07:00
  • 5bd13dec19 Merge commit '8db3a33872cfbefcdfb059beea92338a7873f89e' into main Sam Lantinga 2022-10-23 16:35:22 -07:00