Commit Graph

  • 3696e23d09 added hints SDL_HINT_LINUX_DIGITAL_HATS and SDL_HINT_LINUX_HAT_DEADZONES to control the new Linux hat handling; added define DEBUG_GAMEPAD_MAPPINGS to log messages when generating default gamepad mapings for Linux joysticks atfrase 2022-01-14 10:45:16 -06:00
  • 0b8e796e2c added hueristic to differentiate digital vs analog 'hat' input axes and expose the latter as regular axes; added automatic deadzones to hat outputs, in case analog axes are still mapped to digital hats; updated automatic gamepad control mapping to more completely follow the spec atfrase 2022-01-12 22:00:46 -06:00
  • fbd230bb6c Add support for the Nokia N-Gage (#5597) Michael Fitzmayer 2022-05-03 17:51:49 +02:00
  • 3fcc2cb500 x11: get x1/x2 button state in GetGlobalMouseState emily 2022-05-03 11:19:39 +02:00
  • f25a78eede Enable SDL_TEXTEDITING_EXT events in checkkeys test Susko3 2022-05-03 00:40:42 +02:00
  • 6150245d65 Add new verbosity level for logging of SDL_SysWMEvents Susko3 2022-05-03 00:11:44 +02:00
  • d1a3981bf8 Fix crash when reading background events for MFi controllers on macOS Daniel Brookman 2022-05-02 15:22:46 -04:00
  • bb0b6dd42e Fixed using WGI without XInput Jan200101 2022-05-02 20:12:13 +02:00
  • 5394238cdc Don't include the internal header for a file intended for use by applications Sam Lantinga 2022-04-30 11:40:26 -07:00
  • 41b9198515 Fixed Xcode warning about Framework include style Sam Lantinga 2022-04-30 11:39:44 -07:00
  • 829f6b3d7d These headers are system headers, not local headers Sam Lantinga 2022-04-30 11:32:04 -07:00
  • 0687128c96 Reduce CPU usage in testgamecontroller Sam Lantinga 2022-04-29 20:57:00 -07:00
  • 9e5cbf034a Disallow non-positive allocation. Eddy Jansson 2022-04-29 22:36:12 +02:00
  • f81419702e Document that SDL_MAX_LOG_MESSAGE is no longer meaningful Sam Lantinga 2022-04-29 11:28:59 -07:00
  • 6c2928b4be Switch uses of MIN() to SDL_min() Eddy Jansson 2022-04-29 19:30:47 +02:00
  • ca26df3404 assert: Allow messages of any length. Eddy Jansson 2022-04-29 16:44:32 +02:00
  • 888899244c log: Allow log messages of any length. Eddy Jansson 2022-04-29 16:30:30 +02:00
  • 645db217a0 log: Use malloc for long messages. Eddy Jansson 2022-04-29 14:06:05 +02:00
  • 73448fe245 assert: Remove use of alloca() Eddy Jansson 2022-04-29 14:05:15 +02:00
  • 97774cdf72 Move in va_copy() define block from stdlib. Eddy Jansson 2022-04-29 14:01:03 +02:00
  • 7e636b03cc Removed log message length limitation for Apple platforms Sam Lantinga 2022-04-29 10:16:14 -07:00
  • 1aa9754d96 Add missing backslashes in README-linux.md command Kelly Gravelyn 2022-04-29 08:47:28 -07:00
  • 2ccb0dfd16 Check for macOS 10.16 to support apps built with older macOS SDKs Carl Friess 2022-04-13 15:39:29 +02:00
  • a0cdc1fc30 Added declaration of SDL_LogInit() and SDL_LogQuit() Sam Lantinga 2022-04-28 15:01:34 -07:00
  • 29694869b1 audio: Revert one of the resampler optimizations. Ryan C. Gordon 2022-04-28 15:56:52 -04:00
  • 5c1f5a7306 test: Correct invalid enum length. Eddy Jansson 2022-04-28 20:57:20 +02:00
  • 0f45a4e303 log: Don't try to SDL_free the static array. :) Ryan C. Gordon 2022-04-27 12:22:37 -04:00
  • 31e83cd14c log: Fixed build (sorry!) Ryan C. Gordon 2022-04-27 12:13:44 -04:00
  • fde9a7086e log: Make the message buffer static. Ryan C. Gordon 2022-04-27 12:05:07 -04:00
  • c4141bc11c log: Wrap the call to the logging implementation in a mutex. Ryan C. Gordon 2022-04-27 09:39:24 -04:00
  • 2a42952281 log: Don't stack-allocate the message buffer. Ryan C. Gordon 2022-04-27 08:06:28 -04:00
  • 12f15aaa74 fix build Ozkan Sezer 2022-04-27 10:03:32 +03:00
  • 05bd225a80 x11: If XRandR isn't available, add a generic display. Ryan C. Gordon 2022-04-26 23:14:44 -04:00
  • ccc70e644b x11: Fixed some compiler warnings. Ryan C. Gordon 2022-04-26 23:14:21 -04:00
  • 7d7ec9c951 x11: Remove XVidMode and Xinerama support. Ryan C. Gordon 2022-04-26 16:41:28 -04:00
  • e551384a99 Added functions to get the platform dependent name for a joystick or game controller Sam Lantinga 2022-04-26 14:54:14 -07:00
  • b293888c7d Fixes an issue introduced via #5573 when building for i686 Mirko Galimberti 2022-04-26 19:44:34 +02:00
  • 5066910bf5 audio: Make pregenerated resampler kaiser filter more precise. Ryan C. Gordon 2022-04-10 13:44:01 -04:00
  • 111c3add73 audio: Resampler optimizations. Ryan C. Gordon 2022-04-10 13:23:51 -04:00
  • de019568dc audio: Prebake the resampler's kaiser table instead of doing it at runtime. Ryan C. Gordon 2022-04-09 23:43:57 -04:00
  • f6eb4b0759 pulseaudio: Feed audio data in response to write callbacks. Ryan C. Gordon 2022-04-26 13:14:15 -04:00
  • 01ef98a5d0 Don't force keyboard auto-repeat on, if the user has disabled it for some reason Sam Lantinga 2022-04-26 10:19:03 -07:00
  • 795744fc75 Turn off relative mouse before window checks as well FriendlyAI 2022-01-07 10:11:46 -05:00
  • e2d268a399 SDL_cocoamouse.m: SetRelativeMouseMode even if out of focus Should fix #3087 FriendlyAI 2022-01-06 23:42:44 -05:00
  • d7c07d6b09 Read motion sensor scale from Switch controllers (#5555) Jibb Smart 2022-04-27 00:57:17 +08:00
  • 76afb8583b Introduces Cocoa_GetWindowDisplayIndex. This enable a proper management for dpi when switching between retina and non-retina displays. Mirko Galimberti 2022-04-25 10:35:56 +02:00
  • c39df2fb0c joystick: get HID top-level collection preparsed data directly from RawInput API. Dimitriy Ryazantcev 2021-12-22 18:27:10 +02:00
  • 8c1584e8e8 WhatsNew: Start block for 2.0.24 Eddy Jansson 2022-04-26 17:56:33 +02:00
  • e9ff4fdd49 add SDL_bsearch Ozkan Sezer 2022-04-25 23:55:50 +03:00
  • 0b2a55ea7d Fix typo Mathieu Eyraud 2022-02-02 14:58:33 +01:00
  • 3dcfe86082 Add joystick battery event meyraud705 2022-02-02 13:59:49 +01:00
  • 0964c84d77 Always use SDL_PrivateJoystickBatteryLevel to update battery level meyraud705 2022-02-02 11:21:32 +01:00
  • fa29e2d7f7 Updated to version 2.0.23 for development Sam Lantinga 2022-04-25 13:45:51 -07:00
  • 53dea98309 x11: revert checks for _NET_WM_STATE_FULLSCREEN changes. release-2.0.22 Ryan C. Gordon 2022-04-25 13:51:15 -04:00
  • 981e1e3c44 Fixed logical size synchronization issue on macOS 2.0.22-RC3 Sam Lantinga 2022-04-23 10:32:40 -07:00
  • 7a5743031d hidapi, libusb: import mainstream commit 536bad201e Ozkan Sezer 2022-04-23 20:01:40 +03:00
  • fa073ed01a Revert "Fix relative mouse input for Unvanquished (unvanquished.net)" Sam Lantinga 2022-04-22 22:31:04 -07:00
  • 8986efd643 Added support for the Backbone One controller on iOS Sam Lantinga 2022-04-22 14:21:46 -07:00
  • 2ca0837888 SDL: sometimes the PS5 controller doesn't report having to power even when connected over USB. Possibly related to being completely charged? Either way we already know that it's USB or BT so let's use the driver's knowledge instead. Sam Lantinga 2022-04-22 14:21:41 -07:00
  • 04bf7c9434 Fixed build Sam Lantinga 2022-04-22 09:36:39 -07:00
  • d9b5805ba5 Return a correlation error when trigger rumble is attempted without correlation Sam Lantinga 2022-04-22 09:12:48 -07:00
  • 0288de8529 SDL_Rect: Add \sa documentation block to SDL_FRect Eddy Jansson 2022-04-22 14:24:10 +02:00
  • ba62ead5ec Handle potential out of memory condition when working with hints 2.0.22-RC2 Sam Lantinga 2022-04-18 13:45:41 -07:00
  • 145824f6ab WGI: Only call RoUninitialize() if RoInitialize() succeeded Cameron Gutman 2022-04-21 01:38:53 -05:00
  • 00b2e10a7a WGI: Keep a reference to the MTA to avoid crashing on COM teardown Cameron Gutman 2022-04-20 20:58:29 -05:00
  • 8982d9f403 windows: Fix RoInitialize() failure after a CoInitializeEx() call using apartment threading Cameron Gutman 2022-04-18 21:19:25 -05:00
  • 923cb4463e windows: Fix calling convention for RoInitialize/RoUninitialize Cameron Gutman 2022-04-20 21:02:40 -05:00
  • d4a01bfef0 os2: SDL_DestroyMutex should ignore NULL mutexes. Ryan C. Gordon 2022-04-20 14:07:30 -04:00
  • a40405d724 hidapi: Wrap CopyHIDDeviceInfo in define checks. Eddy Jansson 2022-04-20 18:06:02 +02:00
  • 5bc2933425 test: Basic tests for SDL_FRectEquals Eddy Jansson 2022-04-20 15:53:25 +02:00
  • fc944859d1 SDL_Rect: Use a default epsilon in SDL_FRectEquals() Eddy Jansson 2022-04-20 05:46:45 +02:00
  • 00feca27b0 Add SDL_FLT_EPSILON. Eddy Jansson 2022-04-20 07:51:04 +02:00
  • 5d4a1f8356 WhatsNew.txt: Add SDL_FRectEqualsEpsilon() Eddy Jansson 2022-04-20 05:45:35 +02:00
  • aeadbdd788 Remove an unused function prototype Frank Praznik 2022-04-20 09:00:00 -04:00
  • c8c59a2139 Fix a -Wshadow warning Frank Praznik 2022-04-20 08:58:58 -04:00
  • d9009388c8 SceKernelMemBlockType to unsigned int Jaylon Gowie 2022-04-19 14:55:58 -05:00
  • 3753a7b1c3 Fix recent changes in VitaSDK Jaylon Gowie 2022-04-19 14:42:39 -05:00
  • 02225aa738 Fixed build Sam Lantinga 2022-04-18 22:57:03 -07:00
  • 49a2e4b0ea x11: Revert "Fix keymap updating for X11 backend" Ryan C. Gordon 2022-04-19 00:36:53 -04:00
  • b9fe6ba0e7 Fixed compile warnings Sam Lantinga 2022-04-18 13:08:04 -07:00
  • 57927a2458 Don't call scandir() inside of scandir() Sam Lantinga 2022-04-18 12:57:28 -07:00
  • 1ede941f5c SDL_render.c: internally change viewport/cliprect type from SDL_FRect to SDL_DRect (double precision). (see bug #5547) Sylvain 2022-04-18 21:09:48 +02:00
  • 9919d1a7a5 Remove HWND_TOPMOST for fullscreen windows Sam Lantinga 2022-04-18 11:51:09 -07:00
  • 009a0ff95f use explicit GetModuleFileNameW pionere 2022-04-12 14:33:12 +02:00
  • de711e1685 simplify SDL_GetBasePath on windows - use GetModuleFileName directly (as recommended) pionere 2022-04-12 10:32:43 +02:00
  • 7c140429a8 Enable evdev-based gamecontrollerdb on FreeBSD Jan Beich 2021-08-03 07:18:02 +00:00
  • e7b01ee745 Added controller mapping for the Thrustmaster Dual Analog 3.2 on Linux Sam Lantinga 2022-04-18 09:55:52 -07:00
  • 2b52946143 video: Don't minimize fullscreen windows on focus loss by default when mode switching is disabled Frank Praznik 2022-04-15 11:51:02 -04:00
  • c37090f9a4 wayland: Add support for TOOLTIP/POPUP_MENU Ethan Lee 2022-04-18 12:30:08 -04:00
  • 9e264b921b Certain audio drivers, like the RME "Pro" Audio driver, have resampling quality issues when using WASAPI. Sam Lantinga 2022-04-18 09:20:47 -07:00
  • 254fcc90eb Revert "video: Prefer Wayland over X11" Sam Lantinga 2022-04-18 09:03:14 -07:00
  • c1336b21ed hints: Make SDL_VIDEODRIVER and SDL_AUDIODRIVER formal hints. Ryan C. Gordon 2022-04-17 12:43:32 -04:00
  • 634b9edc7f cmake: Fixed indenting and some oldschool endif(TEXT) things. Ryan C. Gordon 2022-04-15 20:50:55 -04:00
  • dc5bc5237c Added CMake option to disable the installer Semphris 2022-04-15 17:11:29 -04:00
  • 67e0f546c5 x11: Update the display when the WM changes a window's fullscreen state. Ryan C. Gordon 2022-04-15 18:24:57 -04:00
  • edb473cf46 video: Wayland: Always round scaled pointer coordinates down Frank Praznik 2022-04-15 15:03:28 -04:00
  • 13393a1c4b video: Wayland: Clamp fullscreen window dimensions to desktop Frank Praznik 2022-04-15 14:28:07 -04:00
  • 0adb67017b avoid NullPointer in SDL_GetRenderTarget pionere 2022-04-12 09:01:17 +02:00
  • 01b14e14e6 avoid NullPointer in SDL_GL_MakeCurrent pionere 2022-04-12 08:49:19 +02:00
  • 55a4e1d336 CI: update os2.yml to use open-watcom/setup-watcom Ozkan Sezer 2022-04-12 18:34:32 +03:00