Commit Graph

  • e3d50619f8 Fixed fatal error: SDL_pen.h: No such file or directory Sam Lantinga 2023-12-29 20:04:40 -08:00
  • dfe1a37bab Fixed error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Sam Lantinga 2023-12-29 19:40:45 -08:00
  • 423b1fafcd Fixed warning C4047: 'function': '__x_ABI_CWindows_CGaming_CInput_CIRawGameController **' differs in levels of indirection from '__x_ABI_CWindows_CGaming_CInput_CIRawGameController *' Sam Lantinga 2023-12-29 18:06:27 -08:00
  • 7681695875 Revert "Fixed signed/unsigned warnings with Visual Studio when comparing SDL_bool with boolean expressions" Sam Lantinga 2023-12-29 17:11:54 -08:00
  • 8f94102b04 tests: Use unsigned format specifiers for printing flags Frank Praznik 2023-12-29 14:41:38 -05:00
  • 5d0c893723 wayland: Remove bitfield specifiers from boolean values Frank Praznik 2023-12-29 14:18:55 -05:00
  • 530b41d531 Fixed warnings in SDL_pen.c Sam Lantinga 2023-12-29 10:20:30 -08:00
  • 9906d6d3bc Fixed warning C4244: '=': conversion from 'SDL_bool' to 'Uint8', possible loss of data Sam Lantinga 2023-12-29 09:29:29 -08:00
  • ebd7f9adbd Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch in SDL_video.c Sam Lantinga 2023-12-29 09:28:28 -08:00
  • dc1c27885e Fixed warning C4389: '!=': signed/unsigned mismatch in SDL_blit.c Sam Lantinga 2023-12-29 09:26:36 -08:00
  • e813c72b3c Fixed warning C4245: 'return': conversion from 'int' to 'SDL_JoystickID', signed/unsigned mismatch Sam Lantinga 2023-12-29 09:25:57 -08:00
  • dce626f469 Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data Sam Lantinga 2023-12-29 09:24:52 -08:00
  • 7f376277e5 Fixed warning C4244: 'initializing': conversion from 'SDL_bool' to 'Uint8', possible loss of data Sam Lantinga 2023-12-29 09:24:22 -08:00
  • 61db102da9 Fixed signed/unsigned warnings with Visual Studio when comparing SDL_bool with boolean expressions Sam Lantinga 2023-12-29 09:23:47 -08:00
  • d71454da17 Store the surface properties in the reserved pointer of a surface Sam Lantinga 2023-12-29 08:17:06 -08:00
  • b6a92c113f wayland: Don't apply old libdecor window dimensions Frank Praznik 2023-12-29 08:59:45 -05:00
  • 39e24e52c8 Fixed example of creating a window with properties Sam Lantinga 2023-12-28 16:35:31 -08:00
  • dc450ba908 Added an example of creating a window with position Sam Lantinga 2023-12-28 16:34:13 -08:00
  • ce4fe32ce3 Added documentation for getting the X11 display from an SDL window Sam Lantinga 2023-12-28 16:26:55 -08:00
  • 327d31a5d9 Added documentation for getting the NSWindow from an SDL window Sam Lantinga 2023-12-28 16:09:59 -08:00
  • 3976bbef2a Added documentation for getting the X11 window from an SDL window Sam Lantinga 2023-12-28 15:56:37 -08:00
  • ffb8515c21 Use the Valve code name for the Steam Deck controller Sam Lantinga 2023-12-28 15:41:02 -08:00
  • 43c40d30a2 Added comment for the BDA Pro Ex controller Sam Lantinga 2023-12-28 15:22:12 -08:00
  • 61704b5862 Removed an assertion it's possible to hit Sam Lantinga 2023-12-28 15:21:49 -08:00
  • c24b33d8d9 Fixed building with older Windows SDK Sam Lantinga 2023-12-28 15:14:34 -08:00
  • 70ba3f2830 Report the D-Pad for HIDAPI gamepads as a hat Sam Lantinga 2023-12-27 11:28:27 -08:00
  • ce329d60e4 Added support for alpha blending using palette alpha Sam Lantinga 2023-12-28 09:33:02 -08:00
  • 9c3e831e33 uikit: Send fullscreen enter/leave events Frank Praznik 2023-12-27 17:08:46 -05:00
  • 5df3eac925 Sync SDL3 wiki -> header SDL Wiki Bot 2023-12-27 20:21:11 +00:00
  • 0dfdf1f3f2 Fixed crash if joystick functions are passed a NULL joystick Sam Lantinga 2023-12-27 11:25:54 -08:00
  • 4ce935b910 Fix static build with libdecor 0.2.0 Reilly Brogan 2023-12-26 17:58:21 -06:00
  • 5d6d149862 Allow passing in extrainfo value to GetMouseMessageSource() Susko3 2023-12-26 21:46:56 +01:00
  • e0df963ef0 Fix wrong bit count in comment Susko3 2023-12-26 21:21:17 +01:00
  • c2a55cd2c5 Add missing (void) in functions params Susko3 2023-12-26 21:18:02 +01:00
  • a3c8f2f6cb Consolidate mouse-touch event checking logic Susko3 2023-12-26 21:15:58 +01:00
  • d747daf03d Use correct touch check flag Susko3 2023-12-26 21:08:51 +01:00
  • a961066d0b Add basic touch/finger support to testpen.c Susko3 2023-12-26 20:16:05 +01:00
  • a3b5eb07b2 Removed extern "C" linkage from main() declaration Sam Lantinga 2023-12-26 10:19:22 -08:00
  • 50e309bb17 Include SDL_events.h in SDL_main.h Sam Lantinga 2023-12-26 10:11:48 -08:00
  • cae657140c Add Access Controller Alynne 2023-12-26 00:32:10 -05:00
  • 74418e1aa8 Made the cursor list check a compile time assert instead of a runtime one Sam Lantinga 2023-12-26 09:57:11 -08:00
  • d6fb0d91d8 Added testpen to the Visual Studio solution Sam Lantinga 2023-12-26 09:54:39 -08:00
  • bbdd41f287 Fix windows touch using wrong axis for normalisation Susko3 2023-12-26 17:51:43 +01:00
  • a28ac29aa0 Add missing cursor types Susko3 2023-12-25 23:02:02 +01:00
  • 6daf2e943f Try SDL_UDEV_deviceclass to detect joysticks even if in a container Tyson Whitehead 2023-11-29 18:19:03 -05:00
  • 1bf78ed544 We get a resize event when the view enters fullscreen mode on iOS Sam Lantinga 2023-12-24 17:45:35 -08:00
  • e3b5999bb4 Use the application requested size to determine automatic orientation on iOS Sam Lantinga 2023-12-24 17:14:16 -08:00
  • 278e3f9184 Whoops, fixed setting fullscreen flag Sam Lantinga 2023-12-24 17:12:01 -08:00
  • 69e60e0f1b Fixed setting fullscreen mode on iOS Sam Lantinga 2023-12-24 16:24:22 -08:00
  • 0e5ea3cc4b Fixed infinite recursion when adding an accelerometer as joystick on iOS Sam Lantinga 2023-12-24 11:19:16 -08:00
  • c3d84c3342 Record the initial input report mode and only restore simple mode if that's what we started with Sam Lantinga 2023-12-24 08:12:14 -08:00
  • 10a8b750a0 Use common generic syscond for platforms with no cond implementation Julian Uy 2023-12-24 14:44:33 +00:00
  • 4914e5bb78 PS2 use WaitSemaEx for waiting for semaphore with timeout Julian Uy 2023-12-24 14:49:23 +00:00
  • bb0e0ae080 Added a runtime check for BLUETOOTH_CONNECT in addition to BLUETOOTH (thanks @perepujal!) Sam Lantinga 2023-12-24 06:50:42 -08:00
  • 312f98c2a1 Make sure the string is terminated, fixed invalid read in SDL_PrivateParseGamepadConfigString() Sylvain 2023-12-23 21:30:09 +01:00
  • 199f7cc3b1 x11: Ignore border extents when the border hint is unset Frank Praznik 2023-12-22 12:17:06 -05:00
  • 07e9603398 Sync SDL3 wiki -> header SDL Wiki Bot 2023-12-22 17:14:22 +00:00
  • ffd82fb7c4 Add scaleMode to SDL_SoftStretch(), remove SDL_SoftStretchLinear(). Sylvain 2023-12-22 15:02:43 +01:00
  • 5dba04b29b Remove SDL_{Set,Get}SurfaceScale(). Add Scale parameter to SDL_BlitSurfaceScaled() and SDL_BlitSurfaceScaledUnchecked() (see #8732) Sylvain 2023-12-22 10:28:17 +01:00
  • e66896406d cocoa: Set appropriate flags on fullscreen spaces windows Frank Praznik 2023-12-21 11:47:16 -05:00
  • 57fcb9044c video: Remove more assumptions about window state in the video layer Frank Praznik 2023-12-20 17:45:07 -05:00
  • cb90653695 win32: use USER_DEFAULT_SCREEN_DPI instead of explicit 96 value Dimitriy Ryazantcev 2023-12-21 14:47:56 +02:00
  • a2e05480d6 Use crc16 return value when calculating GUID Lukas Senionis 2023-12-21 15:11:32 +02:00
  • 2ad50e9675 Make the SDL3 surface ABI compatible with SDL2 Sam Lantinga 2023-12-20 17:35:43 -08:00
  • f72d6a7fd9 Use more verbose names for properties, to match upcoming public property names Sam Lantinga 2023-12-20 17:33:46 -08:00
  • 1f1ee6f77c Use the original manufacturer and product strings for the joystick CRC Sam Lantinga 2023-12-20 19:05:20 -08:00
  • 4bb5e1f0f9 Added migration notes for migrating Steam Input support from SDL2 to SDL3 Sam Lantinga 2023-12-20 14:15:09 -08:00
  • 56f111dffc Fix compilation / same as sdl2-compat Sylvain 2023-12-20 09:40:09 +01:00
  • 72c366bf3d Fixed whitespace Sam Lantinga 2023-12-20 06:51:59 -08:00
  • 3152b98e87 win32: minor fixup in WIN_UpdateKeymap() Dimitriy Ryazantcev 2023-12-20 13:54:29 +02:00
  • 2c4360ce8f Sync SDL3 wiki -> header SDL Wiki Bot 2023-12-20 18:41:23 +00:00
  • c981a597dc Added Steam Input API support for game controllers Sam Lantinga 2023-12-09 23:05:34 -08:00
  • a8f4f40d08 Sync more Steam Controller header definitions for the Steam Deck Vicki Pfau 2023-12-19 17:53:01 -08:00
  • e6e54b22c8 Ignore all surface comparison output files in the testautomation directory Sam Lantinga 2023-12-19 07:49:57 -08:00
  • 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
  • 695846f2ed Pass through the name of the controller for the XInput mapping Sam Lantinga 2023-12-17 09:26:25 -08: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
  • 7f75178908 Verify that the %p format specifier works for 64-bit pointers Sam Lantinga 2023-12-16 21:40:05 -08: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
  • 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
  • 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
  • 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