Commit Graph

  • 9d13be743b Make sure we're rendering whenever the activity might be visible, even if we don't have focus. Sam Lantinga 2023-12-18 19:21:00 -08:00
  • 69ec0322d3 win32: Make leaving fullscreen when the window already isn't fullscreen a no-op Frank Praznik 2023-12-18 11:47:59 -05:00
  • 8f79e0b7f8 win32: Fix high-DPI debug logging Frank Praznik 2023-12-18 11:31:37 -05:00
  • a4496f7dcf Update doc: SDL_SoftStretch() and SDL_SoftStretchLinear() #8667 Sylvain 2023-12-18 15:15:13 +01:00
  • 43309d38ed joystick: Extract 0x02a9 and 0x0291 PIDs into separate defines. Dimitriy Ryazantcev 2023-12-15 17:30:56 +02:00
  • 84a0d5f623 Added SDL_SetSurfaceScaleMode() and SDL_GetSurfaceScaleMode() to control scale mode using SDL_BlitSurfaceScaled() Sylvain 2023-12-14 21:26:18 +01:00
  • 4d5949dcf6 Added a controller name for the Steam virtual gamepad Sam Lantinga 2023-12-17 10:07:46 -08:00
  • 5773c347d5 test/watcom.mif: disable W201 warning for testautomation_stdlib.c. Ozkan Sezer 2023-12-17 20:51:10 +03:00
  • 3ac69c6210 test/watcom.mif: remove a stale rule. Ozkan Sezer 2023-12-17 20:51:02 +03:00
  • 91f8b4dea2 Added a controller name for the Steam virtual gamepad Sam Lantinga 2023-12-17 10:07:46 -08:00
  • 695846f2ed Pass through the name of the controller for the XInput mapping Sam Lantinga 2023-12-17 09:26:25 -08:00
  • 2aadef022e Pass through the name of the controller for the XInput mapping Sam Lantinga 2023-12-17 09:26:25 -08:00
  • 7391cd34da XInput: Use XInputGetCapabilitiesEx instead of fragile GuessXInputDevice Dimitriy Ryazantcev 2023-12-15 17:09:15 +02:00
  • 1745289b1b x11: Don't move the window when restoring and ensure that resize and position events are sent when entering or leaving fullscreen Frank Praznik 2023-12-16 19:13:31 -05:00
  • 08a7ca4d53 XInput: Use XInputGetCapabilitiesEx instead of fragile GuessXInputDevice Dimitriy Ryazantcev 2023-12-15 17:09:15 +02:00
  • d622c3c9cc Verify that the %p format specifier works for 64-bit pointers Sam Lantinga 2023-12-16 21:40:05 -08:00
  • 7f75178908 Verify that the %p format specifier works for 64-bit pointers Sam Lantinga 2023-12-16 21:40:05 -08:00
  • cfecc569b5 Differentiate between Windows Ink (pen) and regular touch input Susko3 2022-07-17 16:01:03 +02:00
  • 72b7acfe8a Don't create a TLS error buffer if we're just clearing the error Sam Lantinga 2023-12-16 21:27:44 -08:00
  • 240e7747c8 Fix #8702: Add SDL_hidapi_steamdeck.c to Xcode target Matt Guerrette 2023-12-16 22:11:14 -05:00
  • b937c54b66 win32: Set all size and position variables for external windows Frank Praznik 2023-12-15 15:54:01 -05:00
  • 8c285828e5 Fixed return value for SDL_UDEV_AddCallback() Sam Lantinga 2023-12-15 10:06:01 -08:00
  • cbf9012c74 Fixed build Sam Lantinga 2023-12-15 10:03:11 -08:00
  • 5547007915 Added test for inverted cursor Sam Lantinga 2023-12-15 09:59:50 -08:00
  • 0ab13f2498 joystick: fixup for Wireless Xbox 360 Controller VID/PID detection in WGI backend. Dimitriy Ryazantcev 2023-12-15 17:36:17 +02:00
  • 627d134b9e Add support for monochrome cursors with inverted pixels under Windows. Dimitriy Ryazantcev 2023-12-14 16:11:25 +02:00
  • 867d8643d7 wayland: Handle mouse focus when receiving touch events Frank Praznik 2023-12-14 13:45:34 -05:00
  • 21879faf48 wayland: Handle mouse focus when receiving touch events Frank Praznik 2023-12-14 13:45:34 -05:00
  • 58a5f5cbe8 Allow sendCommand() to be overridden by derived classes Sam Lantinga 2023-12-13 10:13:17 -08:00
  • 239b5278bf Revert "Back out Steam virtual gamepad changes" Sam Lantinga 2023-12-13 09:46:10 -08:00
  • e6d8ef1a5b Revert "Back out Steam virtual gamepad changes" Sam Lantinga 2023-12-13 09:45:39 -08:00
  • b0e7b7db6f Don't unload graphics libraries until after the window has been destroyed. Sam Lantinga 2023-12-12 23:17:41 -08:00
  • cc6d8eb72b tests: Fix whitespace Frank Praznik 2023-12-12 17:17:00 -05:00
  • a78cdbd7e3 tests: Backport automated video test changes Frank Praznik 2023-12-12 16:04:49 -05:00
  • 33588662ef Refactor away some additional integer types. Max Maisel 2023-09-26 18:31:12 +02:00
  • b620788b4c Add new file to OpenWatcom makefiles. Max Maisel 2023-09-09 08:40:39 +02:00
  • 20cc644833 Add new file to vcxproj files. Max Maisel 2023-09-08 17:09:36 +02:00
  • bed789794d Add new steam deck HIDAPI controller to controller database. Max Maisel 2023-09-07 17:21:08 +02:00
  • 0dbe9022fc Disable lizard mode while steam deck HID device is opened. Max Maisel 2023-09-07 17:20:24 +02:00
  • a6b9d987e9 Translate steam deck HID reports to SDL events. Max Maisel 2023-09-07 17:18:12 +02:00
  • 5718ba253f Implement steam deck HIDAPI initialization. Max Maisel 2023-09-07 17:12:33 +02:00
  • e7f03de468 Add steam deck detection and HIDAPI driver scaffold. Max Maisel 2023-09-07 17:04:01 +02:00
  • 69288038ed Refactor away some additional integer types. Max Maisel 2023-09-26 18:31:12 +02:00
  • f3048e3cd2 Add new file to vcxproj files. Max Maisel 2023-09-08 17:09:36 +02:00
  • 5a21febecb Add new steam deck HIDAPI controller to controller database. Max Maisel 2023-09-07 17:21:08 +02:00
  • 67d44c1017 Disable lizard mode while steam deck HID device is opened. Max Maisel 2023-09-07 17:20:24 +02:00
  • 6dd6827343 Translate steam deck HID reports to SDL events. Max Maisel 2023-09-07 17:18:12 +02:00
  • 94f621e030 Implement steam deck HIDAPI initialization. Max Maisel 2023-09-07 17:12:33 +02:00
  • c1a7d0f96e Add steam deck detection and HIDAPI driver scaffold. Max Maisel 2023-09-07 17:04:01 +02:00
  • 0baee3e676 Reversed test to be easier to read, more efficient, and match other code Sam Lantinga 2023-12-12 12:25:51 -08:00
  • bddbd1e317 cocoa: Check the resizable flag along with zoomed status when resizing Frank Praznik 2023-12-12 14:31:41 -05:00
  • 835c733f4d video: Only sync when programmatically entering/exiting fullscreen Frank Praznik 2023-12-12 12:58:05 -05:00
  • 33843b0933 Use existing XUSB driver software PID 0x02a1 instead of PID 0x02fe Dimitriy Ryazantcev 2023-12-11 15:19:02 +02:00
  • c790572674 Use existing XUSB driver software PID 0x02a1 instead of PID 0x02fe Dimitriy Ryazantcev 2023-12-11 15:19:02 +02:00
  • 7d94121606 You should call present when using a software renderer as well. Sam Lantinga 2023-12-11 08:43:31 -08:00
  • 581d1cab25 You should call present when using a software renderer as well. Sam Lantinga 2023-12-11 08:43:31 -08:00
  • 79a8e8cf04 Make built-in joystick device lists extendable by using hints Sam Lantinga 2023-12-10 11:27:15 -08:00
  • 5173b0c2cc Make built-in joystick device lists extendable by using hints Sam Lantinga 2023-12-10 11:27:15 -08:00
  • 6526c4d0fc Refactor VIDPID list loading code Sam Lantinga 2023-06-17 08:59:52 -07:00
  • f0e7f3e7e5 Back out Steam virtual gamepad changes Sam Lantinga 2023-12-10 08:38:10 -08:00
  • 34eb24ebc4 Back out Steam virtual gamepad changes Sam Lantinga 2023-12-10 08:35:35 -08:00
  • 10c292b055 cmake+xcode: use IMPORTED SHARED framework target Anonymous Maarten 2023-12-10 11:50:11 +01:00
  • ddac844034 Fixed build Sam Lantinga 2023-12-09 21:44:12 -08:00
  • dd28637947 Use the Steam virtual gamepad slot as the gamepad player index Sam Lantinga 2023-12-09 21:00:32 -08:00
  • 7529d25b2b Use the Steam virtual gamepad slot as the gamepad player index Sam Lantinga 2023-12-09 21:00:32 -08:00
  • 445f08a0fb Print the gamepad player index when opening a gamepad Sam Lantinga 2023-12-09 21:00:11 -08:00
  • 5b26d4e0ca Sort Steam virtual gamepads by Steam controller slot Sam Lantinga 2023-12-09 20:31:28 -08:00
  • 17723381da Sort Steam virtual gamepads by Steam controller slot Sam Lantinga 2023-12-09 20:31:28 -08:00
  • f3d8a2def5 audio: Fixed resource leak in unlikely failure case during device add. Ryan C. Gordon 2023-12-09 15:41:45 -05:00
  • 63ae84e140 x11: Improve sync algorithm Frank Praznik 2023-12-08 12:37:10 -05:00
  • 7e5511d3cd x11: Move unrelated variables out of XFixes #ifdef Frank Praznik 2023-12-08 04:50:52 -05:00
  • 3c5e9e6112 We can wait up to 500ms in onNativeSurfaceDestroyed(), so wait at least that long in onDestroy() Sam Lantinga 2023-12-07 14:30:44 -08:00
  • 53cda988f4 Clear any errors from a previous run Sam Lantinga 2023-12-07 14:30:40 -08:00
  • a197efe3a7 pen: fix leak caused by pen subsystem Anonymous Maarten 2023-11-27 21:37:02 +01:00
  • fbb0914b78 wayland+x11: free system cursors when quiting video Anonymous Maarten 2023-11-27 21:30:59 +01:00
  • 7484d02a2e testshape: use SDL_test to create multiple windows Anonymous Maarten 2023-11-27 21:20:01 +01:00
  • 20250aecc5 Sync SDL3 wiki -> header SDL Wiki Bot 2023-12-07 18:27:25 +00:00
  • 4fd778119b video: Implement asynchronous windowing Frank Praznik 2023-10-25 15:09:55 -04:00
  • ace385a134 Revert "Fixed warning C33010: Unchecked lower bound for enum scancode used as index." Sam Lantinga 2023-12-05 14:42:31 -08:00
  • e482f00a17 SDL_string.c (SDL_vsscanf): fix gcc build Ozkan Sezer 2023-12-06 01:32:00 +03:00
  • f00ecf5f19 Fixed building with older Windows SDK Sam Lantinga 2023-12-05 11:00:18 -08:00
  • 7ca43995a1 Fixed warning C4028: formal parameter 1 different from declaration Sam Lantinga 2023-12-05 10:55:29 -08:00
  • aab7432f5f Fixed analyze warnings for SDL_dynapi_procs.h Sam Lantinga 2023-12-04 22:05:35 -08:00
  • c484140f56 Fixed warning C33010: Unchecked lower bound for enum scancode used as index. Sam Lantinga 2023-12-04 21:57:14 -08:00
  • 02a116217d Fixed Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). Sam Lantinga 2023-12-04 21:55:34 -08:00
  • 91da942b33 Fixed warning C28251: Inconsistent annotation for 'SDL_RWvprintf_REAL': this instance has no annotations. Sam Lantinga 2023-12-04 21:54:38 -08:00
  • b8840801cc Fixed analyze warnings in SDL_xinputhaptic.c Sam Lantinga 2023-12-04 21:53:14 -08:00
  • 8e0d728c67 Fixed warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). Sam Lantinga 2023-12-04 21:49:49 -08:00
  • 6a736d7766 Fixed warning C6340: Mismatch on sign: 'unsigned char' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. Sam Lantinga 2023-12-04 21:47:59 -08:00
  • 1fcc75ba81 Fixed warning C6340: Mismatch on sign: 'unsigned char' passed as _Param_(4) when some signed type is required in call to 'SDL_snprintf_REAL'. Sam Lantinga 2023-12-04 21:47:10 -08:00
  • 7f2e16db8b Fixed warning C6340: Mismatch on sign: 'const unsigned short' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. Sam Lantinga 2023-12-04 21:46:17 -08:00
  • 163de8e697 Fixed warning C6001: Using uninitialized memory 'rdi'. Sam Lantinga 2023-12-04 21:45:39 -08:00
  • e29393e407 Fixed warning C6001: Using uninitialized memory 'devName'. Sam Lantinga 2023-12-04 21:44:26 -08:00
  • 0f34ca2e71 Fixed analyze warnings in SDL_xinputjoystick.c Sam Lantinga 2023-12-04 21:42:47 -08:00
  • 2b5c7db645 Fixed analyze warnings in SDL_render_d3d12.c Sam Lantinga 2023-12-04 21:38:37 -08:00
  • a28769759b Fixed warning C26052: Potentially unconstrained access using expression '(signed char *)info' Sam Lantinga 2023-12-04 21:33:27 -08:00
  • 6ee34380f4 Fixed warning C6011: Dereferencing NULL pointer 'viewport'. Sam Lantinga 2023-12-04 21:29:29 -08:00
  • 230581f4a8 Fixed warning C26451: Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2). Sam Lantinga 2023-12-04 21:28:27 -08:00
  • 3775d9be4b Fixed warning C28251: Inconsistent annotation for 'SDL_LogMessageV_REAL': this instance has no annotations. Sam Lantinga 2023-12-04 21:26:49 -08:00
  • b512182222 Fixed warning C6340: Mismatch on sign: 'unsigned int' passed as _Param_(2) when some signed type is required in call to 'SDL_SetError_REAL'. Sam Lantinga 2023-12-04 21:25:50 -08:00