Commit Graph

  • aa536217b3 x11: check if window size/position has changed during SDL_ShowWindow. Ryan C. Gordon 2023-06-07 15:42:22 -04:00
  • 49b5cfa6c5 x11: check if window size/position has changed during SDL_ShowWindow. Ryan C. Gordon 2023-06-07 15:42:22 -04:00
  • 14f4fd3f11 git commit -m "cmake: set maximum policy to 3.5 Anonymous Maarten 2023-06-07 20:35:15 +02:00
  • dc06116c71 Steam sets the device version of the Steam Virtual Gamepad to 0, for the best compatibility with old games Sam Lantinga 2023-06-06 12:33:48 -07:00
  • d032492aab Fixed detecting Bluetooth Steam Controllers on Windows Sam Lantinga 2023-06-05 21:28:12 -07:00
  • 17c397f7ec Save the error code before doing any other operation Sam Lantinga 2023-06-05 21:18:49 -07:00
  • 6e7769cde1 Fixed detecting Bluetooth Steam Controllers Sam Lantinga 2023-06-05 18:02:37 -07:00
  • b1324fbc9f fixed os/2 mouse relative motion not working (thanks Andrey Vasilkin,) Ozkan Sezer 2023-06-05 11:50:50 +03:00
  • 4700fbcbdf Don't bother re-encoding Latin1 characters in the ASCII range Sam Lantinga 2023-06-04 05:37:06 -07:00
  • 6150b5b3cb Don't bother re-encoding Latin1 characters in the ASCII range Sam Lantinga 2023-06-04 05:37:06 -07:00
  • 2660da6f5c Always allocate zt in output of SDL_iconv_string() Eddy Jansson 2023-02-28 17:50:26 +01:00
  • 7c86d96e86 Fixed SDL_iconv_string() truncation when handling SDL_ICONV_E2BIG Sam Lantinga 2023-06-04 01:01:06 -07:00
  • a1dea11d32 fix MSVC build error. Ozkan Sezer 2023-06-04 14:29:10 +03:00
  • bfef7c302c Only convert the result of XLookupString() if it's not already UTF-8 Sam Lantinga 2023-06-04 02:06:52 -07:00
  • 491ae20d96 Only convert the result of XLookupString() if it's not already UTF-8 Sam Lantinga 2023-06-04 02:06:52 -07:00
  • c369b90019 Fixed SDL_iconv_string() truncation when handling SDL_ICONV_E2BIG Sam Lantinga 2023-06-04 01:01:06 -07:00
  • b9d1c483b9 Fixed building with the 16.1.4479499 Android toolchain Sam Lantinga 2023-06-03 23:55:56 -07:00
  • d40695115f Cleaned up Alt-Enter/Ctrl-Enter fullscreen toggle logic Sam Lantinga 2023-06-03 23:24:21 -07:00
  • 052a9d3284 macOS: Removed the fullscreen blanking window Rusty Moyher 2023-06-02 11:45:21 -05:00
  • dc94cca8dd Fixed typo in cherry-pick (thanks @HadesD!) Sam Lantinga 2023-06-03 11:57:08 -07:00
  • fa41ece65f Allow other applications to open controllers on macOS Sam Lantinga 2023-06-03 11:53:36 -07:00
  • 97fe777ab4 Steam uses a different VID/PID for the Steam Virtual Gamepad on Windows Sam Lantinga 2023-06-03 11:39:03 -07:00
  • 6815e75caf Steam uses a different VID/PID for the Steam Virtual Gamepad on Windows Sam Lantinga 2023-06-03 11:39:03 -07:00
  • f1bad83a21 Revert "Fixed detection of the Steam Virtual Gamepad on macOS" Sam Lantinga 2023-06-03 11:36:38 -07:00
  • 5f00147e61 Revert "Fixed detection of the Steam Virtual Gamepad on macOS" Sam Lantinga 2023-06-03 11:35:27 -07:00
  • 0c862d9a55 added compiler support comment about #pragma push_macro/pop_macro. Ozkan Sezer 2023-06-03 17:23:40 +03:00
  • 7aa28ce279 Fixed detection of the Steam Virtual Gamepad on macOS Sam Lantinga 2023-06-02 18:37:45 -07:00
  • 5fcd70578b Fixed detection of the Steam Virtual Gamepad on macOS Sam Lantinga 2023-06-02 18:37:45 -07:00
  • 9837653b9d Allow the application to send commands to Nintendo Switch controllers Sam Lantinga 2023-06-02 15:52:56 -07:00
  • c89a460672 Fixed build if SDL_JOYSTICK_RAWINPUT_MATCHING isn't enabled Sam Lantinga 2023-06-02 11:20:31 -07:00
  • 7c55845c80 Fixed build if SDL_JOYSTICK_RAWINPUT_MATCHING isn't enabled Sam Lantinga 2023-06-02 11:20:31 -07:00
  • e3bfacde3e Don't use raw input while Remote Desktop is active Sam Lantinga 2023-06-02 11:16:07 -07:00
  • 767507fcf6 Don't use raw input while Remote Desktop is active Sam Lantinga 2023-06-02 11:16:07 -07:00
  • a5a1844681 Fixed build error Sam Lantinga 2023-06-02 10:20:29 -07:00
  • 9c05098ed9 Fixed WGI immediately being correlated with raw input devices with no input Sam Lantinga 2023-06-02 09:38:18 -07:00
  • e8b5b4881c Fixed WGI immediately being correlated with raw input devices with no input Sam Lantinga 2023-06-02 09:38:18 -07:00
  • 2e27812d39 Fixed event sequence when Remote Desktop connects and disconnects Sam Lantinga 2023-06-02 08:51:47 -07:00
  • 6aaf032320 wayland: reset orientation bitmask before reading values from hint on QtWayland Alibek Omarov 2023-06-02 05:55:42 +03:00
  • 56520372ca hints: clarify support for comma-separated values for QtWayland orientation that's available since 2.0.22 Alibek Omarov 2023-06-02 05:59:06 +03:00
  • c395240425 hints: clarify support for comma-separated values for QtWayland orientation that's available since 2.0.22 Alibek Omarov 2023-06-02 05:59:06 +03:00
  • 68e3e99087 wayland: reset orientation bitmask before reading values from hint on QtWayland Alibek Omarov 2023-06-02 05:55:42 +03:00
  • 8c476ca1b0 hidapi/libusb: need libusb >= 1.0.16 because of libusb_get_port_numbers Ozkan Sezer 2023-06-02 14:56:40 +03:00
  • e27c10a5b1 hidapi/libusb: don't try to dlsym libusb_wrap_sys_device Ozkan Sezer 2023-06-02 14:55:24 +03:00
  • 3ecdbf27cc hidapi: silence redefinition warnings Ozkan Sezer 2023-06-02 14:36:14 +03:00
  • f082c68b2f Updated with upstream suggestions in https://github.com/libusb/hidapi/pull/582 Sam Lantinga 2023-06-01 10:48:15 -07:00
  • 0ad089de21 Backed out local changes to build with libusb on Windows Sam Lantinga 2023-06-01 08:30:10 -07:00
  • b36679b90e Updated with upstream suggestions in https://github.com/libusb/hidapi/pull/582 Sam Lantinga 2023-06-01 08:27:56 -07:00
  • 20182eed7c Updated with upstream suggestions in https://github.com/libusb/hidapi/pull/572 Sam Lantinga 2023-06-01 07:47:28 -07:00
  • 0cff44dbd4 Updated with upstream suggestions in https://github.com/libusb/hidapi/pull/577 Sam Lantinga 2023-06-01 07:27:51 -07:00
  • 4f58445f03 Ignore both the mouse and keyboard endpoints of Steam Controllers when enumerating game controllers Sam Lantinga 2023-05-31 14:28:50 -07:00
  • c886e80675 gdk: Virtual keyboard and text input backend Nikita Krapivin 2023-06-01 01:09:34 +05:00
  • b6a88b0339 Don't try to interpret Xbox controllers as raw HID devices on Windows Sam Lantinga 2023-05-31 10:49:46 -07:00
  • adad6514d4 wayland: Add aspect-correct output for scaled modes Frank Praznik 2023-05-15 11:37:43 -04:00
  • 4644ac99fa Remove unneeded property type check Sam Lantinga 2023-05-31 08:27:27 -07:00
  • cddcc4f406 Don't ignore "build-scripts" Wohlstand 2023-05-31 03:54:38 +03:00
  • 8e0b47331f Also ignore "build-*/" sub-directories Wohlstand 2023-05-31 03:38:25 +03:00
  • 7f7ea909bc testautomation_guid.c: fix integer warning in 32 bit builds. Ozkan Sezer 2023-05-31 04:50:02 +03:00
  • e9e4a9175f testautomation_guid.c: fix integer warning in 32 bit builds. Ozkan Sezer 2023-05-31 04:50:02 +03:00
  • 0b28cbe385 Allow building on really old Linux kernels (thanks @sezero!) Sam Lantinga 2023-05-30 16:36:13 -07:00
  • 9b147eb80b SDL_x11window.c: apply missing SDL2-to-SDL3 portage to fix build. Ozkan Sezer 2023-05-31 01:55:50 +03:00
  • c521e1286b SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined. Ozkan Sezer 2023-05-31 01:55:40 +03:00
  • 20dfb7df2c hidapi/linux/hid.c: define BUS_SPI if not already defined. Ozkan Sezer 2023-05-31 01:55:40 +03:00
  • 19c10b41fd x11: Attempt to wait for SDL_MaximizeWindow to complete before returning. Ryan C. Gordon 2023-05-30 17:04:31 -04:00
  • 379a6f4dab x11: Attempt to wait for SDL_MaximizeWindow to complete before returning. Ryan C. Gordon 2023-05-30 17:04:31 -04:00
  • 1fdcb610ff Fixed build Sam Lantinga 2023-05-30 05:52:07 -07:00
  • 4c36726a31 macOS child window fixes Sam Lantinga 2023-05-29 16:44:17 -07:00
  • ecccf6f9ca windows: Don't allow non-resizable windows to be maximized. Ryan C. Gordon 2023-05-29 14:46:58 -04:00
  • d275851dfb windows: Don't allow non-resizable windows to be maximized. Ryan C. Gordon 2023-05-29 14:46:58 -04:00
  • a9ded76dff VisualC: turn on multi-processor compilation. Ryan C. Gordon 2023-05-19 01:35:08 -04:00
  • 52b73d4115 pipewire: Set 'application.id' if SDL_HINT_APP_ID set David Gow 2023-05-29 15:36:59 +08:00
  • f74549ef2e Fixed build warning Sam Lantinga 2023-05-28 19:23:56 -07:00
  • 5007b96363 Fixed build warning Sam Lantinga 2023-05-28 19:23:56 -07:00
  • 1da5b2e488 Disable SDL_JOYSTICK_RAWINPUT_XINPUT Sam Lantinga 2023-05-28 18:41:21 -07:00
  • b2e88ecfeb Disable SDL_JOYSTICK_RAWINPUT_XINPUT Sam Lantinga 2023-05-28 18:41:21 -07:00
  • 95f244598b power: On Linux, compare status strings as case-insensitive. Ryan C. Gordon 2023-05-18 13:26:55 -04:00
  • 2f75596d5a Consolidate the X11 WM_CLASS and Wayland app ID envvars Frank Praznik 2023-05-25 20:37:49 -04:00
  • 85f33fe866 Fixed crash if the X11 display doesn't have a resource manager property Sam Lantinga 2023-05-27 20:42:07 -07:00
  • 76a919d458 cmake: don't force enable/disable SDL_HIDAPI_LIBUSB Anonymous Maarten 2023-05-28 02:51:53 +02:00
  • e4eab186ec Return xrandr-scaled display modes Jeffrey Knockel 2022-03-20 18:52:49 -04:00
  • 4d6ed7173e Sync SDL3 wiki -> header SDL Wiki Bot 2023-05-27 17:52:16 +00:00
  • 0ffeca8a1c Added SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS to control whether SDL_hid_enumerate() enumerates all HID devices or only controllers. Sam Lantinga 2023-05-27 09:37:38 -07:00
  • 77e59d4fa9 fixed build error due to -Wunused-function Ozkan Sezer 2023-05-27 18:56:10 +03:00
  • 8ea76ba116 move diagnostic pragma out of the function for old gcc versions. Ozkan Sezer 2023-05-27 18:40:56 +03:00
  • 211054d9db hidapi: improved error handling Sam Lantinga 2023-05-27 08:33:48 -07:00
  • 2666e15cf1 hidapi: fixed upstream build Sam Lantinga 2023-05-27 08:21:59 -07:00
  • bc28790817 Make sure hidapi error handling is thread-safe Sam Lantinga 2023-05-26 23:48:09 -07:00
  • d51f84a2e1 Revert "Fixed double-free during multi-threaded hidapi access" Sam Lantinga 2023-05-26 23:16:45 -07:00
  • 1c9aae9a29 hidapi build fixes for the upstream build environment Sam Lantinga 2023-05-26 21:28:01 -07:00
  • 2b386b6c80 Fixed double-free during multi-threaded hidapi access Sam Lantinga 2023-05-26 20:28:20 -07:00
  • d6cd450624 windows: SDL_Delay expects a 32-bit integer Anonymous Maarten 2023-05-27 02:34:41 +02:00
  • 860e52c99e windows: SDL_Delay expects a 32-bit integer Anonymous Maarten 2023-05-27 02:12:59 +02:00
  • e875775940 windows: SDL_immdevice needs SDL_timer.h include Anonymous Maarten 2023-05-27 02:10:18 +02:00
  • 13a6a72b88 windows: SDL_GetTicks64 -> SDL_GetTicks Anonymous Maarten 2023-05-27 02:02:46 +02:00
  • b4291412a4 tests: build tests with C90 standard Anonymous Maarten 2023-05-25 01:15:12 +02:00
  • 72606d97e6 cmake: allow #include "SDL2/SDL.h.h" when using SDL2 as subproject Anonymous Maarten 2023-05-25 15:56:35 +02:00
  • 5b5b67df20 wayland: don't use libdecor_frame_get_* functions when header doesn't have it Anonymous Maarten 2023-05-26 23:00:56 +02:00
  • c6cecb0fb0 wasapi: Deal with HDMI or DisplayPort-based audio devices. Ryan C. Gordon 2023-05-26 19:08:24 -04:00
  • 48e71ae87b wasapi: Deal with HDMI or DisplayPort-based audio devices. Ryan C. Gordon 2023-05-26 19:08:24 -04:00
  • 7308325559 Added support for printing wide strings using "%ls" syntax Sam Lantinga 2023-05-26 13:57:49 -07:00
  • 97a927b44e gdk: Fix the project Nikita Krapivin 2023-05-27 01:56:01 +05:00