Commit Graph

  • 1c64366b80 Added SDL_CreateRendererWithProperties() and SDL_CreateTextureWithProperties() Sam Lantinga 2023-11-13 12:13:20 -08:00
  • 7203641597 Note that the SDL window properties are read-only Sam Lantinga 2023-11-13 13:58:33 -08:00
  • e0c45c6c98 Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL Sam Lantinga 2023-11-13 12:21:23 -08:00
  • 229b7b9d50 SDL_CreateWindowWithPosition() and SDL_CreateWindowFrom() have been replaced with SDL_CreateWindowWithProperties() Sam Lantinga 2023-11-13 11:29:30 -08:00
  • 2c1fbe1967 Revert "Check to make sure the Windows joystick device has buttons and axes" Sam Lantinga 2023-11-13 21:33:09 -08:00
  • edd044e901 Fixed the ROG PUGIO II showing up as a game controller Sam Lantinga 2023-11-13 21:30:57 -08:00
  • 861b1ebd12 properties: Use a mutex instead of an RWLock to guard the hash table Frank Praznik 2023-11-13 18:06:45 -05:00
  • dd8ab67bd9 Sync wiki -> headers. Ryan C. Gordon 2023-11-13 15:46:29 -05:00
  • 91460fc13d include: Fixed up documentation in SDL_pen.h Ryan C. Gordon 2023-11-13 15:40:55 -05:00
  • 876c97454a Cleanup WIN_CreateCursor() code a bit Dimitriy Ryazantcev 2022-11-26 18:37:10 +02:00
  • 8766aa39d6 Sync wiki -> headers. Ryan C. Gordon 2023-11-13 13:03:42 -05:00
  • e5ffd6d8eb include: Removed \link and \endlink Doxygen tags. Ryan C. Gordon 2023-11-13 13:01:25 -05:00
  • 1c4723ac66 SDL_CreateWindowFrom() now takes a set of properties that describe the native window and options. Sam Lantinga 2023-11-12 21:37:00 -08:00
  • 6afae6681b Allow casting properties of different types Sam Lantinga 2023-11-12 19:06:23 -08:00
  • bd269b0f41 Added SDL_SetBooleanProperty() and SDL_GetBooleanProperty() Sam Lantinga 2023-11-12 18:34:22 -08:00
  • c47ac5b2df include: Fixed copy/paste error Ryan C. Gordon 2023-11-12 23:41:08 -05:00
  • 0efb3d90e0 audio: removed a fixed FIXME comment. Ryan C. Gordon 2023-11-10 23:40:22 -05:00
  • 69cae07cc1 cpuinfo: Fix detection of physical memory above 2GB on NetBSD nia 2023-11-12 20:22:23 +01:00
  • 45fc828c95 move SDL_EVENT_WINDOW_PEN_ENTER and SDL_EVENT_WINDOW_PEN_LEAVE down Ozkan Sezer 2023-11-12 23:02:10 +03:00
  • 0907f345cb Added property types: pointer, string, number, float Sam Lantinga 2023-11-12 09:47:31 -08:00
  • 7c80ac6df7 API for pressure-sensitive pens + XInput2/Wayland Christoph Reichenbach 2023-08-27 06:20:29 +00:00
  • d3e43668d0 Revert "Sync SDL3 wiki -> header" Sam Lantinga 2023-11-12 09:02:22 -08:00
  • 43571769f1 Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-12 15:55:10 +00:00
  • 843873626c Handle window resizing on the render thread in D3D11 and D3D12 Sam Lantinga 2023-11-11 12:49:53 -08:00
  • f66f61de01 Fixed missing "0" in the button list Sam Lantinga 2023-11-11 08:30:13 -08:00
  • 04b6b2979f Re-add SDL_assert() with non boolean ptr syntax (#8530) Sylvain Becker 2023-11-11 10:28:24 +01:00
  • b374105975 Replaced SDL_GetTextureDXGIResource() with texture properties Sam Lantinga 2023-11-10 20:00:53 -08:00
  • 09d1e9defb Only update the battery status for Bluetooth Switch Pro controllers Sam Lantinga 2023-11-10 17:09:39 -08:00
  • 87794d03ad Added shortened name for "Nintendo Co., Ltd." Sam Lantinga 2023-11-10 17:04:37 -08:00
  • fbb6934905 Added support for the Dragonrise GameCube adapter with VID 0x1843 Sam Lantinga 2023-11-10 16:34:33 -08:00
  • d98e1bdfe1 Use the standard gamepad type for Switch Pro controllers using the GameCube form factor Sam Lantinga 2023-11-10 16:11:10 -08:00
  • a5a47d3bee Fixed crash if there is no controller mapping Sam Lantinga 2023-11-10 15:38:24 -08:00
  • 312faf9305 Updated documentation for the controller face buttons Sam Lantinga 2023-11-10 15:37:21 -08:00
  • 2991b9f6ac SDL now represents gamepad buttons as positional elements with a separate label Sam Lantinga 2023-11-06 13:07:12 -08:00
  • 8708ba7393 Don't leak if realloc fails meyraud705 2023-11-10 13:25:54 +01:00
  • 36b2d2e463 Fix memory leak in SDL_SendDrop() Mathieu Eyraud 2023-11-10 12:01:57 +01:00
  • dfb87e1099 Fix uninitialised variable 'properties' Mathieu Eyraud 2023-11-10 11:54:21 +01:00
  • e54c5e0204 Fix condition in SDLTest_TrackAllocations() Mathieu Eyraud 2023-11-10 11:58:56 +01:00
  • 89408a9705 wasapi: ResetWasapiDevice no longer blocks on management thread. Ryan C. Gordon 2023-11-09 20:27:58 -05:00
  • aa7baf63aa Sync wiki -> headers. Ryan C. Gordon 2023-11-09 20:11:23 -05:00
  • 74f3643bfa wayland: Add missing break to switch statement Frank Praznik 2023-11-09 19:48:56 -05:00
  • 2d6bae70b4 Older gcc does not support #pragma GCC diagnostic inside functions Anonymous Maarten 2023-11-09 23:33:28 +01:00
  • d8600f717e Pointer as bool (libsdl-org#7214) Sylvain 2023-11-09 22:29:15 +01:00
  • 23db971681 x11: Ignore deprecated declaration of XKeycodeToKeysym Anonymous Maarten 2023-11-09 18:45:54 +01:00
  • 61c39ce848 ci: re-enable Intel compilers on ci Anonymous Maarten 2023-11-09 17:37:36 +01:00
  • 4ac3f5c07e Updated Xcode project with the video capture API Sam Lantinga 2023-11-09 09:01:29 -08:00
  • 59f93e20a7 Add SDL Video Capture, with back-end for linux/macos/ios/android Sylvain 2023-11-09 11:11:07 +01:00
  • 3ab98a3572 Removed debug print statements (thanks @stsp!) Sam Lantinga 2023-11-08 20:43:44 -08:00
  • f4b61fff30 Implemented VT switching for KMSDRM on Linux Sam Lantinga 2023-11-08 10:33:40 -08:00
  • 391a3d23d0 cmake: the compile-time pdb does not have a suffix, if set Anonymous Maarten 2023-11-09 03:28:20 +01:00
  • a6541166bc cmake: also install pdb files of static libraries Anonymous Maarten 2023-11-09 00:24:10 +01:00
  • 2e3f574f8f cmake: don't add the C runtime library to the .obj file (when using MSVC) Anonymous Maarten 2023-11-09 00:20:34 +01:00
  • bea34c5380 Fixed a memory leak at window creation. Sam Lantinga 2023-11-08 14:26:07 -08:00
  • b5347c3364 Fixed emscripten and iOS builds Sam Lantinga 2023-11-08 14:14:41 -08:00
  • 02f356439d Allow the application to draw while Windows is in a modal move/resize loop Sam Lantinga 2023-11-08 13:11:21 -08:00
  • 1934417b4d Show the existing mapping when a controller is connected Sam Lantinga 2023-11-08 12:38:54 -08:00
  • 407a3cb4e0 Fixed infinite recursion initializing properties Sam Lantinga 2023-11-08 12:38:04 -08:00
  • 979214363f Added SDL_GetGlobalProperties() Sam Lantinga 2023-11-08 11:55:04 -08:00
  • 151cdfa99f Added the "SDL.window.wayland.registry" property Sam Lantinga 2023-11-08 11:45:55 -08:00
  • 6c91b28e71 Added the "SDL.renderer.d3d12.command_queue" property Sam Lantinga 2023-11-08 11:27:00 -08:00
  • 4e8d1ec983 Fixed crash trying to create a metal view with the dummy driver Sam Lantinga 2023-11-07 15:32:40 -08:00
  • fd4a2cce9e SDL_syswm.h has been removed and replaced with window properties Sam Lantinga 2023-11-07 14:38:19 -08:00
  • aea6e6de6f Simplified SDL_SetProperty() and added SDL_SetPropertyWithCleanup() Sam Lantinga 2023-11-07 12:33:43 -08:00
  • a1941fad6c Replaced SDL_RenderGetD3D11Device(), SDL_RenderGetD3D12Device(), and SDL_RenderGetD3D9Device() with renderer properties. Sam Lantinga 2023-11-07 10:44:33 -08:00
  • 0cd4b7d3e3 Added display properties Sam Lantinga 2023-11-07 09:58:49 -08:00
  • a02afbaea5 Clean up window properties when the window is destroyed Sam Lantinga 2023-11-07 09:57:33 -08:00
  • 8668943746 Standardized property names for internal SDL properties Sam Lantinga 2023-11-07 09:56:05 -08:00
  • a4c6b38fef Fixed FreeBSD build Sam Lantinga 2023-11-08 07:46:02 -08:00
  • d9e6dcc650 Fixed FreeBSD build Sam Lantinga 2023-11-08 04:45:29 -08:00
  • 7cc3e94eb2 Store the requested muted state Sam Lantinga 2023-11-08 03:36:47 -08:00
  • ce9e1bd324 Don't mute the console input if we can't read the keyboard Sam Lantinga 2023-11-08 03:25:22 -08:00
  • 0a1b6b270f sdlchecks.cmake: Clarified the reason why shared X11 mode doesn't work Wohlstand 2023-11-08 13:33:56 +03:00
  • 80b2bbad21 Removed useless branch test Sam Lantinga 2023-11-08 01:34:42 -08:00
  • 15bc12165a Actually we need to enumerate the 8BitDo Xbox SKUs Sam Lantinga 2023-11-08 00:42:42 -08:00
  • 8049af3355 Assume all 8BitDo Xbox controllers have a share button Sam Lantinga 2023-11-08 00:34:50 -08:00
  • ed1e0c1530 Make sure joysticks are locked when adding and removing them Sam Lantinga 2023-11-08 00:11:55 -08:00
  • 415283ef38 Fixed checking for linux/input.h Sam Lantinga 2023-11-07 23:44:58 -08:00
  • fea2504a37 Prioritize the pipewire audio driver over ALSA Sam Lantinga 2023-11-07 22:02:27 -08:00
  • 04e98d2236 Added missing calls to SDL_InvalidParamError("surface") Sam Lantinga 2023-11-07 21:57:15 -08:00
  • 521bbcc15e Destroy the window surface if we've created it for the software renderer Sam Lantinga 2023-11-07 21:44:18 -08:00
  • 28e623c504 Added a mapping for the Atari VCS controller connected over Bluetooth (thanks @WizzardSK!) Sam Lantinga 2023-11-07 18:08:11 -08:00
  • 4106697774 Make sure we include the null terminator in XLookupStringAsUTF8() Sam Lantinga 2023-11-07 16:24:08 -08:00
  • b5057edf29 Remove unused SDL_TextureModulate enum Sam Lantinga 2023-11-07 09:23:26 -08:00
  • 9458cbf75e Removed unused SDL_OSEvent Sam Lantinga 2023-11-07 09:14:17 -08:00
  • 1a57f6bb29 wayland: Remove QtWayland extensions Frank Praznik 2023-11-07 10:36:07 -05:00
  • 5f920d6639 fix emscripten build after commit 07cb7c10 Ozkan Sezer 2023-11-07 07:55:30 +03:00
  • 22016b4eae Enable the 5th player LED on the DualSense controller Sam Lantinga 2023-11-06 20:14:50 -08:00
  • 66cf30c2de Removed misleading comment Sam Lantinga 2023-11-06 19:33:22 -08:00
  • dbcd390cdf Log drag and drop position updates in SDL test programs Sam Lantinga 2023-11-06 18:53:06 -08:00
  • 07cb7c10a1 Fixed connecting and disconnecting real-joysticks closing virtual joysticks in Emscripten (thanks David!) Sam Lantinga 2023-11-06 17:10:03 -08:00
  • 869257a5c1 SDL_migration.cocci: Added a thing for SDL_Vulkan_CreateSurface. Ryan C. Gordon 2023-11-06 19:16:38 -05:00
  • c6d9fb1ad7 hidapi: Avoid memcpy'ing to NULL. Ryan C. Gordon 2023-11-06 13:48:07 -05:00
  • 4d1aecc225 vulkan: Patched to compile on iOS. Ryan C. Gordon 2023-11-06 13:34:29 -05:00
  • fccec65afe Sync SDL3 wiki -> header SDL Wiki Bot 2023-11-06 18:32:15 +00:00
  • 2f92807087 vulkan: SDL_Vulkan_CreateSurface now accepts an app-provided allocator. Ryan C. Gordon 2023-11-06 13:30:56 -05:00
  • c53843a961 docs: Remove Doxygen \brief tags. Ryan C. Gordon 2023-11-06 10:26:06 -05:00
  • c132295ad7 SDL_FlushEventMemory is not a public procedure. Ozkan Sezer 2023-11-06 17:40:56 +03:00
  • 7ac281f800 Sync wiki -> headers. Ryan C. Gordon 2023-11-06 09:33:05 -05:00
  • f7d40b7594 Added 10-bit pixel formats in addition to SDL_PIXELFORMAT_ARGB2101010 Sam Lantinga 2023-11-06 00:21:26 -08:00
  • 3e4d7e48b0 Fixed memory leak in XInput code Sam Lantinga 2023-11-06 00:40:19 -08:00