Commit Graph

  • 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
  • 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