Commit Graph

  • d166f5ef76 Fixed uninitialized variable warning Sam Lantinga 2022-08-22 14:10:54 -07:00
  • b2819e43a7 Send SDL_CONTROLLERDEVICEREMOVED for all joysticks because we don't know after the fact whether it was a game controller. Sam Lantinga 2022-08-22 13:10:57 -07:00
  • 0e61c106f5 Don't calculate relative mouse motion if we don't have a valid position Sam Lantinga 2022-08-22 12:49:41 -07:00
  • 84004d1e47 cocoa: change Shape data to use ObjC objects instead of C structs. slime 2022-08-21 18:06:11 -03:00
  • b204db1e6b cocoa: change Shape data to use ObjC objects instead of C structs. slime 2022-08-21 18:06:11 -03:00
  • 057086e389 wayland: Add high resolution scroll wheel support Frank Praznik 2022-07-15 13:44:49 -04:00
  • d731ad769d wayland: Fix include order when building with libdecor Frank Praznik 2022-07-15 10:44:38 -04:00
  • 4ca7b378c5 x11: Specify windowed dimensions when creating fullscreen windows. Ryan C. Gordon 2022-08-21 11:35:14 -04:00
  • a7066c527a Sync SDL wiki -> header SDL Wiki Bot 2022-08-21 14:05:04 +00:00
  • 329794daf3 cmake: add library directories & pthread to imported targets of sdl2-config.cmake Anonymous Maarten 2022-08-21 04:03:32 +02:00
  • 996eb2edb3 cmake: add library directories & pthread to imported targets of sdl2-config.cmake Anonymous Maarten 2022-08-21 04:03:32 +02:00
  • 8fb1b50a9e Sync SDL wiki -> header SDL Wiki Bot 2022-08-20 17:50:04 +00:00
  • 3739dda6bd Fixed minimized window detection when handling WM_WINDOWPOSCHANGED Sam Lantinga 2022-08-19 17:28:31 -07:00
  • ffab139646 Fixed minimized window detection when handling WM_WINDOWPOSCHANGED Sam Lantinga 2022-08-19 17:28:31 -07:00
  • a204ef50bb Use __ARM_ARCH instead of __ARM_ARCH__ Oleg Derevenetz 2022-08-19 22:16:04 +03:00
  • 5a3adbfdb2 Added the hint SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED to control whether the player LED is set on Xbox 360 controllers Sam Lantinga 2022-08-19 11:11:25 -07:00
  • 52b6899a6b Added hints for more fine grained control over HIDAPI Xbox controller support Sam Lantinga 2022-08-19 11:11:23 -07:00
  • bf327b52bd autotools: run ./autogen.sh Anonymous Maarten 2022-08-19 19:01:04 +02:00
  • 2b93f6e148 cocoa/uikit: Use VK_EXT_metal_surface in Vulkan_GetInstanceExtensions Luke Street 2022-05-20 09:55:06 -07:00
  • 029a9b2fa1 cocoa/uikit: Support VK_EXT_metal_surface Luke Street 2022-05-19 12:57:35 -07:00
  • ad874536a4 kmsdrm: enable vrr on displays that support it antonino 2022-08-17 14:56:18 +02:00
  • 6e9c14e550 Updated to version 2.25.0 for development Sam Lantinga 2022-08-19 09:38:42 -07:00
  • 8c9beb0c87 Updated to version Updated to version 2.24.0 for release release-2.24.0 Sam Lantinga 2022-08-19 08:44:09 -07:00
  • 6e007c36e7 Add null termination to Wayland_data_source_get_data() if requested Sam Lantinga 2022-08-18 19:05:55 -07:00
  • 948dbe7d3f Don't include the null terminator in Wayland clipboard text Sam Lantinga 2022-08-18 16:24:20 -07:00
  • f6b81125b3 Always define SDL_COMPILE_TIME_ASSERT as static_assert() in C++ Sam Lantinga 2022-08-18 16:05:22 -07:00
  • 3bae2d57da wayland: Set the libdecor app ID after visibility calls Frank Praznik 2022-08-18 12:39:47 -04:00
  • 51be30f3cd emscripten-buildbot.sh: force -s USE_SDL=0 Ryan C. Gordon 2022-08-17 21:37:32 -04:00
  • 8acb4e45b3 Fixed interactions between mouse capture and grab on X11 Sam Lantinga 2022-08-17 14:25:30 -07:00
  • 7da74eb5be wayland: Never commit with an undefined window title Frank Praznik 2022-08-17 14:59:23 -04:00
  • 99e9156ff5 testgles2: Fix typo in help text Cameron Gutman 2022-08-16 19:50:59 -05:00
  • 09b6956dcc opengl: Support NV12 textures on GPUs with only 2 texture units Cameron Cawley 2022-08-16 15:08:10 +01:00
  • 2fcd8f889c Handle SDL_PIXELFORMAT_EXTERNAL_OES in SDL_GetPixelFormatName() Cameron Cawley 2022-08-16 14:19:26 +01:00
  • 222f1a2693 testgles2: Add --threaded option to use a render thread per window Cameron Gutman 2022-08-15 22:51:15 -05:00
  • 9670d2bb9e Make sure we hold the joystick lock when disconnecting a HIDAPI joystick Sam Lantinga 2022-08-15 17:27:33 -07:00
  • 26948f01a3 cocoa: Make SDL_MinimizeWindow() work with borderless windows. Ryan C. Gordon 2022-08-15 20:09:09 -04:00
  • 650612fdcb wayland: Eliminate excessive calls to SetFullscreen Frank Praznik 2022-08-13 16:54:27 -04:00
  • cc9cc2028d video: Add video device quirk flags and apply them to the video subsystem Frank Praznik 2022-08-13 16:43:15 -04:00
  • 0cc8dfdb58 Added SDL_system.h for the declaration of SDL_iPhoneSetAnimationCallback() and SDL_iPhoneSetEventPump() Sam Lantinga 2022-08-15 07:44:56 -07:00
  • c6c688ab01 Add SDL_JOYBATTERYUPDATED event to SDL_JoystickEventState() Mathieu Eyraud 2022-08-14 14:55:32 +02:00
  • b72cf207fb core: linux: Don't cache the RealtimeKit D-Bus connection Frank Praznik 2022-08-14 09:41:42 -04:00
  • 7d5ccae22d Fix memory leak when destroying texture Francisco Javier Trujillo Mata 2022-08-14 12:15:55 +02:00
  • 5b4b4fa1ff Decrease audio thread priority when created Francisco Javier Trujillo Mata 2022-08-14 12:01:56 +02:00
  • cf134235d7 Removed line wrapping in patch notes Sam Lantinga 2022-08-13 08:23:40 -07:00
  • cb46e1b3f0 Removed unused variable prerelease-2.23.2 Sam Lantinga 2022-08-12 20:51:44 -07:00
  • 67cb3874ef Fixed potential uninitialized variable usage Sam Lantinga 2022-08-12 20:51:28 -07:00
  • 74bdb2115d wayland: Don't roundtrip in ShowWindow unless restoring a hidden window Frank Praznik 2022-08-12 22:01:12 -04:00
  • 3046d55d0e cocoa: Return an error if GetWindowDisplayIndex() is called too early Cameron Gutman 2022-08-12 22:02:26 -05:00
  • f1416ef2ba Updated to version 2.23.2 for release candidate Sam Lantinga 2022-08-12 20:27:22 -07:00
  • 08d17f47b3 Removed unused variable Sam Lantinga 2022-08-12 20:26:23 -07:00
  • be0cf257fe Only force the resize event in the DPI changed case Sam Lantinga 2022-08-12 18:13:42 -07:00
  • b880709e9c Added libusb hack for Gamesir-G3w which needs the same adjustment as the Hori controllers Sam Lantinga 2022-08-12 18:11:27 -07:00
  • 1b08cd20b3 wayland: Add roundtrip in SetWindowFullscreen() to get new size Cameron Gutman 2022-08-12 18:55:05 -05:00
  • 780b031b1b wayland: Avoid duplicate resize events when entering fullscreen Cameron Gutman 2022-08-12 16:39:39 -05:00
  • a28f426acb render: Only update size/scale/viewport when moving to a new display, rather than all window movement. Ethan Lee 2022-08-12 16:13:24 -04:00
  • cfbeb438c1 fix a bug if XINPUTGETBATTERYINFORMATION is nullptr Your Name 2022-08-12 21:05:37 +08:00
  • f42291ce68 Don't change mouse capture based on touch events Sam Lantinga 2022-08-11 16:13:14 -07:00
  • bf925b9ecd Fixed build Sam Lantinga 2022-08-11 14:41:48 -07:00
  • 24f97dd700 Added an SDL error to SDL_GameControllerMapping* functions Sam Lantinga 2022-08-11 14:39:49 -07:00
  • 9f30d4981e Added note about CRC algorithm compatibility Sam Lantinga 2022-08-11 14:27:08 -07:00
  • f35bbe0c3f Sync SDL wiki -> header SDL Wiki Bot 2022-08-11 21:11:11 +00:00
  • 3861c557da Added the hint SDL_HINT_MOUSE_RELATIVE_WARP_MOTION Sam Lantinga 2022-08-11 13:58:39 -07:00
  • c2db429f93 Added SDL_crc16.c to the Xcode project Sam Lantinga 2022-08-11 13:20:17 -07:00
  • e69838e745 add SDL_crc16.c to msvc and watcom builds Ozkan Sezer 2022-08-11 20:11:32 +03:00
  • b4c4dd84c2 Added SDL_crc16() to be used in joystick GUIDs after 2.24.0 Sam Lantinga 2022-08-11 09:52:58 -07:00
  • a1e34b5e35 Don't send a resize event when the window is resized to the dock icon Sam Lantinga 2022-08-11 08:52:51 -07:00
  • 879af7b5c8 Fixed mapping for paired Joy-Con controllers on iOS Sam Lantinga 2022-08-10 14:01:23 -07:00
  • 5f682e77cb wayland: Remove freed display from SDL_WaylandOutputData->output_list Guldoman 2022-08-10 20:01:15 +02:00
  • aaec244cfd Don't run the stdio automated tests if libc isn't available Sam Lantinga 2022-08-10 09:04:17 -07:00
  • e49321cec5 Fixed double-free in combined HIDAPI controller code Sam Lantinga 2022-08-10 08:20:54 -07:00
  • 6ecfc40697 Sync SDL wiki -> header SDL Wiki Bot 2022-08-10 15:02:11 +00:00
  • d4192850c1 Added SDL_ResetHint() to reset a hint to the default value Sam Lantinga 2022-08-10 07:59:12 -07:00
  • 3119d58ff5 cocoa: Change the new sync_dispatch hint to async_dispatch. Ryan C. Gordon 2022-08-10 10:48:23 -04:00
  • c6c0a8394e windows: If a display's friendly name is blank, try the generic name. Ryan C. Gordon 2022-08-10 09:54:49 -04:00
  • 9ff498e78e Make HIDAPI_JoystickOpen() more robust against internal logic errors Sam Lantinga 2022-08-10 06:00:30 -07:00
  • bdc7f958fd cocoa: Added hint to treat MacBook trackpads as touch devices, not mice. Ryan C. Gordon 2022-08-10 00:41:25 -04:00
  • 73d8d02629 Test: Fix Exp base case for Win32. Pierre Wendling 2022-08-09 22:36:59 -04:00
  • 8e782876bb Fixed spamming the controller with reset IMU commands when they are failing Sam Lantinga 2022-08-09 21:30:11 -07:00
  • eab27b9049 Make sure Switch controller initialization is synchronous and start the input timeout then Sam Lantinga 2022-08-09 17:58:42 -07:00
  • b4660e9d8b macOS: Add hint for blocking thread on OpenGL context update dispatch (#5708) Salman Ahmed 2022-08-10 03:40:00 +03:00
  • 7eb13c21c6 improve behavior of SDL_SetHint(WithPriority) (#5309) pionere 2022-08-10 02:27:25 +02:00
  • 1db7d33dc4 Recover from Bluetooth devices temporarily out of range Sam Lantinga 2022-08-09 17:04:26 -07:00
  • 6d012b2a5d Better fix for rescanning devices after read failure Sam Lantinga 2022-08-09 16:54:11 -07:00
  • 483a010f0c Fixed accidentally deadlocking the rumble thread with combined Joy-Cons Sam Lantinga 2022-08-09 15:39:39 -07:00
  • 5d63a3d435 Re-enumerate devices if a read fails Sam Lantinga 2022-08-09 14:06:49 -07:00
  • da50f1bd3e Bluetooth devices can recover from over a second of dropped reports Sam Lantinga 2022-08-09 14:05:43 -07:00
  • 824f2d4650 Added a second hint SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED to control the Home button LED on Nintendo Joy-Con controllers separately from Nintendo Switch Pro controllers Sam Lantinga 2022-08-09 13:41:58 -07:00
  • 8aa6922fec Fixed detecting Bluetooth disconnection on Nintendo Switch controllers Sam Lantinga 2022-08-09 13:25:52 -07:00
  • 3a9295e14f build-scripts: Removed winrtbuild.*, no longer used. Ryan C. Gordon 2022-08-09 16:02:16 -04:00
  • 53141a56b4 Expand CMake documentation a bit (#5961) Anonymous Maarten 2022-08-09 22:05:03 +02:00
  • a346c4bbef egl: Add support for SDL_GL_FLOATBUFFERS. Ryan C. Gordon 2022-08-09 15:41:02 -04:00
  • 201484ff6f Don't duplicate the serial number twice if a child doesn't set one Sam Lantinga 2022-08-09 09:03:28 -07:00
  • d90c0d41cc Include the child serial numbers in the serial number for a HIDAPI combined device Sam Lantinga 2022-08-09 09:00:29 -07:00
  • 523bedac1a Sync SDL wiki -> header SDL Wiki Bot 2022-08-09 15:48:12 +00:00
  • aad2df7f0d Document passing -1 to clear the player index for a controller Sam Lantinga 2022-08-09 08:47:49 -07:00
  • 8695d982d2 README-winrt.md: Updates for newer build details. Ryan C. Gordon 2022-08-09 10:09:54 -04:00
  • b599205d0c x11: Don't look up xinput2 devices unless we're in relative mode. Ryan C. Gordon 2022-08-09 09:50:55 -04:00
  • 2dd7659884 test: Fixed wrong arguments to SDL_SetWindowFullscreen. Ryan C. Gordon 2022-08-09 09:29:30 -04:00
  • 07b0ec539f SDL_video.h: Added \since info to new APIs. Ryan C. Gordon 2022-08-09 09:05:08 -04:00
  • 55882e43c4 Fixed invalid read when SDL_GameControllerSetPlayerIndex() is passed a negative player_index Sam Lantinga 2022-08-09 00:19:02 -07:00