Commit Graph

  • 0f57864c9e Hint SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS added so we can recognise a Joy-Con as half a Pro Controller, so we can read its analog input and read its sensors just like we do a Pro Controller. JibbSmart 2021-01-18 19:57:29 +08:00
  • bd553ea868 Implement support for inhibiting the screensaver on Wayland Cameron Gutman 2021-01-20 21:17:20 -06:00
  • 7ff3832e4d Fix continuous scrolling speed on Wayland Cameron Gutman 2021-01-22 19:22:17 -06:00
  • 8c921d8201 Implement keyboard grab support for Windows Cameron Gutman 2021-01-22 19:40:26 -06:00
  • fd65aaa9a8 move outdated winmm and psp joystick codes to struct _SDL_JoystickDriver Ozkan Sezer 2021-01-23 17:30:50 +03:00
  • 8f1025899a os2audio: changed backend name from MMOS2 to DART (like SDL-1.2) Ozkan Sezer 2021-01-23 17:28:10 +03:00
  • 2376458841 renamed SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H to SDL_HAVE_MACHINE_JOYSTICK_H Ozkan Sezer 2021-01-23 17:24:28 +03:00
  • 02e61a88fb added SDL_JOYSTICK_OS2 to SDL_config.h.in and SDL_config.h.cmake Ozkan Sezer 2021-01-23 17:18:09 +03:00
  • d0c5097cdc minor autotools build system updates. Ozkan Sezer 2021-01-23 03:41:02 +03:00
  • 4eb2b9f809 fix permissions of config.guess and config.sub Ozkan Sezer 2021-01-23 03:03:55 +03:00
  • f68b36df75 Added support for the EVORETRO GameCube Adapter in PC mode Sam Lantinga 2021-01-22 11:42:42 -08:00
  • 9c88eac856 ControllerList: fix typo Sam Lantinga 2021-01-22 11:40:20 -08:00
  • 11fce32162 SDL_dinputjoystick.c: fixes to dfDIJoystick2[] array from Wine git. Ozkan Sezer 2021-01-22 20:20:02 +03:00
  • 4a776557af old os2 analogue joystick code ported from SDL-1.2. disabled by default, Ozkan Sezer 2021-01-22 20:10:02 +03:00
  • e91f83c1e0 hidapi.h: adjust so that it gives a smaller diff against mainstream Ozkan Sezer 2021-01-22 20:03:50 +03:00
  • d4794028bb Fixed build Sam Lantinga 2021-01-22 08:45:38 -08:00
  • 9e45372a2f Fixed build on Android and iOS Sam Lantinga 2021-01-21 22:47:37 -08:00
  • 19236b462a Implement support for minimizing windows on Wayland Cameron Gutman 2021-01-21 21:49:13 -06:00
  • cf84ec441f Improve reliability of cursor hiding on GNOME Wayland Cameron Gutman 2021-01-20 23:19:24 -06:00
  • bf53651d73 Make sure we only do GameCube adapter initialization if we were able to load libusb Sam Lantinga 2021-01-21 22:32:17 -08:00
  • 3527b49459 Fixed initializing the Nyko and EVORETRO GameCube adaptors Sam Lantinga 2021-01-21 22:30:34 -08:00
  • b6ae9a7cba renamed my_gradd.h to SDL_gradd.h Ozkan Sezer 2021-01-21 21:20:10 +03:00
  • 178ae70a29 Don't add paddle mappings for the Xbox One Elite Series 1 controller, since they can't be unmapped and read directly on that controller. Sam Lantinga 2021-01-20 12:18:10 -08:00
  • d789ba8332 Implement keyboard grab support for Wayland Cameron Gutman 2021-01-19 18:20:07 -06:00
  • 6e97170e96 Use PS4 rumble hint as the default for the PS5 rumble hint Cameron Gutman 2021-01-08 21:16:06 -06:00
  • 07f83cd5a6 hidapi/libusb/hid.c: fix race condition on device close (bug #5484) Ozkan Sezer 2021-01-19 19:50:10 +03:00
  • ee93f0edee [KMS/DRM] Revert unaproved fix for bug #5465. Manuel Alfayate Corchete 2021-01-19 15:35:43 +01:00
  • 6393d14de5 SDL_virtualjoystick.c: remove wrong #endif comment. Ozkan Sezer 2021-01-19 15:50:28 +03:00
  • 327ea97436 hidapi/libusb/hid.c: whitespace tidy-up. Ozkan Sezer 2021-01-19 15:50:02 +03:00
  • 282558379e fix AC_CHECK_HEADER for libusb.h Ozkan Sezer 2021-01-19 14:55:20 +03:00
  • 4fbb9f31ab Fix declarations after statement Sylvain Becker 2021-01-19 11:01:00 +01:00
  • 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 Sylvain Becker 2021-01-19 10:40:42 +01:00
  • e1d932f8b6 [KMS/DRM] Fix for bug #5468: corruption on dynamic cursor changing caused by wrong buffer size. Manuel Alfayate Corchete 2021-01-17 21:33:51 +01:00
  • 99facb1df3 [KMS/DRM] Fix for bug #5470: ratio correction for fullscreen windows with no matching resolution. Correct bracket position in else statements so they follow the coding style. Manuel Alfayate Corchete 2021-01-17 21:17:01 +01:00
  • c265e73f3b Fixed bug 5473 - Add WSCONS support for NetBSD Sam Lantinga 2021-01-17 10:05:11 -08:00
  • f3835702d3 fix build with --disable-directx Ozkan Sezer 2021-01-17 05:00:50 +03:00
  • 2ea393bd83 Fixed the screenshot button mapping on third party Bluetooth Nintendo Switch Pro controllers Sam Lantinga 2021-01-15 14:36:21 -08:00
  • 03665004d0 [KMS/DRM] Small fix to KMSDRM_Waitpageflip(). More comments on how it works. Manuel Alfayate Corchete 2021-01-15 15:00:17 +01:00
  • bdb3e6b84f SDL_hidapi_switch.c: fix build with older compilers Ozkan Sezer 2021-01-15 12:40:00 +03:00
  • 69bd7ebbca Fixed build Sam Lantinga 2021-01-15 00:02:33 -08:00
  • e3dbae5010 Get the serial number for the Nintendo Switch Pro controller Sam Lantinga 2021-01-14 23:49:41 -08:00
  • 5fc743c4fd Phantom Nintendo Switch Pro Controller initialization problem Sam Lantinga 2021-01-14 23:49:37 -08:00
  • 92742306a6 Fixed rumble reset failing for Switch Pro controllers in USB mode Sam Lantinga 2021-01-14 23:49:33 -08:00
  • d0b87fede6 Added HIDAPI rumble debug info Sam Lantinga 2021-01-14 23:49:27 -08:00
  • e2f46ed8ef Always lock the HIDAPI device when closing, in case rumble is pending Sam Lantinga 2021-01-14 23:49:20 -08:00
  • 907b8eebc3 Make sure the HIDAPI device is locked when closing it, in case there is rumble pending that didn't complete Sam Lantinga 2021-01-14 23:49:16 -08:00
  • b3848c5120 Fixed bug 5445 - Incorrect Switch Pro Controller face buttons when SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS disabled Sam Lantinga 2021-01-14 15:15:57 -08:00
  • bdc6e4ffc5 Fixed bug 5195 - Replugging in "mixed" controller types crashes on macOS Sam Lantinga 2021-01-14 15:03:11 -08:00
  • d54b125a86 Fixed bug 5287 - Support building for UWP with CMake Sam Lantinga 2021-01-14 14:53:34 -08:00
  • 351abc585b Fixed bug 5463 - generated Wayland interfaces are included in the library's ABI Sam Lantinga 2021-01-14 14:50:15 -08:00
  • 6a342954e8 Fixed bug 5451 - Can't create EGLSurface in Wayland from SDLWindow (no EGLNativeWindow pointer) Sam Lantinga 2021-01-14 14:42:53 -08:00
  • b2aaab3d53 Fixed bug 5462 - debug trap update/fix of assembly for Apple devices Sam Lantinga 2021-01-14 14:34:24 -08:00
  • 82aafa9aa8 Fixed bug 5461 - Add rewritten WSCONS driver for OpenBSD Sam Lantinga 2021-01-14 14:32:11 -08:00
  • 1adadc7702 [KMS/DRM] Adjust come return values. Improve comments. Manuel Alfayate Corchete 2021-01-14 10:18:40 +01:00
  • 57661e42c3 [KMS/DRM] Remove unused header. Manuel Alfayate Corchete 2021-01-13 20:17:50 +01:00
  • ead3c406a2 [KMS/DRM] Refactor, improve and re-comment async pageflips code. Manuel Alfayate Corchete 2021-01-13 20:11:01 +01:00
  • fbd7c718b6 Don't blink the Xbox 360 LED when setting the player slot, it's probably already been set by a driver Sam Lantinga 2021-01-13 11:02:07 -08:00
  • d757ec7f5c Only select the gamepad interfaces on the Xbox 360 wireless adapter Sam Lantinga 2021-01-13 11:02:01 -08:00
  • c94283d404 testgamecontroller: log which controller the event came from Sam Lantinga 2021-01-13 11:01:54 -08:00
  • aac74db685 [KMS/DRM] Enable async pageflips. Manuel Alfayate Corchete 2021-01-13 15:54:26 +01:00
  • 9384e59561 [KMS/DRM] Add warning comentary to avoid future experiments with scaling. Manuel Alfayate Corchete 2021-01-12 20:15:37 +01:00
  • b99543b682 opengl: More work on making line drawing match software renderer. Ryan C. Gordon 2021-01-11 20:40:11 -05:00
  • 8442754912 [KMS/DRM] Refactor KMSDR_CreateSurface to group all non-Vulkan stuff in a block. Manuel Alfayate Corchete 2021-01-12 00:22:58 +01:00
  • 87eb734c4e [KMS/DRM] Don't ask SDL to scale image when in Vulkan mode. Manuel Alfayate Corchete 2021-01-11 23:59:40 +01:00
  • e9887045a2 Gyro and Accel sensor support for Switch Pro Controller. Note that axes are changed to match the axes we're using with PlayStation controllers, since users will appreciate consistent behaviour across devices. JibbSmart 2021-01-11 15:36:40 +08:00
  • 85e8adf78d [KMS/DRM] Unused code cleaning. Manuel Alfayate Corchete 2021-01-11 22:28:27 +01:00
  • 5105ecf8b1 [KMS/DRM] Move surface size info to window driverdata, for coherency. Manuel Alfayate Corchete 2021-01-11 21:02:07 +01:00
  • 2067a7db8e [KMS/DRM] Fix fullscreen to windowed transition. Fix aspect ratio correction without using planes. Manuel Alfayate Corchete 2021-01-11 20:29:09 +01:00
  • 958e5d5b34 SDL_UpdateNVTexture: fixed pitch/bpp for GLES2 (bug #5430) Sylvain Becker 2021-01-11 10:01:24 +01:00
  • 68815b6c06 Fixed bug 5465 - Invalid memcpy inside SDL_GestureDelTouch (Thanks dmikushin and Yuki Okumura) Sylvain Becker 2021-01-10 22:21:12 +01:00
  • b94718e0a7 SDL_UpdateNVTexture: for D3D11, same notation as SDL_UpdateTexture (bug #5430) Sylvain Becker 2021-01-09 21:22:21 +01:00
  • 850d9c8c0d [KMS/DRM] Cleanup remainings from plane/scaling usage. Manuel Alfayate Corchete 2021-01-09 02:25:13 +01:00
  • 8636bc06de acinclude/libtool.m4: Apply macos11 patch from libtool bug #44605 Ozkan Sezer 2021-01-09 00:11:20 +03:00
  • 2aeb317743 [KMS/DRM] Fix vkQuake3 in OpenGL mode. Manuel Alfayate Corchete 2021-01-08 22:00:28 +01:00
  • 8746788fea KMSDRM_LEGACY is no longer legacy Sam Lantinga 2021-01-08 11:08:23 -08:00
  • 29888bd69a fixed permissions of xcode project file Ozkan Sezer 2021-01-08 21:56:00 +03:00
  • 8d3963421d regenerated configure Ozkan Sezer 2021-01-08 21:50:02 +03:00
  • 50ea3b77f1 Fixed bug 5080 - SDL_netbsdaudio: Always use the device's preferred frequency Sam Lantinga 2021-01-08 10:09:37 -08:00
  • 2f72535c62 Fixed joysticks generating SDL mouse events Sam Lantinga 2021-01-08 09:54:55 -08:00
  • a5dba7d3ab Fixed Xbox One Series X share button incorrectly triggering on newer firmware Sam Lantinga 2021-01-08 09:54:52 -08:00
  • b24494734b [KMS/DRM] Go back to the LEGACY interface only because using planes breaks compatibility with HW, so no advantage on using ATOMIC. Manuel Alfayate Corchete 2021-01-08 18:57:12 +01:00
  • 940e1b8dd9 [KMS/DRM] Small readability changes. Manuel Alfayate Corchete 2021-01-08 16:33:50 +01:00
  • e5bf1850f5 [KMS/DRM] Fix cpmpilation warnings. Thanks to Ozkan Sezer for pointing this out! Manuel Alfayate Corchete 2021-01-08 15:39:05 +01:00
  • cef1bd0639 [KMS/DRM] Prevent creating another default cursor everytime a window is created. Other fixes and cleanups. Manuel Alfayate Corchete 2021-01-08 13:14:42 +01:00
  • 7032539785 Disabled Bluetooth if BLE is not supported BluetoothManager is supported for Android API 18+. On older versions, skip Bluetooth instead of crashing. Jordan Christiansen 2021-01-07 19:33:12 -06:00
  • 0f0946702d Use Clang/GCC builtins for SDL byteswapping functions Cameron Gutman 2021-01-04 19:51:56 -06:00
  • e778881ada Fixed bug 5449 - SDL_DROPFILE update mouse location of drop in Cocoa Sam Lantinga 2021-01-07 11:49:28 -08:00
  • c8a64ad90c Fixed building when SDL_LIBUSB_DYNAMIC is defined Sam Lantinga 2021-01-07 10:23:55 -08:00
  • d079130c24 [KMS/DRM] Don't use primary plane for scaling because that's unsupported on most LEGACY-only HW. Manuel Alfayate Corchete 2021-01-07 18:44:34 +01:00
  • e23666f63e update config.guess and config.sub from mainstream. Ozkan Sezer 2021-01-07 17:40:00 +03:00
  • e168d1138c [KMS/DRM] Correct drmModeSetCursor() dimensions. Manuel Alfayate Corchete 2021-01-07 14:40:24 +01:00
  • 335d78ff86 [KMS/DRM] Add the missing files for Vulkan support to the KMSDRM_LEGACY backend, had forgotted to do -hg add-. Manuel Alfayate Corchete 2021-01-07 11:30:33 +01:00
  • 661bacfe27 [KMS/DRM] Add Vulkan suport to the KMSDRM_LEGACY backend.Minor text spacing tweaks for better readability. Comment out unused function. Manuel Alfayate Corchete 2021-01-07 00:47:21 +01:00
  • dfb0afe36a fix build after commit 5730b2005da1 Ozkan Sezer 2021-01-07 00:41:32 +03:00
  • 67e0b1dd4e [KMS/DRM] Rewrite KMSDRM_LEGACY backend to accomodate Vulkan compatibility. Fix several bugs on that backend. Manuel Alfayate Corchete 2021-01-06 22:15:26 +01:00
  • 57a5c45372 Fix D3D11 UpdateTextureNV in non fullscreen (bug #5430) Sylvain Becker 2021-01-05 22:06:51 +01:00
  • fc61ecb25c Fix software UpdateNVTexture non fullscreen (bug #5430) Sylvain Becker 2021-01-05 21:54:03 +01:00
  • 204ef3b509 Fix D3D11 UpdateNVTexture (bug #5430) Sylvain Becker 2021-01-05 20:38:31 +01:00
  • c0df40e003 Add more SDL_HAVE_YUV defines Sylvain Becker 2021-01-05 17:39:48 +01:00
  • dc0e5de974 Update config.guess and config.sub from mainstream. Ozkan Sezer 2021-01-05 17:10:02 +03:00