Commit Graph

  • 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
  • b6d051e226 Fixed reporting backspace key if there is no text in the edit buffer (thanks @312937!) Sam Lantinga 2023-05-22 11:54:46 -07:00
  • 0ad0347acb Use numeric codes for Android versions, to avoid SDK dependencies Sam Lantinga 2023-05-22 11:51:09 -07:00
  • c971795954 Fixed reporting backspace key if there is no text in the edit buffer (thanks @312937!) Sam Lantinga 2023-05-22 11:54:46 -07:00
  • 3f6b2d1a61 Use numeric codes for Android versions, to avoid SDK dependencies Sam Lantinga 2023-05-22 11:51:09 -07:00
  • 1cadf4bab9 wayland: Validate surfaces and window data before sending touch events Frank Praznik 2023-05-22 12:34:40 -04:00
  • 4dd9f61bfd Don't map the top keyboard row to numbers when using the one-handed DVORAK layouts (thanks @tormol!) Sam Lantinga 2023-05-22 11:30:42 -07:00
  • a2f4783e75 Don't map the top keyboard row to numbers when using the one-handed DVORAK layouts (thanks @tormol!) Sam Lantinga 2023-05-22 11:30:42 -07:00
  • 2001a891c4 Fix Xbox link error from IsRectEmpty Caleb Cornett 2023-05-20 13:09:46 -04:00
  • 376a3cd100 Fix Xbox link error from IsRectEmpty Caleb Cornett 2023-05-20 13:09:46 -04:00
  • d7a56b93d5 Revert "Popups don't accept first focus clicks" Sam Lantinga 2023-05-21 08:18:46 -07:00
  • e1a28bc16f Popups don't accept first focus clicks Sam Lantinga 2023-05-21 08:17:06 -07:00
  • 1ee9a437f9 Stop beep when running iOS apps on ARM-based Macs M. P. Halpin 2022-12-31 20:45:35 -08:00
  • bbf38bbbc3 Stop beep when running iOS apps on ARM-based Macs M. P. Halpin 2022-12-31 20:45:35 -08:00
  • a6a222095e Added the hint SDL_HINT_ENABLE_SCREEN_KEYBOARD to control whether the on-screen keyboard should be shown when text input is active Sam Lantinga 2023-05-20 11:14:34 -07:00
  • 69644346ac Added the hint SDL_HINT_ENABLE_SCREEN_KEYBOARD to control whether the on-screen keyboard should be shown when text input is active Sam Lantinga 2023-05-20 11:09:36 -07:00
  • f005106d1b Make sure the sentinel is at the end of the current event pump cycle Sam Lantinga 2023-05-20 10:27:48 -07:00
  • 00b87f1ded Make sure the sentinel is at the end of the current event pump cycle Sam Lantinga 2023-05-20 10:27:48 -07:00
  • 1a3b713524 Added support for the PowerA MOGA XP-Ultra Controller Sam Lantinga 2023-05-19 14:39:30 -07:00
  • 517a2afcbd Added support for the PowerA MOGA XP-Ultra Controller Sam Lantinga 2023-05-19 14:38:50 -07:00
  • beca41480d Undo name change for the controller list Sam Lantinga 2023-05-19 14:26:37 -07:00
  • f60622c510 Undo name change for the controller list Sam Lantinga 2023-05-19 14:26:37 -07:00
  • 43b12fd9bc Moved the controller list out so it can be included elsewhere Sam Lantinga 2023-05-19 14:22:35 -07:00
  • e8ec8ba1d4 Added support for the Astro C40 in Xbox 360 mode Sam Lantinga 2023-04-27 17:10:44 -07:00
  • 24007b00b2 Moved the controller list out so it can be included elsewhere Sam Lantinga 2023-05-19 14:22:35 -07:00
  • 4e9cfad558 Cache window manipulation calls while an SDL_Window is hidden and replay them when the window is set visible Sam Lantinga 2023-05-19 10:23:16 -07:00
  • feeec90873 test/testgles2_sdf.c: type fixes from commit e26e893daf, style clean-up. Ozkan Sezer 2023-05-19 17:00:24 +03:00
  • d361acdd4e testgles2_sdf: build with CMake + fix build errors/warnings Anonymous Maarten 2023-05-19 15:24:52 +02:00
  • 5c019bc97e style fixes for SDL_PROC macros. Ozkan Sezer 2023-05-19 14:10:02 +03:00
  • 92a487f2e4 style fixes for SDL_PROC macros. Ozkan Sezer 2023-05-19 14:10:02 +03:00
  • d5f07730be x11: Dynamically update the scale factor Frank Praznik 2023-05-18 17:42:08 -04:00
  • 068d3da366 Fixed window and backbuffer size on Android Sam Lantinga 2023-05-18 16:11:57 -07:00