Commit graph

  • 766d81ec86 Rewrite SDL_DINPUT_JoystickPresent method to avoid costly IDirectInput8_CreateDevice calls Dimitriy Ryazantcev 2021-06-10 14:01:04 +0300
  • 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 +0300
  • 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 +0300
  • f2f759dca3 Remove not used DirectInput ignored_devices list Dimitriy Ryazantcev 2021-02-26 15:34:34 +0200
  • adc2d362ba Remove outdated and not used WIN_IsXInputDevice code Dimitriy Ryazantcev 2021-02-26 15:33:41 +0200
  • 0e62926ec5 Fixed crash if vendor or product strings are empty Sam Lantinga 2021-06-10 16:28:32 -0700
  • 25fc40b0bd
    stdinc: Silence clang warning for -Wimplicit-fallthrough. Ryan C. Gordon 2021-06-10 13:56:22 -0400
  • e65a658320
    x11: Add a hint to force override-redirect. Ryan C. Gordon 2021-06-09 22:10:20 -0400
  • 642fa0e3cf
    configure: Enable KMSDRM target by default. Ryan C. Gordon 2021-06-09 21:18:11 -0400
  • 56e96254c2
    build-scripts: modernized gcc-fat.sh for Big Sur and ARM64. Ryan C. Gordon 2021-06-09 13:38:05 -0400
  • cb5e86353b Fixed crash after reinitializing libusb HID support Sam Lantinga 2021-06-08 13:15:24 -0700
  • c33e3c15fb testwm2: draw various debug logging into the window itself Eric Wasylishen 2021-06-07 18:24:57 -0600
  • e13b43ac21 Don't skip sending wakeups for the current thread Cameron Gutman 2021-06-05 12:44:08 -0500
  • b992b915e5 Optimize SDL_WaitEventTimeout() for the SDL_PollEvent() case Cameron Gutman 2021-06-05 11:57:30 -0500
  • 85b51e6c92 Fall back to polling normally if not operating the win32 message loop Cameron Gutman 2021-06-05 11:46:47 -0500
  • e13d5df00b Call SDL_SendWakeupEvent() directly from SDL_PeepEvent() Cameron Gutman 2021-06-05 11:41:55 -0500
  • d956636c85 wayland: Implement FlashWindow Ethan Lee 2021-06-04 18:39:47 -0400
  • 64724db0a1 Implement bare minimum for SDL_FlashWindow Jupeyy 2021-06-04 19:55:30 +0200
  • 64c40b9028 Updated copyright date Sam Lantinga 2021-06-04 14:34:21 -0700
  • 37b093eaf2 test/checkkeysthreads: build fixes, and add to os2 makefile. Ozkan Sezer 2021-06-05 00:05:56 +0300
  • 0dd7024d55 Modifies WaitEvent and WaitEventTimeout to actually wait instead of polling Francesco Abbate 2021-03-12 21:58:20 +0100
  • 40e5ce7fe5 This delay is no longer needed on Steam Link hardware Sam Lantinga 2021-06-04 13:23:54 -0700
  • cd67f42d8f
    add Linux mapping for brook fighting board (#4416) Andrew Murray 2021-06-04 12:20:47 -0400
  • 89fd9821de Add controller mapping for Atari vcs controllers Sjoerd Simons 2021-05-26 21:33:25 +0200
  • de4ba6ebc0 Ignore the device version for Atari vcs controllers Sjoerd Simons 2021-05-27 12:41:41 +0200
  • 6de33c0945 Clarify why we're skipping Game Controller framework supported devices in hid.c Sam Lantinga 2021-06-03 09:05:33 -0700
  • 28da6c5ddb Have HIDAPI skip MFI supported HID devices on macOS to avoid duplicate devices. Patrick Hogan 2021-05-27 14:42:03 -0500
  • 2af3f64ecf wayland: Activate the window on first ShowWindow, if possible Ethan Lee 2021-06-02 14:37:09 -0400
  • 151f953815 wayland: Implement RaiseWindow with xdg-activation Ethan Lee 2021-06-02 11:41:44 -0400
  • f498c281e1 fixed build with SDL_JOYSTICK_RAWINPUT enabled after commit b81969d46f Ozkan Sezer 2021-06-02 14:10:50 +0300
  • f5b87273e1
    Fixed bug #4397 - update IOS documentation Sylvain 2021-06-02 08:32:43 +0200
  • 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 -0700
  • 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 -0700
  • 6a2af48ad7 CMake: Generic check for desktop GL and EGL on Linux systems Nicolas Caramelli 2021-05-06 15:43:16 +0200
  • fd121b5ec0 development list has moved to forum Benson Muite 2021-05-13 17:46:55 +0300
  • ded023870d Make CMake script more accurate to autoconf script Cacodemon345 2021-05-16 17:16:54 +0600
  • d32440359a wayland: Add support for maximized/restored events Ethan Lee 2021-05-17 01:24:35 -0400
  • fc508eabe2 kmsdrm: remove redundant modeset_pending flag Anthony Pesch 2021-05-23 15:59:20 -0400
  • 4c965b7a8d kmsdrm: fix SetDisplayMode binding the the wrong surface / context Anthony Pesch 2021-05-23 16:09:27 -0400
  • 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 -0400
  • fd5de93a02 kmsdrm: fix gbm surface dimensions not matching the mode being set Anthony Pesch 2021-05-23 16:05:39 -0400
  • 30359a689f
    Android: document workaround to use JNI on native thread (see bug #4406) Sylvain 2021-06-01 20:11:59 +0200
  • b63cb822bf Added T500RS to known wheel list Timo Gurr 2021-05-30 01:57:56 +0200
  • b81969d46f Be more explicit about Xbox 360/One device ids. Dimitriy Ryazantcev 2021-05-17 14:50:33 +0300
  • 86ee383fdd Removed duplicate SDL_AtomicGet() Per Nyblom 2021-05-25 09:59:45 +0200
  • fed8465085
    loadbmp: Attempt to handle small palettes better. Ryan C. Gordon 2021-05-27 10:40:41 -0400
  • db146e66c6 Fixed warnings building with Visual Studio Sam Lantinga 2021-05-25 10:34:04 -0700
  • 3fcaf5b4b3 Fixed incorrect axis scaling for Nintendo Switch controllers Sam Lantinga 2021-05-25 10:33:30 -0700
  • 75725608f3 SDL_thread.h: move libc header includes before begin_code.h. Ozkan Sezer 2021-05-25 14:56:56 +0300
  • 7a7cba4b73 config.guess, config.sub: fix permissions Ozkan Sezer 2021-05-25 14:56:37 +0300
  • 157c3f8097 [SDL] Minimize number of system calls when handling WM_INPUT raw input messages. Sam Lantinga 2021-05-21 09:45:08 -0700
  • dbbc725f5e Remove WSCONS mouse scaling Cacodemon345 2021-05-19 14:25:48 +0600
  • 2aa14b3806 Add missing key to WSCONS-to-SDL conversion table Cacodemon345 2021-05-19 14:24:58 +0600
  • c63a62ae49 updates to config.guess and config.sub from mainstream. Ozkan Sezer 2021-05-18 23:51:50 +0300
  • 333c8e75f1 The PS5 driver supports Joystick LED Sam Lantinga 2021-05-17 11:54:05 -0700
  • b5b7804ed4 minor update to os2 makefile. (binary output doesn't change.) Ozkan Sezer 2021-05-15 00:50:20 +0300
  • 646ddfb782 minor watcom build fixes. Ozkan Sezer 2021-05-15 00:22:50 +0300
  • be5356af93 winrt: Fix support for multiple simultaneous mouse button presses Ethan Lee 2021-05-14 14:44:13 -0400
  • 62a562dea2
    X11: use x11sym loaded functions (see bug #3978) Sylvain 2021-05-12 23:37:18 +0200
  • 531d83bf6a
    X11: allow using touchscreen, while pointer is grabbed (see bug #3978) Sylvain 2021-05-12 23:13:48 +0200
  • ddc6be3559 KMSDRM on Dragonfly BSD doesn't work without being root Cacodemon345 2021-05-12 20:43:10 +0600
  • 9e1d7baef1 Added T300RS to known wheel list Kimplul 2021-05-12 17:43:39 +0300
  • e1db4b82ec
    egl: Don't crash if we failed halfway through SDL_CreateWindow. Ryan C. Gordon 2021-05-11 14:08:17 -0400
  • f2f451a59d wayland: Call SetWindowBordered at the end of ShowWindow Ethan Lee 2021-05-10 13:29:54 -0400
  • c5dd9964c1 Copied X11 error handler code from SDL_x11opengl.c Fredrick Brennan 2021-04-07 12:14:16 -0400
  • b3b4677e32 (X11) Set _NET_WM_NAME properly, fixes Unicode window titles Fredrick Brennan 2021-04-07 11:17:52 -0400
  • f4ab1c94f9
    gamecontrollerdb: Add entry for the 8BitDo Receiver for Linux. Ryan C. Gordon 2021-05-10 13:08:34 -0400
  • bedc509afc
    gamecontrollerdb: added entry for PowerA XBox One Controller for Linux. Ryan C. Gordon 2021-05-10 13:04:59 -0400
  • efbb6ff9d7 wayland: Create the server decorations after the toplevel has been configured Ethan Lee 2021-05-10 12:42:28 -0400
  • 9dc97afa71 cocoa: Report an error if SDL_SetClipboardText() isn't using UTF-8 encoding. Ryan C. Gordon 2021-05-08 12:39:50 -0400
  • 107db2d899 Enable TV game mode by default on Android Sam Lantinga 2021-05-07 12:43:35 -0700
  • 9231f1f1cf Added support for the PS5 controller on iOS and tvOS Sam Lantinga 2021-05-07 12:29:03 -0700
  • 2ad73db6e2 Merge commit '889cebb7c20d4195e5d4ac344a2175f2490354cc' into main Sam Lantinga 2021-05-07 12:28:57 -0700
  • e589810cc4 Merge commit '31637ddeea1e302c77193341b2006d45dc54de98' into main Sam Lantinga 2021-05-07 12:28:55 -0700
  • 6d4991b87b Merge commit 'f309d0649d37022ad49bc468c77dd87bf82f261b' into main Sam Lantinga 2021-05-07 12:28:53 -0700
  • e8eb0b15fe Merge commit '58884e4c1bb455db90a35df3f7480cfd355eb8c6' into main Sam Lantinga 2021-05-07 12:28:51 -0700
  • 19a9e81c32 Merge commit 'c69fde348fafcb90200a148b711137c464ffa7de' into main Sam Lantinga 2021-05-07 12:28:50 -0700
  • 71e45a0b9d Merge commit '006378b9213e3e04ea2b9c591afe2a44e75e6867' into main Sam Lantinga 2021-05-07 12:28:48 -0700
  • 981532fbd2 Merge commit '424bbaec069f0d94857095dcdfacba6246282936' into main Sam Lantinga 2021-05-07 12:28:47 -0700
  • 95b7b879ee Merge commit '20928550350d4d4c5d78f98b61e7e08d219a5475' into main Sam Lantinga 2021-05-07 12:28:45 -0700
  • 8b8956daa7 Merge commit '3d47ddc422de1a4209525a759b3bc46a4ac69116' into main Sam Lantinga 2021-05-07 12:28:43 -0700
  • 069a68a5c5 Merge commit '7b284dbb34a8c34f5d6f79c58c860c9f7894fd56' into main Sam Lantinga 2021-05-07 12:28:42 -0700
  • 12b7b82169 Merge commit '9161f95166f3d8e42248c1156e35255d4ebdc6a0' into main Sam Lantinga 2021-05-07 12:28:40 -0700
  • 2b203add29 Merge commit 'c54c16d353f206162cdbb125c0847b4645e096a3' into main Sam Lantinga 2021-05-07 12:28:38 -0700
  • 1e208c6418 Merge commit '227021b6470d07f86e209d89f176ec8e6d952a17' into main Sam Lantinga 2021-05-07 12:28:37 -0700
  • f1fa836b2e Merge commit '13472cec6764aec2e06a3c66ec1b139baa680aa3' into main Sam Lantinga 2021-05-07 12:28:35 -0700
  • cf1e850303 Merge commit 'a74f888ff9ed1254e9b9965a27d68e0526e2c0f8' into main Sam Lantinga 2021-05-07 12:28:33 -0700
  • 63015e44c7 Merge commit '8ac0fb52cb13e5856aa7f4a3fd0598d3ec58283f' into main Sam Lantinga 2021-05-07 12:28:32 -0700
  • 0ebf56b5f1 Merge commit '1f3df900f919e7177e480e63c07447db232564a1' into main Sam Lantinga 2021-05-07 12:28:30 -0700
  • 5a95ff8002 Merge commit 'fcbf19b764a9f6fed1db6a1d79a2f2f3fa1338d6' into main Sam Lantinga 2021-05-07 12:28:28 -0700
  • 572dfb4f6e Merge commit 'c93e3b36074ddb2ed986cbacc5e9d4f3a60db343' into main Sam Lantinga 2021-05-07 12:28:27 -0700
  • a734ccec9a Merge commit 'b62642974595976a0c47c5b854eea51b2703fbeb' into main Sam Lantinga 2021-05-07 12:28:25 -0700
  • 4c7f8a7497 Merge commit 'f8695185331460106f34286ebe466cb605f85bb6' into main Sam Lantinga 2021-05-07 12:28:23 -0700
  • 9cf1b39162 Merge commit '21349901ea250483600cbe4771d865cc06f6b538' into main Sam Lantinga 2021-05-07 12:28:22 -0700
  • 889cebb7c2 Wayland touch inputs send normalized coords Henk Kalkwater 2021-05-05 14:08:30 +0200
  • 31637ddeea Generic check for desktop GL and EGL on Linux systems Nicolas Caramelli 2021-05-04 14:59:29 +0200
  • f309d0649d include: Document timing issue with SDL_GetWindowBordersSize Ethan Lee 2021-05-04 11:23:54 -0400
  • 58884e4c1b SDL_audiocvt.c: fixed MSVC double->float conversion warnings. Ozkan Sezer 2021-05-04 00:23:40 +0300
  • c69fde348f wayland: Maximize/Restore should set the relevant window flags. Ethan Lee 2021-05-02 16:43:01 -0400
  • 006378b921 fix NULL frame_callback access Christian Rauch 2021-05-02 18:30:32 +0100