Commit Graph

  • abcc6706fd build: Don't duplicate Libs in Libs.private in pkg-config file James Le Cuirot 2020-04-12 13:24:36 +01:00
  • 99f87a7158 build: Merge pkg-config Libs.private into Libs for static-only builds James Le Cuirot 2020-04-11 23:38:34 +01:00
  • bd7b4f39ed Partial fix for bug 5086 - CMake builds on Windows broken by sensor support (thanks DominikD!) Sam Lantinga 2020-04-13 08:05:29 -07:00
  • 0918903f3c render: add a hint for toggling relative scaling hmk 2019-09-30 22:54:16 +03:00
  • aa188048f1 render: Scale relative mouse motion better for logical sizing hmk 2020-04-10 12:23:08 -04:00
  • d292f6bd4f stdlib: Add SDL_trunc and SDL_truncf Ryan C. Gordon 2020-04-10 12:17:14 -04:00
  • a791689086 metal: Added some support interfaces to Apple's Metal API (thanks, Caleb!). Ryan C. Gordon 2020-04-10 00:37:35 -04:00
  • 258d410653 emscripten: Add a few keyCode mappings for German keyboards Charlie Birks 2020-04-09 15:57:12 +01:00
  • babf010c60 emscripten: Pass canvas id to request_pointer_lock Fixes pointer lock with DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 Charlie Birks 2020-04-09 15:01:47 +01:00
  • 287772f5e9 emscripten: Let SDL_GetDisplayUsableBounds return the size of the window This does not account for scrollbars nor margins. But is much better then returning the full display size when not running fullscreen, but for example in an iframe. Daid 2020-04-09 15:01:45 +01:00
  • fb3df3a18d emscripten: Fix the reported keys for the numpad. See https://github.com/emscripten-ports/SDL2/issues/94 Daid 2020-04-09 15:01:41 +01:00
  • 44716b0236 emscripten: Send SDL_APP_TERMINATING before unload (#88) Sylvain Beucler 2020-04-09 15:01:37 +01:00
  • 0380cbd792 emscripten: Typo Beuc 2020-04-09 15:01:32 +01:00
  • d4f1b520c9 Added support for press/release hardware keyboard events in iOS 13.4 Sam Lantinga 2020-04-08 19:16:31 -07:00
  • e9c94ac0b3 Fixed Windows accelerometer data units Sam Lantinga 2020-04-08 10:27:30 -07:00
  • 3d942ccc15 Removed debug code Sam Lantinga 2020-04-08 09:02:02 -07:00
  • 09f552639a Fixed memory leak and removed debug code from Windows sensor implementation Sam Lantinga 2020-04-08 09:00:10 -07:00
  • 55515a8c25 SDL: ps4 controller trigger bits on other controllers just mean that there's some activity, not saturation - only force it on if the analog value is 0. Sam Lantinga 2020-04-08 08:42:15 -07:00
  • ba95fa6152 Revert "Fix incorrectly terminated MakeThreadHighPriority dbus message" Sam Lantinga 2020-04-08 08:42:09 -07:00
  • 9cd06ac33f Add perforce support to showrev.sh Sam Lantinga 2020-04-08 08:41:55 -07:00
  • 3180ba81af First pass at Windows sensor implementation Sam Lantinga 2020-04-08 08:34:27 -07:00
  • 6e6b517789 cocoa: Patched to compile. Ryan C. Gordon 2020-04-07 23:34:41 -04:00
  • 8c165adde7 joystick: Remove force_centering flag; we handle this on disconnect now. Ryan C. Gordon 2020-04-07 23:17:27 -04:00
  • fba081e489 wasapi: Patched to compile on C89 systems, and use SDL_ceilf instead of ceilf. Ryan C. Gordon 2020-04-07 14:51:08 -04:00
  • 4c2be47207 wasapi: Improve WASAPI audio backend latency (thanks, Anthony!). Ryan C. Gordon 2020-04-07 14:37:24 -04:00
  • 361417c0a4 cocoa: allow calling CreateWindowFrom on an NSView Michael Maltese 2020-03-25 16:40:43 -07:00
  • 8641f6e99d emscripten: support KaiOS's Left Soft Key and Right Soft Key (thanks, pelya!). Ryan C. Gordon 2020-04-07 14:03:13 -04:00
  • 309d6137ae cocoa: OpenGL setView and update must be used on main thread (thanks, Tim!). Ryan C. Gordon 2020-04-07 14:01:25 -04:00
  • 486f0b6c60 configure.ac: Fix stupid autotools errors Paul Cercueil 2020-04-07 13:49:19 -04:00
  • 024698779b wayland: Support wayland compositors with wl_seat version < 5 (thanks, Nia!). Ryan C. Gordon 2020-04-07 13:30:46 -04:00
  • 3cb62d5265 Fixed setting the controller name for the RAWINPUT driver Sam Lantinga 2020-04-07 11:17:52 -07:00
  • e62c25b693 The 0x02ff product ID shows up for new firmware Xbox One controllers using the RAWINPUT driver Sam Lantinga 2020-04-07 11:17:22 -07:00
  • 88cecee495 Fixed build warning Sam Lantinga 2020-04-07 10:14:12 -07:00
  • 50cb8e0f04 Fixed deadlock in new raw input joystick code Sam Lantinga 2020-04-07 10:13:08 -07:00
  • b6afbe6317 Added SDL_log.h to SDL_internal.h so logging is available everywhere Sam Lantinga 2020-04-07 09:38:57 -07:00
  • 488b94cb40 Don't interpret raw input messages with no mouse position Sam Lantinga 2020-04-07 09:18:19 -07:00
  • 0721931f5b Avoid sending regular mouse messages for touch input Sam Lantinga 2020-04-06 19:21:56 -07:00
  • c760c02c6c Fix some format specifier warnings Jay Petacat 2020-03-25 01:34:15 -04:00
  • dad73b1f0c Fixed bug 5073 - SDL does not handle URL Schemes in MacOS Sam Lantinga 2020-04-05 10:47:58 -07:00
  • 9525f9729a Fixed bug 5076 - SDL_netbsdaudio: Add support for 32-bit LPCM Sam Lantinga 2020-04-05 10:44:51 -07:00
  • e05d92a17d Fixed bug 5075 - Don't assume a GL library version number on NetBSD. Sam Lantinga 2020-04-05 09:01:33 -07:00
  • d4b561f472 Fixed bug 5015 - SDL_RenderReadPixels on DirectX 11.1 backend seems to be broken Sam Lantinga 2020-04-05 08:58:47 -07:00
  • 89fe32ddf9 Fixed bug 5072 - Test resources missing when building with SDL_TEST and CMake Sam Lantinga 2020-04-05 08:46:59 -07:00
  • f3e609679d Fixed setting the "playandrecord" audio hint on Apple TV Sam Lantinga 2020-04-02 12:27:29 -07:00
  • 378a5cfb61 Updated thread priorities for Apple operating systems Sam Lantinga 2020-04-01 16:39:05 -07:00
  • 377f2d35d5 configure: Remove wayland-protocols check from configure and CMake scripts. Ryan C. Gordon 2020-04-01 13:43:53 -04:00
  • ccc8c5d2cf Fix shared library suffix on OSX Flamefire 2020-03-17 08:46:34 +01:00
  • 3154d92473 SDL: plumb previously unused digital trigger bits for PS4 controllers. Victrix fight stick only sets these bits and doesn't send the analog values Sam Lantinga 2020-03-30 14:26:21 -07:00
  • f4a56d7e61 Enable thread-safety features in libdbus Sam Lantinga 2020-03-30 14:26:15 -07:00
  • 2e667a8be9 Fix incorrectly terminated MakeThreadHighPriority dbus message Sam Lantinga 2020-03-30 14:26:10 -07:00
  • 6e7465bd60 Fixed Bug 4883, redux - connect SDL_GetDisplayDPI to UIKit_GetDisplayDPI David Ludwig 2020-03-28 15:43:55 -04:00
  • 55b4f18e1a coreaudio: The default SDL audio device now tracks the system output default. Ryan C. Gordon 2020-03-29 01:54:00 -04:00
  • 46bb47cf04 thread: Put all important SDL_CreateThread internal data into SDL_Thread. Ryan C. Gordon 2020-03-26 22:14:59 -04:00
  • abdc5cbf24 Allow background music to play in the "play and record" case on iOS Sam Lantinga 2020-03-26 19:30:17 -07:00
  • 369e5f33fb dbus: System bus is optional, we only need a session bus (thanks, tamo!). Ryan C. Gordon 2020-03-26 20:28:04 -04:00
  • 07f231eeae joystick: Make sure recentering events happen before disconnect events. Ryan C. Gordon 2020-03-26 18:47:04 -04:00
  • f2ff953ef7 cocoa: Just update the OpenGL context directly if on the main thread. Ryan C. Gordon 2020-03-26 13:42:56 -04:00
  • 9354aea198 src/video/kmsdrm/SDL_kmsdrmvideo.c: fix build Build is broken without EGL since version 2.0.12 and https://hg.libsdl.org/SDL/rev/72cc4740dec2: Fabrice Fontaine 2020-03-25 09:38:45 -07:00
  • a4b0204b1a src/video/directfb/SDL_DirectFB_render.c: fix build Build with directfb is broken due to a spurious '}' and a missing 'E' since version 2.0.12 and https://hg.libsdl.org/SDL/rev/4c2dcf490cba: Fabrice Fontaine 2020-03-24 10:05:51 -07:00
  • 885b3f6948 Don't check the HIDAPI driver for the virtual device created by xow Sam Lantinga 2020-03-23 14:10:25 -07:00
  • 2c02b7410c Fixed bug 5052 - Interval between SDL_SENSORUPDATE events for gyroscopes is too high Sam Lantinga 2020-03-23 12:10:05 -07:00
  • 68c7e80dc5 iOS: fixed bug whereby some SDL testing apps weren't launching David Ludwig 2020-03-23 14:54:31 -04:00
  • e0a270561f Do not overwrite window surface created by driver Jay Petacat 2020-03-22 20:09:14 -04:00
  • 1fd548b67a Fixed building back to Mac OSX using the 10.7 SDK Sam Lantinga 2020-03-23 11:42:44 -07:00
  • 19a5f4ab5d opengl: Don't enable/disable texturing except when actually rendering. Ryan C. Gordon 2020-03-22 14:32:47 -04:00
  • cb8c91d956 Fixed bug 5051 - Switch Pro Controller hidapi driver does not report battery levels when connected via Bluetooth Sam Lantinga 2020-03-22 11:01:14 -07:00
  • f55cbdfd96 Allow Valve devices in driver check, we know they're well behaved controllers Sam Lantinga 2020-03-20 21:05:07 -07:00
  • 6e646b6156 Removed blacklist entries for devices that aren't game controllers, allow Steam Controllers Sam Lantinga 2020-03-20 20:53:26 -07:00
  • 5ed71f3bc0 Only enumerate HID devices on Windows that have gamepad HID usages Cameron Gutman 2020-03-20 13:44:50 -07:00
  • 106ffd57d8 Fixed bug 5049 - HORI Wireless Switch Pad does not connect properly via Bluetooth Sam Lantinga 2020-03-20 20:45:30 -07:00
  • 269f8215b0 Fixed build warning when using mingw-64 - the SDL code doesn't have any undefined symbols Sam Lantinga 2020-03-20 20:40:14 -07:00
  • 891bd82932 Fixed warning building version.rc using mingw-64 Sam Lantinga 2020-03-20 20:33:26 -07:00
  • 1a6f6054c2 Regenerated configure with configure.ac changes Sam Lantinga 2020-03-20 19:51:54 -07:00
  • 417713a75c Probable fix for compile errors on Mac OS and (non-VS) Win32 Jimb Esser 2020-03-20 19:49:19 -07:00
  • dc36f133b4 Backed out changeset c29d04c3fa49 Sam Lantinga 2020-03-20 19:49:15 -07:00
  • 74ba3cb45b Backed out changeset c5bb2de42684 Sam Lantinga 2020-03-20 19:48:26 -07:00
  • 2db65a7fe7 Fixed compile warnings Sam Lantinga 2020-03-20 19:47:46 -07:00
  • c63bb51245 Only build raw input support on Windows Sam Lantinga 2020-03-20 19:42:59 -07:00
  • b6eb09ff13 Updated documentation so people know to set the SDL_HINT_NO_SIGNAL_HANDLERS hint before SDL_Init() Sam Lantinga 2020-03-20 15:55:02 -07:00
  • 90f9e8f8b6 egl: Don't use SDL_LoadFunction to get GL entry points on Emscripten. Ryan C. Gordon 2020-03-20 15:13:09 -04:00
  • f7c9502dfb Fixed bug 5044 - CMake messes up hidapi path when project directory contains spaces Sam Lantinga 2020-03-20 12:13:26 -07:00
  • 5b3b55a181 [NSOpenGLContext update[ is prohibited outside the main thread Emir Marincic 2020-03-20 11:52:18 +03:00
  • 7e5340c5ac Fix for Bug 5034 - Replugging in a controller crashes on macOS in SDL 2.0.12 David Ludwig 2020-03-17 17:34:24 -04:00
  • 4c22a21e06 Fixed bug 3446 - The haptic API does not allow to select the direction axes Sam Lantinga 2020-03-17 14:18:05 -07:00
  • e6189f4046 Fix warnining implicit declaration of SDL_DetectPalette (Thanks meyraud705) Sylvain Becker 2020-03-17 15:47:30 +01:00
  • 838bbf1f7a Fixed bug 5037 - Regression 2.0.12 Alpha value of 0 on palette may become opaque (see also bug 3827) Sylvain Becker 2020-03-17 09:35:42 +01:00
  • 36d5845152 Backout prior fix for Bug 5034, which needs more research David Ludwig 2020-03-17 02:31:47 -04:00
  • 55a2a12ddf Fixed compile warning Sam Lantinga 2020-03-16 22:34:33 -07:00
  • 9b879a08aa Fixed compiler warning Sam Lantinga 2020-03-16 19:15:28 -07:00
  • c2c5d0b392 Fix compile error Jimb Esser 2020-03-16 16:52:49 -07:00
  • 197b14de4a Fixed Bug 5034 - Replugging in a controller crashes on macOS in SDL 2.0.12 David Ludwig 2020-03-16 19:24:25 -04:00
  • 47da53b91d Fix compiler warnings Jimb Esser 2020-03-16 14:49:20 -07:00
  • 8cd08646bb virtual joysticks: move variable decls to top of function (for C90 compat; Bug 5038) David Ludwig 2020-03-16 17:19:18 -04:00
  • 7379991778 Fixed bug 3446 - The haptic API does not allow to select the direction axes Sam Lantinga 2020-03-16 13:28:38 -07:00
  • 543994b193 Fixed bug 4477 - Support more than 4 XInput-capable devices on Windows Sam Lantinga 2020-03-16 12:25:02 -07:00
  • 4dea340ca7 Fixed bug 4477 - Support more than 4 XInput-capable devices on Windows Sam Lantinga 2020-03-16 12:23:38 -07:00
  • cc37ee8a0c virtual joysticks: add autotools-build support (Bug 5028) David Ludwig 2020-03-16 00:21:22 -04:00
  • 40625c4e79 virtual joysticks: MSVC support part 2/2, add file refs to MSVC projects (bug 5028) David Ludwig 2020-03-15 16:01:19 -04:00
  • b2296506bc virtual joysticks: MSVC support part 1/2, make driver's .c file be uniquely named David Ludwig 2020-03-15 15:05:36 -04:00
  • 513730c49c iOS: fixed build error when building test apps via Xcode David Ludwig 2020-03-15 14:40:51 -04:00