Commit Graph

  • 531ddf5eb5 Fixed macOS framework detection in sdl2.m4 Sam Lantinga 2022-08-26 09:12:56 -07:00
  • abac672a2d Fixed crash if there are no devices available (cherry picked from commit 679582e702) Sam Lantinga 2022-08-25 11:07:20 -07:00
  • 782862b95c apply commit d0a3570300 to cmake side too. Ozkan Sezer 2022-09-12 20:28:00 +03:00
  • 525e201728 regenerated configure script. Ozkan Sezer 2022-09-12 20:20:04 +03:00
  • 0680314c2a configure.ac: fix configure tests broken with Clang 15 (implicit function declarations) Sam James 2022-09-12 18:02:21 +01:00
  • 5b2884cb02 apply commit d0a3570300 to cmake side too. Ozkan Sezer 2022-09-12 20:28:00 +03:00
  • d936499670 regenerated configure script. Ozkan Sezer 2022-09-12 20:20:04 +03:00
  • d0a3570300 configure.ac: fix configure tests broken with Clang 15 (implicit function declarations) Sam James 2022-09-12 18:02:21 +01:00
  • 7f415ce587 android: fix some compiler warnings Amir 2022-09-12 20:09:00 +04:00
  • 6dfd7a17e1 cmake: forward HAVE_LIBUSB to HAVE_HIDAPI_LIBUSB Anonymous Maarten 2022-09-10 15:53:11 +02:00
  • c3495ec6ea Fix value of SDL_HIDAPI_DISABLED Anonymous Maarten 2022-09-10 14:11:19 +02:00
  • 19b13aab98 cmake: mark hidapi as disabled when not found Anonymous Maarten 2022-09-10 13:41:29 +02:00
  • edfb00c25e wayland: Only commit on move if the display was changed Frank Praznik 2022-09-09 14:26:44 -04:00
  • 97a5e74449 wayland: Remove duplicate code Frank Praznik 2022-09-06 17:08:27 -04:00
  • 78f843f741 wayland: Remove unnecessary function parameter Frank Praznik 2022-09-06 13:19:23 -04:00
  • 69e4c770f3 video: Make the mode switching function a NOP if mode switching is disabled Frank Praznik 2022-09-04 12:18:38 -04:00
  • 768b6728bd wayland: Compare against the old scale when resizing Frank Praznik 2022-09-04 23:39:05 -04:00
  • 07aea476ba wayland: Ignore content sizes from libdecor when hiding a window Frank Praznik 2022-09-03 13:30:49 -04:00
  • 6de12b4a0d wayland: Update the internal state when the compositor moves a fullscreen window Frank Praznik 2022-09-06 13:30:19 -04:00
  • a7d345958d wayland: Trigger a commit on fullscreen update Frank Praznik 2022-09-03 13:11:29 -04:00
  • 707b561f97 wayland: Enable compositor fullscreen toggling Frank Praznik 2022-09-03 12:37:02 -04:00
  • 31979e2d98 wayland: Add missing static qualifiers Frank Praznik 2022-09-02 18:41:21 -04:00
  • 1c88a0522f Update Wayland cursors to match X11 cursors Taiko2k 2022-09-09 16:03:17 +12:00
  • 9f4baeea53 Clean up thread local storage when quitting SDL Sam Lantinga 2022-09-08 20:08:20 -07:00
  • a3900a751e Lock joysticks when removing a controller on the WGI thread Sam Lantinga 2022-09-08 13:59:25 -07:00
  • 12413ab31f Lock joysticks while attaching a virtual one Sam Lantinga 2022-09-08 13:33:04 -07:00
  • 787cd580ee silence unused function warning for SDL_endswith() on non-linux. Ozkan Sezer 2022-09-08 23:00:04 +03:00
  • 4071573241 Don't try to second guess DS4Windows, let it remap things as expected. Sam Lantinga 2022-09-08 11:50:56 -07:00
  • a0f169603d Fixed the CRC in the mappings for PS2, PSP, and Vita controllers Sam Lantinga 2022-09-08 09:53:24 -07:00
  • 90a480a100 Fixed bug #6199 - Broken clip behaviour on a render target (metal) Sylvain 2022-09-08 05:44:39 +02:00
  • 0ad8d9d292 SDL_IsXInputDevice() shouldn't return true if XInput isn't enabled Sam Lantinga 2022-09-07 15:31:24 -07:00
  • d93f9a778b The new Wii Remote shares the same VID/PID as the Wii U Pro controller Sam Lantinga 2022-09-07 12:33:43 -07:00
  • f398d8a424 Note that the Logitech Extreme 3D is a flight stick Sam Lantinga 2022-09-07 11:53:13 -07:00
  • 0a05b281f2 Make sure we hold the joystick lock when updating the device state while opening it Sam Lantinga 2022-09-07 11:51:16 -07:00
  • d4e0d27c1c Added Wii Remote controller mappings for Linux Sam Lantinga 2022-09-07 02:02:04 -07:00
  • a7fde3f835 Allow mapping a controller other than the first one Sam Lantinga 2022-09-07 01:58:42 -07:00
  • 42cf6d6c56 Don't treat the Wii extension controls as a separate game controller on Linux Sam Lantinga 2022-09-07 01:41:11 -07:00
  • 87f8b6ff0f Don't mess with the state of the Motion Plus extension on Linux Sam Lantinga 2022-09-07 01:21:01 -07:00
  • c28da4892a Fixed build Sam Lantinga 2022-09-07 00:52:40 -07:00
  • 638452ecf7 Assert that continuous reporting is enabled, so input timeout is a reliable way of detecting Bluetooth connection problems. Sam Lantinga 2022-09-07 00:44:13 -07:00
  • 8dfe0e4beb Removed checks not needed for the Wii U Pro Controller Sam Lantinga 2022-09-07 00:41:29 -07:00
  • 4018f35ef2 Added left and right sensors for Nintendo Joy-Con and Wii controllers Sam Lantinga 2022-09-07 00:00:27 -07:00
  • 30f55a5d59 Added initial support for the Wii Motion Plus extension Sam Lantinga 2022-09-06 23:33:55 -07:00
  • 29f4a5ba0e Add GLES2 shader prologue infrastructure. (by @eloj) Sam Lantinga 2022-09-06 15:55:27 -07:00
  • 4fd6bba257 Refactored for similarity to surrounding code Sam Lantinga 2022-09-06 12:29:42 -07:00
  • 7be77f0b3d Fix https://github.com/libsdl-org/SDL/issues/6191 (cherry picked from commit 5ffede35d9) Ozkan Sezer 2022-09-06 19:56:29 +03:00
  • 5ffede35d9 Fix https://github.com/libsdl-org/SDL/issues/6191 Ozkan Sezer 2022-09-06 19:56:29 +03:00
  • e70db38d60 Fix compatibility with Windows XP (cherry picked from commit 10e1ef00e2) Cameron Cawley 2022-09-06 11:21:57 +01:00
  • 10e1ef00e2 Fix compatibility with Windows XP Cameron Cawley 2022-09-06 11:21:57 +01:00
  • 911524da45 fix DYLIB version inconsistencies and test failures after #6188. Ozkan Sezer 2022-09-06 03:15:02 +03:00
  • d1fea10c0f Added support for the accelerometer in the Wii Remote Sam Lantinga 2022-09-05 16:08:15 -07:00
  • a61b823da8 Added support for the Wii Remote with the Classic Controller Pro extension Sam Lantinga 2022-09-05 14:31:25 -07:00
  • a0f143fc93 Add build target to Xcode project to create an xcframework for iOS (#6188) tjpadula 2022-09-05 13:10:15 -07:00
  • 08e8824372 cmake: fix location of SDL2::SDL2test imported library Anonymous Maarten 2022-09-05 21:53:50 +02:00
  • 8a08d62ff7 cmake: fix location of SDL2::SDL2test imported library Anonymous Maarten 2022-09-05 21:53:50 +02:00
  • 181265ba71 Removed unused variable Sam Lantinga 2022-09-05 11:36:20 -07:00
  • 23be3ccc2f Note that we should regenerate configure before running test/versioning.sh Sam Lantinga 2022-09-05 11:25:10 -07:00
  • acf397b4df Actually, DYLIB_COMPATIBILITY_VERSION shouldn't be updated for a stable point release Sam Lantinga 2022-09-05 11:21:13 -07:00
  • 612a86ebad HIDAPI_DriverPS3_UpdateEffects: kill bad use of & operator on effects[] Ozkan Sezer 2022-09-05 20:47:00 +03:00
  • b00e1b1b62 Added support for a ShanWan PS2 -> PS3 USB converter to the HIDAPI driver Sam Lantinga 2022-09-05 10:01:28 -07:00
  • fd93f817ba Assume that stdint.h is available on Windows with compilers other than MSVC <= 2008 Cameron Cawley 2022-09-04 17:50:29 +01:00
  • ef988fe184 Only use CETCOMPAT on x86/x64 platforms Sam Lantinga 2022-09-05 08:58:49 -07:00
  • cf040f8882 testmouse: Allow drawing rectangles as well as lines Cameron Cawley 2022-09-05 16:27:25 +01:00
  • a932581775 testplatform: Add LSX and LASX checks Cameron Cawley 2022-09-05 16:37:34 +01:00
  • 5cac6c7eb6 Note that the Xcode DYLIB_COMPATIBILITY_VERSION should always match DYLIB_CURRENT_VERSION Sam Lantinga 2022-09-05 08:48:16 -07:00
  • 4e98ba612b Set DYLIB_COMPATIBILITY_VERSION to DYLIB_CURRENT_VERSION to match autotools Sam Lantinga 2022-09-05 08:28:06 -07:00
  • cbc0d9facc test/versioning.sh also tests configure Érico Porto 2022-09-03 21:22:26 -03:00
  • b6661c016b CMake: Make SDL_SHARED/STATIC/TEST options Gleb Mazovetskiy 2022-08-30 00:50:44 +01:00
  • 03485db0a3 Android: understand HAL_PIXEL_FORMAT_BGR_565 as a returned value from ANativeWindow_getFormat() (see #6016) Sylvain 2022-09-03 23:40:14 +02:00
  • 1b4e08b89e Added an entry for the Hori Fighting Stick mini 4 kai Sam Lantinga 2022-09-02 17:04:30 -07:00
  • 6bcf2c1521 Fixed spinning at a very high framerate Sam Lantinga 2022-09-02 15:06:49 -07:00
  • 47f2373dc1 Added locking for Android joystick events Sam Lantinga 2022-09-02 16:52:55 -07:00
  • e8f6b7503a Added mappings for the ASUS ROG Kunai 3 Gamepad Sam Lantinga 2022-09-02 15:06:13 -07:00
  • 5770e87cb2 Fixed regression handling touchpad input with PS5 controllers using the original shipping firmware Sam Lantinga 2022-09-02 13:57:59 -07:00
  • 253f6a913d Variable renaming for consistency Sam Lantinga 2022-09-02 11:49:06 -07:00
  • 5002624e8a Fixed crash when extension controllers are hotplugged Sam Lantinga 2022-09-02 11:41:19 -07:00
  • 7df571ffc6 HIDAPI_DumpPacket() takes a const memory pointer Sam Lantinga 2022-09-02 11:37:16 -07:00
  • b6d23d21db Fixed interactions with the Linux Wiimote driver Sam Lantinga 2022-09-02 11:21:51 -07:00
  • 0c984360d1 SDL_hidapi_wii.c: fix a -Wshadow warning Ozkan Sezer 2022-09-02 20:02:56 +03:00
  • b6b3fb0023 This was intended to be Uint8 Sam Lantinga 2022-09-02 09:59:32 -07:00
  • 5be157b3a2 SDL_hidapi_wii.c: fix -Wpointer-sign warnings Ozkan Sezer 2022-09-02 19:33:40 +03:00
  • 54356f41a9 Wii: fixed trigger axis reporting for the Wii U Pro Controller Sam Lantinga 2022-09-02 09:03:44 -07:00
  • a35642fa3e Wii: don't bother reading the extension type for the Wii U Pro controller, we already know what it is Sam Lantinga 2022-09-02 08:58:21 -07:00
  • c3ecb9d099 Wii: re-request the status if we get a communication error Sam Lantinga 2022-09-02 08:48:36 -07:00
  • 0c24b46e9f SDL_hidapi_wii.c: fix build in c89 mode. Ozkan Sezer 2022-09-02 18:55:00 +03:00
  • 9874fc4e6a Reconnect as a different controller if the Wii extension hardware changes Sam Lantinga 2022-09-02 08:47:15 -07:00
  • 5f3cb54972 Updated Wii support with @tellowkrinkle's changes in 2f288e9d5b Sam Lantinga 2022-09-02 08:28:28 -07:00
  • 785d784a93 Set the output value for ParseExtensionResponse() in all return cases Sam Lantinga 2022-09-01 22:30:05 -07:00
  • 046aaa2d21 Use auto calibration for the Wii Nunchuk thumbstick axis values Sam Lantinga 2022-09-01 21:37:26 -07:00
  • 8381e008ea Handle hotplugging of Wii controller extensions Sam Lantinga 2022-09-01 21:13:16 -07:00
  • 396411c090 Added mapping for the Wii Nunchuk extension Sam Lantinga 2022-09-01 20:27:34 -07:00
  • e19b36d871 Initial support for the Wii Remote with Nunchuk extension Sam Lantinga 2022-09-01 19:29:20 -07:00
  • c887cb02af Added the hint SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED to control whether the player LED should be lit on the Nintendo Wii controllers Sam Lantinga 2022-09-01 16:23:32 -07:00
  • 0ffaf5b871 SDL_hidapi_wii.c: fix build in c89 mode and builds using watcom compiler Ozkan Sezer 2022-09-02 02:04:20 +03:00
  • 397672edfe Added SDL_hidapi_wii.c to the Xcode project Sam Lantinga 2022-09-01 15:31:03 -07:00
  • c72e14e8f4 Added initial support for Wii controllers (thanks @tellowkrinkle!) Sam Lantinga 2022-09-01 15:29:01 -07:00
  • 2847696338 hidapi: really fix dynamic / non-dynamic libusb loading. Ozkan Sezer 2022-09-01 22:55:00 +03:00
  • 9d77945d36 fixed linkage libusb not dynamicaly loaded after commit 3f89d1704d Ozkan Sezer 2022-09-01 21:56:50 +03:00
  • 5767dc710e regenerated configure script after commit 3f89d1704 Ozkan Sezer 2022-09-01 21:56:50 +03:00
  • 4ebf34857a updated os2 config file after commit 3f89d1704d Ozkan Sezer 2022-09-01 21:56:50 +03:00