Commit Graph

  • d95dbe78bb Fixed n3ds build Sam Lantinga 2023-06-12 15:39:57 -07:00
  • cdc40ee054 Reduce the chance of destroying the joystick mutex while it's in use Sam Lantinga 2023-06-12 15:26:34 -07:00
  • 6ab846b688 clipboard: Fixes additional x11 clipboard bugs found in tests Linus Probert 2023-06-12 18:27:40 +02:00
  • a2ba5e9052 clipboard: Fixes testautomation fails introduced by clipboard changes Linus Probert 2023-06-12 13:06:16 +02:00
  • 4e0f94ea7d Android: add timeout when waiting the SDL thread to finish Sylvain 2023-06-12 11:45:46 +02:00
  • 125e7420ec cocoa: Warp mouse to center of window before enabling relative mouse. Ryan C. Gordon 2023-06-11 12:43:47 -04:00
  • 4cfacd5cb7 SDL_dynapi.c: minor cosmetics. Ozkan Sezer 2023-06-10 20:50:02 +03:00
  • 0103ec1126 Fixed accidental commit Sam Lantinga 2023-06-10 08:43:43 -07:00
  • 7f86415146 Sync SDL3 wiki -> header SDL Wiki Bot 2023-06-10 15:42:15 +00:00
  • 281018f169 Make it clear that you can't mix 2D rendering and the window surface API Sam Lantinga 2023-06-10 08:39:20 -07:00
  • 5490873daa Fixed querying device info on the MOBAPAD M073 Sam Lantinga 2023-06-09 18:41:21 -07:00
  • 2042e9c4e3 Only update the serial number if it hasn't already been set Sam Lantinga 2023-06-09 17:34:12 -07:00
  • c8051b11e8 Fixed reading input from the Razer Atrox Arcade Stick using Windows Gaming Input Sam Lantinga 2023-06-09 14:34:59 -07:00
  • aaccf3cd52 X11: common function to wait for the WM before sending SDL Window events Sylvain 2023-06-09 14:21:17 +02:00
  • 8096f7269b Android: add robustness. check that the native code is run for the first time. Sylvain 2023-06-09 09:41:54 +02:00
  • ae9d8acc3b Android: when an EventFilter is binded to SDL_EVENT_DID_ENTER_FOREGROUND event and triggered, GL context is expected to be already restored. Sylvain 2023-06-09 09:27:39 +02:00
  • 4c0758a234 Fixed crash if display couldn't be found in SDL_UpdateFullscreenMode() Sam Lantinga 2023-06-08 12:39:32 -07:00
  • d9c17e7055 testevdev: Add details of some more 8BitDo devices Simon McVittie 2023-06-08 18:24:09 +01:00
  • a2ed083285 testevdev: Describe several equivalent devices Simon McVittie 2023-06-08 17:30:30 +01:00
  • f4a53e78c8 testevdev: Add test data for a DualSense (PS5) gamepad Simon McVittie 2023-06-08 15:13:38 +01:00
  • 2fb1df1551 testevdev: Add test data for Nintendo Switch Joy-Cons via Bluetooth Simon McVittie 2023-06-08 16:00:27 +01:00
  • 8a82e06075 testevdev: Add test data for Microsoft Xbox Series S|X Controller Simon McVittie 2023-06-08 15:51:10 +01:00
  • ff01b43459 testevdev: Add Google Stadia controller Simon McVittie 2023-06-08 15:48:46 +01:00
  • 9ad0b8b47f testevdev: Add test data for another Switch Pro Controller Simon McVittie 2023-06-08 15:47:50 +01:00
  • 7b526d0cad testevdev: Finish incomplete data for Switch Pro Controller via USB Simon McVittie 2023-06-08 15:46:52 +01:00
  • 4c33ef94c6 testevdev: Note a functionally-equivalent device Simon McVittie 2023-06-08 15:45:17 +01:00
  • 4c035dc1e3 testevdev: Add another laptop touchpad Simon McVittie 2023-06-08 15:14:19 +01:00
  • 32d015a6a0 Fixed PS3 controller initialization over Bluetooth Sam Lantinga 2023-06-08 10:46:56 -07:00
  • e15da1985a video: Apply cleared flag states when restoring hidden windows Frank Praznik 2023-06-07 15:04:49 -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
  • 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
  • 6150b5b3cb Don't bother re-encoding Latin1 characters in the ASCII range Sam Lantinga 2023-06-04 05:37:06 -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
  • 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
  • fa41ece65f Allow other applications to open controllers on macOS Sam Lantinga 2023-06-03 11:53:36 -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
  • 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
  • 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
  • 7c55845c80 Fixed build if SDL_JOYSTICK_RAWINPUT_MATCHING isn't enabled Sam Lantinga 2023-06-02 11:20:31 -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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 1da5b2e488 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
  • 860e52c99e windows: SDL_Delay expects a 32-bit integer Anonymous Maarten 2023-05-27 02:12:59 +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
  • 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
  • 97a927b44e gdk: Fix the project Nikita Krapivin 2023-05-27 01:56:01 +05:00