Commit Graph

  • 2143534a1c configure.ac: manually check immintrin.h with AC_COMPILE_IFELSE(). Ozkan Sezer 2021-06-28 02:00:24 +03:00
  • ca383599b5 Fix Anne Pro II keyboard showing up as a joystick Joshua Ashton 2021-06-27 01:49:31 +01:00
  • c90bd3bf79 Add missing PS5 DualSense GUIDs Joshua Ashton 2021-06-27 03:13:47 +01:00
  • bfdea60572 avoid -Wundef warning from SDL_config_windows.h Ozkan Sezer 2021-06-26 05:56:10 +03:00
  • 205b951b46 SDL_DINPUT_JoystickPresent() needs to do the full device enumeration Sam Lantinga 2021-06-25 14:20:08 -07:00
  • ae6d9e343b Correcting the name of the Amazon Luna Controller Sam Lantinga 2021-06-25 11:09:46 -07:00
  • 5042ab6f24 Added Linux and macOS mappings for the DirectInput mode of the Amazon Luna Controller Sam Lantinga 2021-06-24 18:09:06 -07:00
  • 5b051459ed Fixed warnings on Windows Sam Lantinga 2021-06-24 18:09:04 -07:00
  • 99700a5c52 SDL: add Windows mappings for Luna controllers for USB DirectInput mode and BT. Note: the triggers do not seem to work in BT mode. Sam Lantinga 2021-06-24 18:09:01 -07:00
  • 33b84c8d15 s/memcmp/SDL_memcmp/ for conistency Ozkan Sezer 2021-06-24 23:10:56 +03:00
  • 56b77b12bc cocoa: Implement FlashWindow Ethan Lee 2021-06-04 19:51:58 -04:00
  • c2e8a791bb SDL_windowsevents: add support for multiple mice scribam 2021-06-12 16:20:47 +02:00
  • 7948c16df2 Pump events each time through the loop in SDL_WaitEventTimeout_Device() Cameron Gutman 2021-06-12 17:56:52 -05:00
  • 105de64c2d Only queue one wakeup event per wait Cameron Gutman 2021-06-12 16:19:03 -05:00
  • c262569cd8 kmsdrm: fix KMSDRM_SetDisplayMode being called for the default desktop mode doing nothing Anthony Pesch 2021-06-22 00:03:18 -04:00
  • 98bda39186 kmsdrm: sync the display's current mode with what's set in KMSDRM_CreateSurfaces Anthony Pesch 2021-06-23 00:21:31 -04:00
  • d031a24e00 kmsdrm: defer surface recreation inside of KMSDRM_SetWindowSize and KMSDRM_SetWindowFullscreen as is done in KMSDRM_SetWindowDisplayMode Anthony Pesch 2021-06-08 00:39:04 -04:00
  • 5a296e2589 kmsdrm: avoid overriding the mode requested by SDL_SetWindowDisplayMode when recreating surfaces Anthony Pesch 2021-06-08 20:48:24 -04:00
  • 814285d6e3 Workaround for crash on Apple Mac M1 hardware Sam Lantinga 2021-06-23 09:19:02 -07:00
  • bc141e4458 Remove -static-libgcc from sdl2-config output Cameron Cawley 2021-06-23 15:09:07 +01:00
  • a6715a20d8 revert the previous -Wc,-static-libgcc patch: Ozkan Sezer 2021-06-23 14:56:02 +03:00
  • bc51de2f87 regenerated configure script. Ozkan Sezer 2021-06-22 18:11:24 +03:00
  • 23575a42e0 Ensure that libgcc is linked statically on Windows Cameron Cawley 2021-06-22 15:18:25 +01:00
  • 41fab8532d ControllerList: set the default deadzone for Ps5 controller back to same one as Xbox controllers. Too many users complained about drift. Sam Lantinga 2021-06-18 18:10:24 -07:00
  • a8b28939a6 ControllerList: add more Xbox controllers from minidumps Sam Lantinga 2021-06-18 18:10:23 -07:00
  • 08eff56a5b ControllerList: add Brooks Mars controller to PS4 controller list Sam Lantinga 2021-06-18 18:10:22 -07:00
  • afd100f02b Added support for the PowerA Fusion Pro 2 and the PDP Xbox Series X Afterglow and Blue controllers Sam Lantinga 2021-06-18 17:37:46 -07:00
  • 839387ed0a video/dummy: Don't zero out the fake display mode before adding it. Ryan C. Gordon 2021-06-17 22:09:13 -04:00
  • 268fbcd460 Fixed compiler warning on Visual Studio Sam Lantinga 2021-06-17 11:23:47 -07:00
  • d8dba5bcf3 Added support for the Logitech G923 racing wheel Sam Lantinga 2021-06-17 11:22:08 -07:00
  • 7f261d3b76 wayland: Fix returning to a window from fullscreen without calling SetWindowSize Ethan Lee 2021-06-15 00:35:13 -04:00
  • 8da0dd17a1 Oops. Renderer already queues viewport change Ivan Epifanov 2021-06-15 18:54:52 +03:00
  • 1fc519880d Reset/re-apply viewport on frame start/target change. Fixes SDL_RenderSetLogicalSize on PSVita Ivan Epifanov 2021-06-15 18:49:55 +03:00
  • 0cad302346 Removed reference to ant project. Gianfranco Berardi 2021-06-14 13:56:12 -05:00
  • 2465444fba Add missing dependencies Ivan Epifanov 2021-06-14 21:27:09 +03:00
  • bc7ac134db Windows: Fix SDL_GetBasePath() truncating paths Phillip Trudeau 2021-06-11 09:22:41 +00:00
  • db5cd8c694 joystick: virtual: Fix event injection for axes/hats Paul Cercueil 2021-06-12 14:57:34 +01:00
  • f3cf019ecb joystick: Add missing comma in joystick drivers list Paul Cercueil 2021-06-12 13:25:34 +01:00
  • 98f2e38b26 Use <sys/endian.h> for endian detection on NetBSD nia 2021-06-12 09:42:54 +02:00
  • bc9888c9b5 OS2_GetDisplayModes: malloc a new copy of mode's driver data. Ozkan Sezer 2021-06-12 14:55:24 +03:00
  • d28437de3c SDL_keyboard.c: Add bounds guards when assigning to the scancode array. Ozkan Sezer 2021-06-12 08:00:50 +03:00
  • eb15b4e962 wayland: Drop SwapWindow calls for hidden windows Ethan Lee 2021-06-11 23:40:09 -04:00
  • 37d35a3e34 kmsdrm: hook up KMSDRM_GLES_DefaultProfileConfig for use. Ryan C. Gordon 2021-06-11 21:02:49 -04:00
  • 3c02814194 Update docs and fix typos Ivan Epifanov 2021-06-10 13:26:38 +03:00
  • bbdd08e0b2 Build without PIB support by default and add flag to enable it Ivan Epifanov 2021-06-10 13:20:39 +03:00
  • a4442476df Cleanup dead and duplicate code Ivan Epifanov 2021-06-10 12:14:14 +03:00
  • c2b8b55634 Older api, not needed Ivan Epifanov 2021-06-10 12:06:28 +03:00
  • dd2a285825 Remove leftovers Ivan Epifanov 2021-06-10 12:00:56 +03:00
  • 2f248a2a31 SDL_cocoaevents.m: fix build against SDK < 10.12 after commit 0dd7024d. Ozkan Sezer 2021-06-11 04:00:32 +03:00
  • f5122377c9 Move SDL_IsXInputDevice check above actual joystick allocation Dimitriy Ryazantcev 2021-06-10 14:06:32 +03:00
  • 766d81ec86 Rewrite SDL_DINPUT_JoystickPresent method to avoid costly IDirectInput8_CreateDevice calls Dimitriy Ryazantcev 2021-06-10 14:01:04 +03:00
  • a6da2fbf73 Rename haptic methods to avoid confusion with joystick: SDL_DINPUT_MaybeAddDevice->SDL_DINPUT_HapticMaybeAddDevice SDL_DINPUT_MaybeRemoveDevice->SDL_DINPUT_HapticMaybeRemoveDevice SDL_XINPUT_MaybeAddDevice->SDL_XINPUT_HapticMaybeAddDevice SDL_XINPUT_MaybeRemoveDevice->SDL_XINPUT_HapticMaybeRemoveDevice Dimitriy Ryazantcev 2021-05-25 12:33:23 +03:00
  • 73dc68a7ae Simplify and cleanup DirectInput joystick backend code: - Do not call IDirectInputDevice8_QueryInterface(device, &IID_IDirectInputDevice8,...) on DIRECTINPUTDEVICE8 device - Get joystick VendorID and ProductID via IDirectInputDevice8_GetProperty(.., DIPROP_VIDPID, ..) call instead of messing with DIDEVICEINSTANCE.guidProduct - Normalize HID device interface path to upper case for stable operation of XInput check - Remove useless RawInput calls in SDL_IsXInputDevice() - just check for "IG_" string in HID device interface path that we already have Dimitriy Ryazantcev 2021-05-19 17:52:08 +03:00
  • f2f759dca3 Remove not used DirectInput ignored_devices list Dimitriy Ryazantcev 2021-02-26 15:34:34 +02:00
  • adc2d362ba Remove outdated and not used WIN_IsXInputDevice code Dimitriy Ryazantcev 2021-02-26 15:33:41 +02:00
  • 0e62926ec5 Fixed crash if vendor or product strings are empty Sam Lantinga 2021-06-10 16:28:32 -07:00
  • 25fc40b0bd stdinc: Silence clang warning for -Wimplicit-fallthrough. Ryan C. Gordon 2021-06-10 13:56:22 -04:00
  • e65a658320 x11: Add a hint to force override-redirect. Ryan C. Gordon 2021-06-09 22:10:20 -04:00
  • 642fa0e3cf configure: Enable KMSDRM target by default. Ryan C. Gordon 2021-06-09 21:18:11 -04:00
  • 56e96254c2 build-scripts: modernized gcc-fat.sh for Big Sur and ARM64. Ryan C. Gordon 2021-06-09 13:38:05 -04:00
  • cb5e86353b Fixed crash after reinitializing libusb HID support Sam Lantinga 2021-06-08 13:15:24 -07:00
  • c33e3c15fb testwm2: draw various debug logging into the window itself Eric Wasylishen 2021-06-07 18:24:57 -06:00
  • e13b43ac21 Don't skip sending wakeups for the current thread Cameron Gutman 2021-06-05 12:44:08 -05:00
  • b992b915e5 Optimize SDL_WaitEventTimeout() for the SDL_PollEvent() case Cameron Gutman 2021-06-05 11:57:30 -05:00
  • 85b51e6c92 Fall back to polling normally if not operating the win32 message loop Cameron Gutman 2021-06-05 11:46:47 -05:00
  • e13d5df00b Call SDL_SendWakeupEvent() directly from SDL_PeepEvent() Cameron Gutman 2021-06-05 11:41:55 -05:00
  • d956636c85 wayland: Implement FlashWindow Ethan Lee 2021-06-04 18:39:47 -04:00
  • 64724db0a1 Implement bare minimum for SDL_FlashWindow Jupeyy 2021-06-04 19:55:30 +02:00
  • 64c40b9028 Updated copyright date Sam Lantinga 2021-06-04 14:34:21 -07:00
  • 37b093eaf2 test/checkkeysthreads: build fixes, and add to os2 makefile. Ozkan Sezer 2021-06-05 00:05:56 +03:00
  • 0dd7024d55 Modifies WaitEvent and WaitEventTimeout to actually wait instead of polling Francesco Abbate 2021-03-12 21:58:20 +01:00
  • 40e5ce7fe5 This delay is no longer needed on Steam Link hardware Sam Lantinga 2021-06-04 13:23:54 -07:00
  • cd67f42d8f add Linux mapping for brook fighting board (#4416) Andrew Murray 2021-06-04 12:20:47 -04:00
  • 89fd9821de Add controller mapping for Atari vcs controllers Sjoerd Simons 2021-05-26 21:33:25 +02:00
  • de4ba6ebc0 Ignore the device version for Atari vcs controllers Sjoerd Simons 2021-05-27 12:41:41 +02:00
  • 6de33c0945 Clarify why we're skipping Game Controller framework supported devices in hid.c Sam Lantinga 2021-06-03 09:05:33 -07:00
  • 28da6c5ddb Have HIDAPI skip MFI supported HID devices on macOS to avoid duplicate devices. Patrick Hogan 2021-05-27 14:42:03 -05:00
  • 2af3f64ecf wayland: Activate the window on first ShowWindow, if possible Ethan Lee 2021-06-02 14:37:09 -04:00
  • 151f953815 wayland: Implement RaiseWindow with xdg-activation Ethan Lee 2021-06-02 11:41:44 -04:00
  • f498c281e1 fixed build with SDL_JOYSTICK_RAWINPUT enabled after commit b81969d46f Ozkan Sezer 2021-06-02 14:10:50 +03:00
  • f5b87273e1 Fixed bug #4397 - update IOS documentation Sylvain 2021-06-02 08:32:43 +02:00
  • 4522cb1df9 Changing variable from float to int, this way we can check it's value without having to do an unnecessary conversion. Then do explicit conversions later on if we need. Kyle Schaefer 2021-05-25 03:17:03 -07:00
  • c289bad900 In x11, GetDisplayDPI can give incorrect or unusable DPI information. Using XGetDefaults to get the Xft DPI if it's available and returning that. This could allow you to figure out DPI scale. Kyle Schaefer 2021-03-22 11:22:31 -07:00
  • 6a2af48ad7 CMake: Generic check for desktop GL and EGL on Linux systems Nicolas Caramelli 2021-05-06 15:43:16 +02:00
  • fd121b5ec0 development list has moved to forum Benson Muite 2021-05-13 17:46:55 +03:00
  • ded023870d Make CMake script more accurate to autoconf script Cacodemon345 2021-05-16 17:16:54 +06:00
  • d32440359a wayland: Add support for maximized/restored events Ethan Lee 2021-05-17 01:24:35 -04:00
  • fc508eabe2 kmsdrm: remove redundant modeset_pending flag Anthony Pesch 2021-05-23 15:59:20 -04:00
  • 4c965b7a8d kmsdrm: fix SetDisplayMode binding the the wrong surface / context Anthony Pesch 2021-05-23 16:09:27 -04:00
  • 0219928dd5 kmsdrm: honor mode previously set by SDL_SetWindowDisplayMode when enabling fullscreen and remove duplicate SDL_WINDOWEVENT_RESIZED event Anthony Pesch 2021-05-23 16:06:40 -04:00
  • fd5de93a02 kmsdrm: fix gbm surface dimensions not matching the mode being set Anthony Pesch 2021-05-23 16:05:39 -04:00
  • 30359a689f Android: document workaround to use JNI on native thread (see bug #4406) Sylvain 2021-06-01 20:11:59 +02:00
  • b63cb822bf Added T500RS to known wheel list Timo Gurr 2021-05-30 01:57:56 +02:00
  • b81969d46f Be more explicit about Xbox 360/One device ids. Dimitriy Ryazantcev 2021-05-17 14:50:33 +03:00
  • 86ee383fdd Removed duplicate SDL_AtomicGet() Per Nyblom 2021-05-25 09:59:45 +02:00
  • fed8465085 loadbmp: Attempt to handle small palettes better. Ryan C. Gordon 2021-05-27 10:40:41 -04:00
  • db146e66c6 Fixed warnings building with Visual Studio Sam Lantinga 2021-05-25 10:34:04 -07:00
  • 3fcaf5b4b3 Fixed incorrect axis scaling for Nintendo Switch controllers Sam Lantinga 2021-05-25 10:33:30 -07:00
  • 75725608f3 SDL_thread.h: move libc header includes before begin_code.h. Ozkan Sezer 2021-05-25 14:56:56 +03:00
  • 7a7cba4b73 config.guess, config.sub: fix permissions Ozkan Sezer 2021-05-25 14:56:37 +03:00