Commit Graph

  • 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
  • 128ca70160 Added support for printing wide strings using "%ls" syntax Sam Lantinga 2023-05-26 13:57:49 -07:00
  • 9dea06f5b5 fix mingw build failures in CI with clang-tidy. Ozkan Sezer 2023-05-26 23:55:04 +03:00
  • a8a72de6fb fix mingw build failures in CI with clang-tidy. Ozkan Sezer 2023-05-26 23:55:04 +03:00
  • c68976360d Fix -Wunused-function warning when configuring with -DSDL_X11_XINPUT2=OFF Anonymous Maarten 2023-02-18 04:48:24 +01:00
  • 31d0d1b93a Fixed HIDAPI driver build Sam Lantinga 2023-05-26 10:03:11 -07:00
  • 1ef18c7677 Fixed windows build Sam Lantinga 2023-05-26 09:50:18 -07:00
  • cb73bed6eb SDL API renaming: SDL TLS functions Sam Lantinga 2023-05-26 08:32:31 -07:00
  • 2a271aeaf1 Sync SDL3 wiki -> header SDL Wiki Bot 2023-05-26 15:20:16 +00:00
  • 381cb41027 Don't export hidapi functions from SDL Sam Lantinga 2023-05-25 22:37:16 -07:00
  • 007c36e513 Added SDL_HINT_HIDAPI_IGNORE_DEVICES to specify devices that should be ignored in SDL_hid_enumerate() Sam Lantinga 2023-05-24 22:37:38 -07:00
  • e6834a1535 hidapi/linux: fixed crash if uevent info isn't available Sam Lantinga 2023-05-25 17:13:41 -07:00
  • b35d813ebb hidapi/linux: retry hid_send_feature_report() if the ioctl() fails with EPIPE (e.g. the device stalled) Sam Lantinga 2023-05-25 17:11:18 -07:00
  • 7c65c9d411 hidapi/linux: fixed doubled and missing report ID for BLE devices Sam Lantinga 2023-05-25 17:03:29 -07:00
  • 9c2ec04733 hidapi/windows: fixed PS4 controllers over Bluetooth on Windows 7 Sam Lantinga 2023-05-25 15:51:48 -07:00
  • 8f60d3ee86 hidapi/windows: do not wait in GetOverlappedResult() in hid_read_timeout() Sam Lantinga 2023-05-25 15:35:30 -07:00
  • f5c731212e hidapi/windows: fix use-after-free SBH corruption due to overlapped ReadFile in hidapi not being canceled for all threads before device close Sam Lantinga 2023-05-25 15:26:50 -07:00
  • c09848f7ab hidapi/windows: avoid enumerating devices that may hang when queried Sam Lantinga 2023-05-25 15:03:15 -07:00
  • b0ba509d87 hidapi/windows: allow building on Windows, using the SDL C runtime Sam Lantinga 2023-05-25 20:28:31 -07:00
  • 57b33aec01 hidapi/libusb: allow building on Windows, using the SDL C runtime Sam Lantinga 2023-05-25 12:43:09 -07:00
  • feb7178e66 hidapi/mac: Only enumerate IOHIDDevices that are likely to be joysticks Sam Lantinga 2023-05-25 08:47:51 -07:00
  • 2fa4b2e78f hidapi/mac: fixed crash on macOS when AirPods are connected Sam Lantinga 2023-05-25 08:53:45 -07:00
  • daccd7289b hidapi/libusb: added quirks for the Sony PS3 controller Sam Lantinga 2023-05-24 22:10:09 -07:00
  • 3b06d64dc3 hidapi/libusb: enable support for Xbox 360 and Xbox One controllers Sam Lantinga 2023-05-24 21:48:20 -07:00
  • e2ec976735 hidapi/libusb: maintain in-memory cache of vendor/product strings Sam Lantinga 2023-05-24 22:30:08 -07:00
  • 04e686c52f hidapi/libusb: use LIBUSB_CALL for the read_callback function Sam Lantinga 2023-05-24 21:53:26 -07:00
  • 5de35a1d77 hidapi/libusb: use the same logic to get the config descriptor in hid_open_path() as in hid_enumerate() Sam Lantinga 2023-05-24 21:45:15 -07:00
  • 0487621ec4 Added iOS/tvOS hidapi 0.14.0 support Sam Lantinga 2023-05-24 18:36:04 -07:00
  • bb12c6e03e Added Android hidapi 0.14.0 support Sam Lantinga 2023-05-24 18:08:34 -07:00
  • 92b3969ea3 Fixed parameter documentation mismatch Sam Lantinga 2023-05-24 15:52:55 -07:00
  • 22f22472a0 Create wrapper headers for platform specific hidapi modules Sam Lantinga 2023-05-25 07:51:16 -07:00
  • 2a08bf6118 Use the bus in the HIDAPI joystick guid now that it's available Sam Lantinga 2023-05-24 15:20:54 -07:00
  • af45ae7296 Update the SDL HIDAPI API to match upstream hidapi 0.14.0 Sam Lantinga 2023-05-24 15:16:49 -07:00
  • 003a9b9666 Added interface_class, interface_subclass, and interface_protocol to USB device info Sam Lantinga 2023-05-24 14:24:04 -07:00
  • 55ed69fc9a Fixed building SDL_hidapi.c with new hidapi Sam Lantinga 2023-05-24 10:03:22 -07:00
  • 651d9c4a6e Fixed compiling hidapi in SDL build environment Sam Lantinga 2023-05-24 10:03:52 -07:00
  • 2004304348 Directly include hidapi.h bundled with the hidapi source code Sam Lantinga 2023-05-24 08:16:07 -07:00
  • 3b7b8f3c09 Updated hidapi to 0.14.0 release Sam Lantinga 2023-05-24 07:28:55 -07:00
  • 6b8b9af88a Disable HIDAPI libusb support on FreeBSD in CI Sam Lantinga 2023-05-25 15:58:32 -07:00
  • b252ecec6d Fixed crash if trying to dump a packet larger than USB_PACKET_LENGTH Sam Lantinga 2023-05-25 09:53:40 -07:00
  • 2bf6a7c6af Fixed build warning on Xcode 14.3 Sam Lantinga 2023-05-24 18:37:42 -07:00
  • b0d52f11f4 Added udev_device_get_syspath() to udev context Sam Lantinga 2023-05-24 10:39:43 -07:00
  • c9d8a04945 Added SDL_swprintf() and SDL_vswprintf() Sam Lantinga 2023-05-24 09:41:22 -07:00
  • 6c28546828 Added SDL_wcstol() Sam Lantinga 2023-05-24 08:14:47 -07:00
  • 7602a3181e Allow declarations after statements Sam Lantinga 2023-05-24 14:53:34 -07:00
  • 35292d7dba pulseaudio: Redesigned to use pa_threaded_mainloop. Ryan C. Gordon 2023-05-24 13:36:52 -04:00
  • 81fe505c31 audio: remove is_in_audio_device_thread() Ryan C. Gordon 2023-05-24 13:34:28 -04:00
  • a535cc62a0 video: Only specify some GL context attributes if not the explicit default. Ryan C. Gordon 2023-05-25 10:04:44 -04:00
  • d4bc393efe video: Only specify some GL context attributes if not the explicit default. Ryan C. Gordon 2023-05-25 10:04:44 -04:00
  • a6bb00f399 x11: Use XResources font DPI as a fallback for X11 content scale David Edmundson 2023-05-24 09:59:55 +01:00
  • 63b8af3558 Disable unused local typedefs warning Sam Lantinga 2023-05-23 17:23:30 -07:00
  • 65180804c4 Disable unused local typedefs warning Sam Lantinga 2023-05-23 17:23:30 -07:00
  • a9c988b2a9 Fixed building on 32-bit Linux Sam Lantinga 2023-05-23 14:36:25 -07:00
  • 06d5989157 Fixed crash if video isn't initialized in SDL_CreatePopupWindow() Sam Lantinga 2023-05-23 13:41:34 -07:00
  • e92e4d8b50 Save waitable timers in thread local storage instead of continuously allocating and freeing them Sam Lantinga 2023-05-23 11:32:40 -07:00
  • ddbdd73258 Updated source to match SDL function prototype style Sam Lantinga 2023-05-23 11:29:41 -07:00
  • 3f1fd5abff Updated source to match SDL function prototype style Sam Lantinga 2023-05-23 10:59:03 -07:00
  • 737aa881fa Updated source to match SDL function prototype style Sam Lantinga 2023-05-23 09:37:07 -07:00
  • a828f5897e testevdev: Add some driving sim controllers from Proton issue reports Simon McVittie 2023-04-11 18:16:24 +01:00
  • c88b1d1ca0 testevdev: Add the ability to mark a device entry as unimplemented Simon McVittie 2023-04-11 18:12:59 +01:00
  • 22e6319fed testevdev: Add data for some game controllers submitted to steam-devices Simon McVittie 2023-04-11 16:45:48 +01:00
  • da3fefc65c x11: Adds support for generic clipboard data in X11 Linus Probert 2023-05-10 10:31:14 +02:00
  • 92f72682e7 Document the Android SDK versions checked in Java code Sam Lantinga 2023-05-23 08:44:49 -07:00
  • b48b1ce500 Document the Android SDK versions checked in Java code Sam Lantinga 2023-05-23 08:44:49 -07:00
  • 891c89eeb8 Fix unused variable warnings Frank Praznik 2023-05-23 11:15:48 -04:00
  • e2b8d96529 wayland: Validate surfaces and window data before sending touch events Frank Praznik 2023-05-23 10:25:36 -04:00
  • 78a92b4f9d Fixed duplicate Joy-Con controllers on macOS Sam Lantinga 2023-05-22 13:54:15 -07:00
  • 61ef4efdfa Fixed duplicate Joy-Con controllers on macOS Sam Lantinga 2023-05-22 13:54:15 -07:00
  • 7b2b99a996 Fixed handling the Saitek P3600, which doesn't use the Xbox 360 controller protocol Sam Lantinga 2023-05-22 12:41:03 -07:00
  • cf0abf9911 Fixed handling the Saitek P3600, which doesn't use the Xbox 360 controller protocol Sam Lantinga 2023-05-22 12:41:03 -07:00