Commit Graph

  • 0ec1209eab Fixed a memory leak at window creation. Sam Lantinga 2023-11-08 14:26:07 -08:00
  • bd4966999b Replacing SDL_SCANCODE_AUDIOMUTE by SDL_SCANCODE_MUTE on Windows Louis M 2023-11-13 13:06:07 -05:00
  • 925362a2fc Replacing SDL_SCANCODE_AUDIOMUTE by SDL_SCANCODE_MUTE on Windows Louis M 2023-11-13 13:06:07 -05:00
  • 1de85491e1 Fixed mouse wheel scrolling direction on iOS Sam Lantinga 2023-11-14 09:10:56 -08:00
  • 15504da0b8 Fixed mouse wheel scrolling direction on iOS Sam Lantinga 2023-11-14 09:10:56 -08:00
  • f5600fd9f4 Fall back to using the physical profile for Apple controllers if they don't match a standard profile Sam Lantinga 2023-11-14 06:28:27 -08:00
  • 924de4df48 Enable transparent windows when using the D3D11 renderer Sam Lantinga 2023-11-13 21:11:51 -08:00
  • 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
  • 6303197b20 Revert "Check to make sure the Windows joystick device has buttons and axes" Sam Lantinga 2023-11-13 21:33:09 -08:00
  • 6c0a114efb Fixed the ROG PUGIO II showing up as a game controller Sam Lantinga 2023-11-13 21:30:57 -08:00
  • cc20d0147e Revert "Check to make sure the Windows joystick device has buttons and axes" Sam Lantinga 2023-11-13 21:33:09 -08:00
  • 8c82b73027 Fixed the ROG PUGIO II showing up as a game controller Sam Lantinga 2023-11-13 21:30:57 -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
  • 92d70f4167 cpuinfo: Fix detection of physical memory above 2GB on NetBSD nia 2023-11-12 20:22:23 +01: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
  • 63e9827b90 wayland: Fix DPI calculation with scaled outputs Yussuf Khalil 2023-11-12 13:16:31 +01: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
  • f3419d8c04 Re-add SDL_assert() with non boolean ptr syntax (#8531) Sylvain Becker 2023-11-11 10:29:05 +01: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
  • c29df1699e Added shortened name for "Nintendo Co., Ltd." Sam Lantinga 2023-11-10 17:04:37 -08:00
  • 4a0bd06d58 Added support for the GameSir-G7 Controller for Xbox Sam Lantinga 2023-05-11 17:44:56 -07: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
  • 03f29c19dc Added support for the Dragonrise GameCube adapter with VID 0x1843 Sam Lantinga 2023-11-10 16:34:33 -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
  • a14b948b6c [SDL2] pointer boolean (#8523) Sylvain Becker 2023-11-10 15:30: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
  • 4a3a9f3ad8 Older gcc does not support #pragma GCC diagnostic inside functions Anonymous Maarten 2023-11-09 23:33:28 +01: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
  • d38ccfa88f x11: Ignore deprecated declaration of XKeycodeToKeysym Anonymous Maarten 2023-11-09 18:45:54 +01:00
  • 23db971681 x11: Ignore deprecated declaration of XKeycodeToKeysym Anonymous Maarten 2023-11-09 18:45:54 +01:00
  • f0d65436fb ci: re-enable Intel compilers on ci Anonymous Maarten 2023-11-09 18:07:10 +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
  • dfc38ef460 Implemented VT switching for KMSDRM on Linux Sam Lantinga 2023-11-08 10:33:40 -08: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
  • adc0880520 cmake: also install pdb files of static libraries Anonymous Maarten 2023-11-09 02:56:37 +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
  • 509c70c698 Allow the application to draw while Windows is in a modal move/resize loop Sam Lantinga 2023-11-08 14:01:00 -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
  • 3900fca304 Fixed FreeBSD build Sam Lantinga 2023-11-08 07:46:02 -08:00
  • a4c6b38fef Fixed FreeBSD build Sam Lantinga 2023-11-08 07:46:02 -08:00
  • 76ff25eedf Fixed FreeBSD build Sam Lantinga 2023-11-08 04:45:29 -08:00
  • d9e6dcc650 Fixed FreeBSD build Sam Lantinga 2023-11-08 04:45:29 -08:00
  • 5d29f22808 Store the requested muted state Sam Lantinga 2023-11-08 03:36:47 -08:00
  • 7cc3e94eb2 Store the requested muted state Sam Lantinga 2023-11-08 03:36:47 -08:00
  • 87bb0f5bcb Don't mute the console input if we can't read the keyboard Sam Lantinga 2023-11-08 03:25:22 -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