Commit Graph

  • 128ca70160 Added support for printing wide strings using "%ls" syntax Sam Lantinga 2023-05-26 13:57:49 -07:00
  • a8a72de6fb fix mingw build failures in CI with clang-tidy. Ozkan Sezer 2023-05-26 23:55:04 +03: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
  • 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
  • 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
  • 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
  • b48b1ce500 Document the Android SDK versions checked in Java code Sam Lantinga 2023-05-23 08:44:49 -07:00
  • 61ef4efdfa Fixed duplicate Joy-Con controllers on macOS Sam Lantinga 2023-05-22 13:54:15 -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
  • 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
  • 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
  • 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
  • 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
  • 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
  • f60622c510 Undo name change for the controller list Sam Lantinga 2023-05-19 14:26:37 -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
  • 5c019bc97e 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
  • a66cad79c1 SDL_GetClosestFullscreenDisplayMode() now takes a boolean whether to include high density modes Sam Lantinga 2023-05-18 12:15:23 -07:00
  • 32ab1183c7 x11: Expose the text/global scaling factor as the display content scale Frank Praznik 2023-05-18 13:29:55 -04:00
  • 87186a893c Integrate 8067023 and 8067041 to SDL3: Sam Lantinga 2023-05-18 09:21:29 -07:00
  • e61b5ceefe The SDL_WINDOW_ALLOW_HIGHDPI flag has been renamed SDL_WINDOW_HIGH_PIXEL_DENSITY Sam Lantinga 2023-05-18 07:34:45 -07:00
  • d1ee44b65e Add the pixel density to the display mode list in testwm Sam Lantinga 2023-05-18 07:34:16 -07:00
  • 887a1b5969 Print some newly added window flags Sam Lantinga 2023-05-18 07:33:49 -07:00
  • f9ecc841ca Sync SDL3 wiki -> header SDL Wiki Bot 2023-05-18 00:55:15 +00:00
  • cc94f600fd Officially added the concept of window pixel density Sam Lantinga 2023-05-17 16:39:15 -07:00
  • e708674416 Always expose the high density video modes in the mode list Sam Lantinga 2023-05-17 17:40:16 -07:00
  • 2e646c7141 audio: Load .WAV files with format->blockalign==0. Ryan C. Gordon 2023-05-17 20:06:58 -04:00
  • d05639a626 dynapi: Accept a comma-separated list of libraries to attempt to load. Ryan C. Gordon 2023-05-17 19:53:36 -04:00
  • 68edc72ae8 wayland: Fixups for new DPI code Frank Praznik 2023-05-17 18:51:51 -04:00
  • a3ce0d03e3 Fixed building with older macOS SDK Sam Lantinga 2023-05-17 13:32:21 -07:00
  • 5836e057de Sync SDL3 wiki -> header SDL Wiki Bot 2023-05-17 19:59:14 +00:00
  • 26e780bc9e Fixed warning "A function declaration without a prototype is deprecated in all versions of C" Sam Lantinga 2023-05-16 17:52:03 -07:00
  • c699f3d1d8 Updated SDL high DPI support Sam Lantinga 2023-05-16 16:29:52 -07:00
  • 0fbb9c779c SDL emscripten port: preventDefault should not be called on mousedown. Otherwise mouseup will not be fired outside iframe in Chrome-based browsers valid-ptr 2023-05-17 20:07:22 +03:00
  • b5cd0749b2 blit: Add a case for 8-bit blits that sdl12-compat exposed. Ryan C. Gordon 2023-05-16 14:38:44 -04:00
  • f94aa6208a Implement generic clipboard data on MacOS Vid Tadel 2023-05-15 10:44:34 +02:00
  • 642504bc59 Check to make sure the Windows joystick device has buttons and axes Sam Lantinga 2023-05-15 21:43:16 -07:00
  • e2b7b9b91c Sync SDL3 wiki -> header SDL Wiki Bot 2023-05-15 18:21:14 +00:00
  • 4de7433a9e Use the term "points" instead of "screen coordinates" Sam Lantinga 2023-05-15 11:16:46 -07:00
  • 78251f973d Sync SDL3 wiki -> header SDL Wiki Bot 2023-05-13 16:55:14 +00:00