Commit graph

  • faf8880833 pandory500: fix _second_ udev bug pandory-udev-fix dajoho 2023-08-15 22:57:26 +02:00
  • a474155711 pandory500: fix _second_ udev bug pandory500 dajoho 2023-08-15 22:57:26 +02:00
  • 3eca30e6dc pandory500: fix udev bug dajoho 2023-08-15 19:04:15 +02:00
  • 424032b0ca Corrects the additon of SDLK_CONTEXT_MENU (and scancodes). feature/malifb Chris Smith 2023-01-10 13:45:54 +00:00
  • 8da70d5aa1 Adds SDLK_CONTEXT_MENU (and scancode). Chris Smith 2022-10-12 10:07:31 +01:00
  • f1003e7110 Adds function SDL_JoystickGetDeviceHWID() to get the hardware ID of a joystick so devices can be uniquely referenced over program executions. An example would be one SDL application launching another SDL application, passing it the HWID of the joystick that is to be the "primary" controller. Chris Smith 2021-03-18 18:40:22 +00:00
  • f6027780aa Fixes build so it works with LibreELEC (bad unnecessary header include), dodgy sdlchecks endif() Chris Smith 2020-09-14 16:23:02 +01:00
  • 92272721ac Fixes Mali build. Chris Smith 2020-03-25 16:26:00 +00:00
  • 30cb43e6bb Restored SDL_config.h Chris Smith 2020-03-25 15:35:45 +00:00
  • 401fb4308e Adds Mali Sys Window Info - returns native_window (and egl_surface as a bonus). Chris Smith 2020-03-21 09:32:37 +00:00
  • b84a1e6a4d Make sure hidapi is built for the release DMG master Sam Lantinga 2020-03-01 18:16:15 -08:00
  • 01469496eb We already have a hidapi implementation for Windows, we don't need libusb Sam Lantinga 2020-03-01 17:53:30 -08:00
  • f002c5c73f Updated version to 2.0.12 for release candidate build Sam Lantinga 2020-03-01 14:58:16 -08:00
  • d09e1783a9 Fixed bug 4996 - Mac: XBoxOne Bluetooth rumble isn't working Sam Lantinga 2020-03-01 14:52:49 -08:00
  • 802ddf478e mac: Fix gamepad detection Romain Roffé 2020-03-01 13:01:53 -08:00
  • b378f68cd6 Fixed whitespace Sam Lantinga 2020-03-01 13:00:50 -08:00
  • cd69970c24 Fixed bug 4369 - Going fullscreen with green knob in MacOS freezes app for 15 seconds. Sam Lantinga 2020-03-01 12:58:50 -08:00
  • 6a6b941e58 Fixed bug 4992 - UWP/WinRT does not set thread priority when using SDL_SetThreadPriority Sam Lantinga 2020-03-01 12:50:42 -08:00
  • 3e79ac2a16 Fixed trying to handle the HORI Wireless Switch Pad when connected via USB Sam Lantinga 2020-02-27 13:53:32 -08:00
  • d7b703adbb Xbox One controller rumble doesn't need synchronization if you use a packet counter of 0 Sam Lantinga 2020-02-27 09:33:32 -08:00
  • 1bb0c43749 Temporarily disabled NEON optimizations added for bug 4365 The ABGR to ARGB blit results in an empty surface, this needs to be looked at. Sam Lantinga 2020-02-27 09:32:03 -08:00
  • 93c0e32357 Fixed bug 5005 - warnings in kmsdrm Sam Lantinga 2020-02-27 08:20:34 -08:00
  • 6331aebaaf Fixed bug 4987 - Can't build on MinGW a recent state (15'th February, 2020): conflicting types Sam Lantinga 2020-02-27 08:18:20 -08:00
  • 3d1b93ed7d cmake: Forgot to add this file to revision control. Ryan C. Gordon 2020-02-25 14:52:03 -05:00
  • 233d05a1f2 Fix compilation C90 mixed declarations and code (Thanks Cameron Gutman !) Sylvain Becker 2020-02-25 06:53:51 +01:00
  • 9b5850bdb7 Better fix to set the palette opaque, when there is also a colorkey (see bug 3827) Sylvain Becker 2020-02-24 21:57:03 +01:00
  • ea119534c0 Don't call setPreferredOutputNumberOfChannels on iOS, it breaks audio output Sam Lantinga 2020-02-24 12:07:18 -08:00
  • 2a669e967a Fixed surround sound support on Apple TV Sam Lantinga 2020-02-24 10:25:57 -08:00
  • 0b991f8e16 Fix: set to opaque when a palette surface is converted to an alpha format. Sylvain Becker 2020-02-23 23:07:15 +01:00
  • 1b4134df89 Fix regression: when a palette + colorkey is converted, it needs a blend mode. Sylvain Becker 2020-02-23 22:38:08 +01:00
  • 3324453465 cocoa: Make sure wait for button enable can't be infinite. Ryan C. Gordon 2020-02-23 14:49:03 -05:00
  • e939635f84 cocoa: Removed a debug printf that was accidentally committed. Ryan C. Gordon 2020-02-23 14:48:48 -05:00
  • 5a0ed0a7e4 Fixed bug 4999 - Palette surface always promoted to alpha (Thanks Cameron Gutman!) Sylvain Becker 2020-02-23 09:59:52 +01:00
  • e0661f0cdf cmake: more proper sdl2-config.cmake work (thanks, Alexander!) Ryan C. Gordon 2020-02-21 15:52:35 -05:00
  • 4814d83a17 cmake: Backed out changeset d62544e5fa7a Ryan C. Gordon 2020-02-21 15:51:04 -05:00
  • 74335f35e8 cocoa: When exiting a fullscreen space, wait for window state to normalize. Ryan C. Gordon 2020-02-21 14:50:09 -05:00
  • ebc08484de Fixed support for third party Xbox 360 wireless controller dongle Sam Lantinga 2020-02-19 08:26:00 -08:00
  • a3d9b5e227 dynapi: Fixed build on non-Android platforms. Ryan C. Gordon 2020-02-18 01:44:07 -05:00
  • 99068e7cfe Added Android SDK conditionals to game controller mappings The Nintendo Switch Pro controller has a different mapping on Android 10 and newer Sam Lantinga 2020-02-17 14:15:47 -08:00
  • a76493a35b Made SDL_GetAndroidSDKVersion() available for applications Sam Lantinga 2020-02-17 13:54:45 -08:00
  • e6e4be9fc1 opengl: Backed out hg changeset 0c915d307499 Ryan C. Gordon 2020-02-17 16:15:04 -05:00
  • 59af901bbd x11: Wait a bit in SDL_SetWindowSize() to see if window manager vetoed change. Ryan C. Gordon 2020-02-17 16:11:18 -05:00
  • 6b6ba6d243 x11: Don't delay an extra 10ms if we were just going to break out of the loop. Ryan C. Gordon 2020-02-17 15:02:37 -05:00
  • e647acf78d x11: Don't wait for the window to move if it's already in the place we want it. Ryan C. Gordon 2020-02-17 15:00:02 -05:00
  • 2a440598ca Further improvements for bug 4128 - CMAKE: Generated target import file contains incorrect include path Sam Lantinga 2020-02-16 00:08:36 -08:00
  • 5639c05fe4 Fixed bug 4987 - Can't build on MinGW a recent state: conflicting types Sam Lantinga 2020-02-15 16:39:38 -08:00
  • d5b3d8d150 Added some extra permissions and features likely to be used by SDL applications Sam Lantinga 2020-02-14 18:21:58 -08:00
  • 952060f329 test: Improved detection of OpenGL support Cameron Cawley 2020-02-08 19:34:51 +00:00
  • 2b9013fd76 Improved CPU detection on ARM platforms Cameron Cawley 2020-02-04 16:46:22 +00:00
  • 5e683ff94c Add basic support for compiling on RISC OS Cameron Cawley 2020-02-13 20:50:47 +00:00
  • 6a3ddc7b5f testfilesystem: Don't exit the application if SDL_GetBasePath isn't supported Cameron Cawley 2020-02-13 22:58:04 +00:00
  • 6df9e0ec2f Fixed bug 4980 - Build fails for SDL_kmsdrm*.c Sam Lantinga 2020-02-14 16:17:17 -08:00
  • f862a7305c Fixed bug 4986 - Memory leak in HIDAPI_JoystickConnected Sam Lantinga 2020-02-14 16:15:46 -08:00
  • 342c1f5aa3 Fixed audio not coming out of the phone speakers while recording on iOS Sam Lantinga 2020-02-14 15:19:34 -08:00
  • a5da847282 Fixed re-setting the audio session category when closing an audio device Sam Lantinga 2020-02-14 14:18:12 -08:00
  • b88ebe6a95 cmake: Add PACKAGE_VERSION and SDL2_VERSION to sdl2-config.cmake.in Ryan C. Gordon 2020-02-14 13:37:32 -05:00
  • 5cea2bb70e x11: SDL_SetWindowPosition should try to wait for the window manager. Ryan C. Gordon 2020-02-14 13:17:18 -05:00
  • 5403dbd4a5 wayland: Don't delay pending surface resize handling on Vulkan. Ryan C. Gordon 2020-02-14 00:58:36 -05:00
  • 9ba80451dd wayland: Don't force the window into OpenGL mode if we want Vulkan. Ryan C. Gordon 2020-02-14 01:08:21 -05:00
  • a430e13434 Fixed opening audio on Android from the Steam Link shell activity Sam Lantinga 2020-02-13 16:10:52 -08:00
  • bf21c9aec1 Resolved conflict and added Android_JNI_RequestPermission() Sam Lantinga 2020-02-13 10:19:05 -08:00
  • d62d7ebd0c Improved fix for bug 4748 - Calling WIN_UpdateClipCursor() / WIN_UpdateClipCursorForWindows() on WIN_PumpEvents() causes beeping and choppy mouse cursor movement, right-click doesn't work Sam Lantinga 2020-02-12 12:26:27 -08:00
  • 5c22af2fa8 test: Reimplemented SDLTest_CommonUsage() to restore binary compatibility. Ryan C. Gordon 2020-02-12 13:09:38 -05:00
  • 48148ca586 mac: Wait a bit before activating app at startup. Ryan C. Gordon 2020-02-12 13:08:29 -05:00
  • 9a6fe8b14b Fixed relative mode mouse events stopping if you click on the title bar Sam Lantinga 2020-02-11 21:19:05 -08:00
  • 294e05087e Fixed iOS and Android build Sam Lantinga 2020-02-11 16:23:43 -08:00
  • 06433488e1 Implemented OpenSL-ES audio recording on Android Sam Lantinga 2020-02-11 16:14:02 -08:00
  • f26e92cc2b Attempt to make version detection safe for Mac OS X < 10.10 Sam Lantinga 2020-02-11 10:35:14 -08:00
  • e373060c8b Workaround for bug 4822 - Broken visual output in full screen mode with OS X 10.15 Sam Lantinga 2020-02-11 10:21:31 -08:00
  • b886d3e04d Fixed bug 4748 - Calling WIN_UpdateClipCursor() / WIN_UpdateClipCursorForWindows() on WIN_PumpEvents() causes beeping and choppy mouse cursor movement, right-click doesn't work Sam Lantinga 2020-02-11 10:08:22 -08:00
  • b44b56594a Don't add a frame to borderless windows. It was done to allow hotkey resizing of borderless windows, but Windows will sometimes draw it, regardless of our WM_* message handling. See bug 4466 for more details. Sam Lantinga 2020-02-11 09:41:55 -08:00
  • 901b499fef Fixed bug 4709 - incorrect (not) handling of windows on-screen cursor keys Sam Lantinga 2020-02-11 08:36:13 -08:00
  • fbf6d7e237 Make it possible for the application to use different C runtime begin/end thread functions Sam Lantinga 2020-02-11 08:26:46 -08:00
  • 25ff055ca2 Make sure SDL_CreateThread has the same signature regardless of how the DLL was created. Sam Lantinga 2020-02-11 08:01:44 -08:00
  • 1beeec74ae wayland: Fix building with -fno-common (which is now the default in GCC 10). Ryan C. Gordon 2020-02-10 23:48:06 -05:00
  • 6d2f81225b Fixed compile warning Sam Lantinga 2020-02-10 13:59:05 -08:00
  • 856c909a25 src/core/linux/SDL_threadprio.c: fix build without threads Add an include on SDL_error.h to avoid the following build failure without threads: Fabrice Fontaine 2020-02-10 13:56:53 -08:00
  • a76b80af17 opengl: Build out full GL_LINES and respect the diamond-exit rule. Ryan C. Gordon 2020-02-10 12:53:54 -05:00
  • 8077909889 The scissor rect needs to be updated when the viewport changes in the Metal renderer Sam Lantinga 2020-02-10 09:42:53 -08:00
  • 0f44ae0f88 Fixed bug 4966 - KMSDRM: Add dynamic modeset support Sam Lantinga 2020-02-09 11:44:22 -08:00
  • b727f93948 Fixed NullPointerException Sam Lantinga 2020-02-07 20:20:37 -08:00
  • a345c092da Removed VID/PID 0x1532/0x0037, which was listed in the Linux kernel as a Razer Sabertooth, because at least one variant of the Razer DeathAdder mouse shows up with this VID/PID. Specifically the Razer DeathAdder 2013 has this VID/PID Sam Lantinga 2020-02-07 20:19:32 -08:00
  • 66548a8bff Fixed bug 4968 - NULL passed to memcpy in WriteProprietary in SDL_hidapi_switch.c Sam Lantinga 2020-02-07 11:49:56 -08:00
  • 39547c8367 Use the triggers to test rumble for more fine grained vibration feedback Sam Lantinga 2020-02-07 11:45:32 -08:00
  • ee7b76f6ad Use the asynchronous HIDAPI rumble code for Nintendo Switch Pro controllers Sam Lantinga 2020-02-07 11:44:57 -08:00
  • 65ee09a29d Update for bug 4923 - Calling SDL_GameControllerRumble() often takes 8 ms Sam Lantinga 2020-02-07 11:02:34 -08:00
  • fdfa4783eb macOS: fix crash if and when joystick-init-on-add fails David Ludwig 2020-02-05 13:16:17 -05:00
  • a8c1a21887 Updated the Android Xbox One Wireless Controller mapping for the latest Xbox controller firmware update Sam Lantinga 2020-02-05 09:29:46 -08:00
  • 6cd18f7cb9 Catch both PS3 and PS4 motion controls and don't treat them as a game controller Sam Lantinga 2020-02-04 18:36:23 -08:00
  • 12b7c0a718 Fixed Visual Studio build Sam Lantinga 2020-02-04 16:05:39 -08:00
  • 033cbd059b Added SDL_hidapi_rumble.c to the macOS, iOS and tvOS builds Sam Lantinga 2020-02-04 15:42:49 -08:00
  • c9f0264cf3 Added SDL_hidapi_rumble.c to the Visual Studio project Sam Lantinga 2020-02-04 15:35:01 -08:00
  • 67d825d8ad
    Merge pull request #21 from psyke83/mesa_build_fix retropie-2.0.10 Conn O'Griofa 2020-02-02 00:36:11 +00:00
  • aec286b802 Fixed bug 4797 - SDL fails to compile with Mesa Master (thanks Michael Olbrich!) Sylvain Becker 2019-10-12 18:47:56 +02:00
  • 4ec6f86dcc FIX for SDL-4927: CFRetain+CFRelease a game controller's IOKit object David Ludwig 2020-01-30 18:03:34 -05:00
  • df5bd6eab0 Added missing files from previous commit Sam Lantinga 2020-02-04 15:27:25 -08:00
  • af5eac78cd Fixed long delay on main thread caused by blocking rumble writes in HIDAPI drivers There is now a thread that handles all HIDAPI rumble requests and a lock that guarantees that we're not reading and writing the device at the same time. Sam Lantinga 2020-02-04 15:26:56 -08:00
  • e42b19fbe7 Moved rumble expiration to the main joystick handling level, and prevent sending the driver layer duplicate rumble requests. Sam Lantinga 2020-02-04 12:48:53 -08:00
  • fd93d66339 Correct joystick hat indexes on linux The index and indices were swapped; Which is fine as long as there are no gaps in the ABS_HAT* event availability but otherwise things do get confused. Sjoerd Simons 2020-02-04 07:23:44 -08:00
  • d996900e94 Fixed bug 4965 - Update the .hgignore file Sam Lantinga 2020-02-03 16:38:07 -08:00