Commit Graph

  • 1e50823a14 fixed linux build. Ozkan Sezer 2023-07-10 20:35:50 +03:00
  • 95d17f9d2c Minor cleanup Sam Lantinga 2023-07-10 09:42:12 -07:00
  • 47fd07bde6 Added support for absolute mice with evdev Andre Barata 2023-06-30 16:23:01 +01:00
  • 49b9fd1843 Don't send k_ePS4FeatureReportIdSerialNumber to Bluetooth PS4 controllers Sam Lantinga 2023-07-10 09:25:21 -07:00
  • 092a4b780c Don't send k_ePS4FeatureReportIdCapabilities to Sony PS4 controllers Sam Lantinga 2023-07-10 09:15:02 -07:00
  • 5ce967a579 Apply the display content scale to the gamepad test window Sam Lantinga 2023-07-10 09:14:26 -07:00
  • 8b12585e1d testevdev: Add some examples of PDP third-party Switch controllers Simon McVittie 2023-07-10 12:54:49 +01:00
  • efd530827a Return from main() instead of calling exit() Sam Lantinga 2023-07-09 20:42:00 -07:00
  • 8f5ec2f596 Added shared code between testgamepad and gamepadmap Sam Lantinga 2023-07-09 19:22:29 -07:00
  • 550c84b4df Sync SDL3 wiki -> header SDL Wiki Bot 2023-07-09 20:50:16 +00:00
  • bea99d48f2 Changed 'freesrc' parameter from int to SDL_bool Sam Lantinga 2023-07-09 13:49:04 -07:00
  • 32d529bf70 Use size_t for the size of memory RWops Sam Lantinga 2023-07-09 13:36:00 -07:00
  • 80e1c75e1c Re-added mappings for older Xbox One controllers on Linux Sam Lantinga 2023-07-09 09:49:09 -07:00
  • a5f387f828 Add kernel32 to SDL_EXTRA_LIBS required for cross-compilation to Win32 native Joshua Barnett 2023-07-09 00:12:32 -04:00
  • ea60da5b94 Fixed mapping BTN_TR2 to right trigger Sam Lantinga 2023-07-08 18:18:22 -07:00
  • 0e4165e54b X11: Use XFixes to detect clipboard updates Alex Maese 2023-07-08 12:52:41 -05:00
  • cd97e3a833 Fixed clang Windows build Sam Lantinga 2023-07-08 14:10:08 -07:00
  • a29aac603b Quiet warning when using older buggy WGI headers Sam Lantinga 2023-07-08 13:28:22 -07:00
  • 7d894dc1c9 Fixed build warnings Sam Lantinga 2023-07-08 11:16:40 -07:00
  • f047e178b6 Added WGI gamepad added/removed listeners for RAWINPUT Sam Lantinga 2023-07-08 10:24:00 -07:00
  • cdfc9634e1 Removed patch note for change already in SDL 2.x Sam Lantinga 2023-07-08 09:35:42 -07:00
  • 3a654b4b1c Added the hint SDL_HINT_JOYSTICK_WGI to control whether to use Windows.Gaming.Input for controllers Sam Lantinga 2023-07-08 09:32:24 -07:00
  • a4f3905bb6 Fix uninitialised variable Mathieu Eyraud 2023-07-08 13:04:59 +02:00
  • efed24850a Don't tickle Bluetooth PS4 controllers in simple mode with an effects packet Sam Lantinga 2023-07-07 15:55:40 -07:00
  • 785f57eb91 Lazily initialize the WGI gamepad support Sam Lantinga 2023-07-07 14:43:57 -07:00
  • aab3cbf207 SDL_thread.h: fix parameter name in comment Sylvain 2023-07-07 21:54:20 +02:00
  • 6763369f5b gendynapi.py: always check comment formatting of the public api Sylvain 2023-07-07 21:53:04 +02:00
  • b82d6b8e4e wayland: Set the source surface of the request when raising a window Frank Praznik 2023-07-07 14:23:25 -04:00
  • bcf239e413 Improve sensor detection for Linux gamepad v2 Mathieu Eyraud 2023-07-07 15:03:15 +02:00
  • ed6dc1cc05 Prefer using XInput for rumble over WGI, as it allows rumble in the background Sam Lantinga 2023-07-07 09:47:03 -07:00
  • 9f19b2bd97 Continue running XInput detection while RAWINPUT is active Sam Lantinga 2023-07-07 09:33:53 -07:00
  • ec90c2e26d Add 'return' comment to SDL_ClearClipboardData Sylvain 2023-07-07 10:24:14 +02:00
  • d57249034a Fix Cocoa_RaiseWindow activating the app when SDL_HINT_WINDOW_ACTIVATE_WHEN_RAISED is false Sam Lantinga 2023-07-06 18:14:37 -07:00
  • c5bd2cba98 Fix passing of child window focus in WIN_ShowWindow/WIN_RaiseWindow Sam Lantinga 2023-07-06 18:14:34 -07:00
  • 565e95ac4e Fix windows created with SDL_WINDOW_MINIMIZED having inconsistent SDL_WINDOW_HIDDEN flag on Windows Sam Lantinga 2023-07-06 18:14:27 -07:00
  • be79f62cb7 Fixed warning C4214: nonstandard extension used: bit field types other than int Sam Lantinga 2023-07-06 18:14:22 -07:00
  • cb55ce70f0 video(wayland): use both --icon and --icon-name for Zenity (#7897) Takase 2023-07-07 08:53:00 +08:00
  • b42cb1c6f2 emscripten: Add JS library dependencies using EM_JS_DEPS macro Sam Clegg 2023-07-05 13:52:37 -07:00
  • 95033e87e1 SDL 3.0 video modes are sized in points, with a separate pixel density Sam Lantinga 2023-07-06 15:19:17 -07:00
  • dda474504f Fixed prototype definition Sam Lantinga 2023-07-06 13:00:03 -07:00
  • 1528e7c3c9 Fixed mapping a controller other than the first one Sam Lantinga 2023-07-06 12:35:22 -07:00
  • 1bf7898ddf wayland: Remove leftover debug message Frank Praznik 2023-07-06 13:56:22 -04:00
  • d28e9960ce wayland: Use the implicit grab serial for setting the clipboard/primary selection data Frank Praznik 2023-07-06 12:43:24 -04:00
  • badb7f1e8b Added notes about delayed clipboard rendering on Windows Sam Lantinga 2023-07-06 08:36:49 -07:00
  • 7890985629 Fixed windows debug message formatting Sam Lantinga 2023-07-06 08:33:12 -07:00
  • ddb817a1af Only clear the clipboard if setting empty text Sam Lantinga 2023-07-06 08:32:34 -07:00
  • f4bd17deee Fixed %p formatting when there is following text Sam Lantinga 2023-07-06 08:04:20 -07:00
  • 17e95345e3 Sync SDL3 wiki -> header SDL Wiki Bot 2023-07-06 03:08:15 +00:00
  • cc254d885d Fixed wayland clipboard not always updating in response to Ctrl-C Sam Lantinga 2023-07-05 17:15:25 -07:00
  • c1b11ad54e Expanded automated clipboard tests Sam Lantinga 2023-07-05 13:35:26 -07:00
  • c63aa9545e Fixed printf formatting for "%p" and added a unit test to check it Sam Lantinga 2023-07-05 13:33:11 -07:00
  • ecbbac7c72 Do a full UCS4 zero termination on iconv converted strings Sam Lantinga 2023-07-05 01:22:28 -07:00
  • ae771d4710 Added test shortcuts Alt-C and Alt-V to test the primary selection functionality Sam Lantinga 2023-07-05 01:09:28 -07:00
  • 55ff09de38 Reimplement clipboard text in terms of clipboard data Sam Lantinga 2023-07-04 21:17:53 -07:00
  • c980ce2120 Removed SDL_EVENT_CLIPBOARD_CANCELLED in favor of the cleanup callback Sam Lantinga 2023-07-04 12:03:35 -07:00
  • 443868143c Added support for clipboard data on Windows Sam Lantinga 2023-07-04 11:09:43 -07:00
  • 35876da3c4 Clipboard data API revamp Sam Lantinga 2023-07-03 23:24:01 -07:00
  • 61ff86617a Added GetClientScreenRect() and fixed build for C89 compilers Sam Lantinga 2023-07-05 11:05:48 -07:00
  • a7326b9396 center cursor to client area (excludes titlebar thickness) expikr 2023-07-06 00:58:09 +08:00
  • f49f1434b9 Revert "Update SDL_windowswindow.c" Sam Lantinga 2023-07-05 09:22:09 -07:00
  • d0fdf6207b Update SDL_windowswindow.c expikr 2023-07-05 11:35:20 +08:00
  • ffcd1c0c26 cmake: explicitly disable WINDOWS_EXPORT_ALL_SYMBOLS for SDL3-shared Anonymous Maarten 2023-07-05 00:12:10 +02:00
  • 00fc50557e Make sure logical presentation is complete before destroying the logical render target Sam Lantinga 2023-07-03 18:29:48 -07:00
  • 619f65af0c Fixed resource leak and crash at exit in the D3D11 renderer Sam Lantinga 2023-07-03 17:39:29 -07:00
  • 90262f274a Made error handling more consistent in D3D12_RenderReadPixels() Sam Lantinga 2023-07-03 17:37:17 -07:00
  • 304d425f99 The clip rect is defined in terms of the current viewport Sam Lantinga 2023-07-03 17:09:49 -07:00
  • b6645bb255 Retry to open the clipboard in case another application has it open Sam Lantinga 2023-07-03 16:06:59 -07:00
  • 3bd5e5ca3c Removed spurious casts Sam Lantinga 2023-07-03 16:06:23 -07:00
  • 37e567994d Fix remaining typos (#7921) luzpaz 2023-07-03 15:46:47 -04:00
  • 65e1d568ef Fix various typos (docs/build scripts/tests) luzpaz 2023-07-03 15:29:42 +00:00
  • c0bd18f023 khronos: Fixed a typo in a Vulkan header, to match upstream. Ryan C. Gordon 2023-07-03 11:03:20 -04:00
  • f010411492 Rename SDL_strtokr() to SDL_strtok_r() Sam Lantinga 2023-07-03 06:19:30 -07:00
  • b8d6023a91 Sync SDL3 wiki -> header SDL Wiki Bot 2023-07-03 01:49:13 +00:00
  • 3c04be4486 The rectangles passed to SDL_BlitSurfaceUnchecked() and SDL_BlitSurfaceUncheckedScaled() are const. Sam Lantinga 2023-07-02 18:45:11 -07:00
  • ced153a24a Fixed reference to old function (thanks @tom-seddon!) Sam Lantinga 2023-07-02 18:24:53 -07:00
  • 4aee17b039 Resorted symbols alphabetically Sam Lantinga 2023-07-02 00:06:55 -07:00
  • 50b6e5eb7e Implemented SDL_LoadBMP() and SDL_SaveBMP() as functions Sam Lantinga 2023-07-01 23:59:21 -07:00
  • e264bb5178 Rename SDL_PIXELFORMAT_RGB888 and SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XRGB8888 and SDL_PIXELFORMAT_XBGR8888 for clarity Sam Lantinga 2023-07-01 14:01:14 -07:00
  • d85e327c92 cmake: use SDL_CPU_ARM32 instead of CMAKE_GENERATOR_PLATFORM STREQUAL "ARM" scribam 2023-07-01 22:30:31 +02:00
  • 9d39e50f29 rwops: Use SetFilePointerEx on Windows for appending writes. Ryan C. Gordon 2023-07-01 00:30:23 -04:00
  • 5b9fdc9dd1 Revert "Zenity has deprecated --icon-name in favor of --icon" Sam Lantinga 2023-06-29 23:01:36 -07:00
  • 55c3c1b05c Zenity has deprecated --icon-name in favor of --icon Sam Lantinga 2023-06-29 22:45:59 -07:00
  • 18ff0d1878 Fixed build Sam Lantinga 2023-06-29 22:40:57 -07:00
  • 69c7a49990 Fixed build warnings Sam Lantinga 2023-06-29 22:15:23 -07:00
  • 97380dcdab We don't need to reserve window flag bits for sdl2-compat Sam Lantinga 2023-06-29 22:02:24 -07:00
  • 8da9b22c17 The SDL_WINDOW_SKIP_TASKBAR flag has been replaced by the SDL_WINDOW_UTILITY flag Sam Lantinga 2023-06-29 21:43:17 -07:00
  • 675fc8c38f Added Linux mapping for the Logitech Chillstream Sam Lantinga 2023-06-29 16:10:55 -07:00
  • ba9e924e57 Added additional debug logging for Linux joysticks Sam Lantinga 2023-06-29 16:09:55 -07:00
  • ffa146f0bc On Windows the mouse speed is affected by the content scale Sam Lantinga 2023-06-29 14:38:26 -07:00
  • 4d23eaf81e cmake: only define _FILE_OFFSET_BITS and _TIME_BITS for glibc Anonymous Maarten 2023-06-29 14:55:43 +02:00
  • c3be4bc18d cmake: Compile with 64-bit time stamps where possible Anonymous Maarten 2023-06-29 02:58:17 +02:00
  • baa9c57581 Added support for the Nintendo Online Famicom controllers Sam Lantinga 2023-06-28 19:15:11 -07:00
  • 10fc3b3db7 evdev: Use time64-friendly accessors for struct input_event Simon McVittie 2023-06-28 17:49:10 +01:00
  • e7327b6c73 wayland: Flush cached themes on a theme change Frank Praznik 2023-06-28 14:53:11 -04:00
  • 8315a00a01 Fix crash in AudioConvertByteswap capehill 2023-06-28 21:25:01 +03:00
  • fd6cb4dc86 wayland: Add a DBus message handler for the cursor size and theme properties. Frank Praznik 2023-06-28 11:42:44 -04:00
  • e643d28d9c Set the hint value before calling hint callbacks Sam Lantinga 2023-06-28 08:53:48 -07:00
  • ad12bb4fd1 Remove hints that weren't used anymore ! Sylvain 2023-06-28 14:30:07 +02:00
  • 7751bfdbf3 cmake: create wiki dir before running wikiheaders.pl --copy-to-wiki Anonymous Maarten 2023-06-28 14:41:31 +02:00
  • 0f4679102c Fixed pedantic warning: comma at end of enumerator list Sam Lantinga 2023-06-27 21:52:33 -07:00