|
45de0a1d
|
2021-04-02T06:28:10
|
|
Support comma-separated lists in SDL_AUDIODRIVER
|
|
5ec69285
|
2021-04-02T06:16:09
|
|
Support comma-separated lists in SDL_VIDEODRIVER
|
|
ba8bc143
|
2021-07-26T12:09:33
|
|
Sort joystick entries in /dev/input
This fixes https://github.com/libsdl-org/SDL/issues/4430
|
|
8d527def
|
2021-07-26T10:18:18
|
|
Revert "hidapi_switch: Implement HD rumble effect (#4538)"
This reverts commit 19082b115b8ba3fff93e1c317c380718086a509c, which broke rumble on the Nintendo Switch Pro controller
|
|
19082b11
|
2021-07-26T12:00:53
|
|
hidapi_switch: Implement HD rumble effect (#4538)
|
|
3b7649c5
|
2021-07-26T01:29:10
|
|
regenerated configure
|
|
ee062c64
|
2021-05-19T00:13:39
|
|
wayland: implement toggling decorations
|
|
2b3cf36f
|
2021-05-22T00:49:10
|
|
wayland: forward window events
|
|
48066984
|
2021-04-05T14:09:03
|
|
wayland: enable/disable ACTION_RESIZE for fullscreen
|
|
9e6fcbe7
|
2020-06-11T22:10:28
|
|
wayland: client-side decoration
|
|
f4f9c6bc
|
2021-03-11T00:40:43
|
|
CI: add 'libdecor' dependency from upstream
|
|
e5f9fae0
|
2021-05-16T23:19:45
|
|
wayland: don't flush after setting fullscreen
|
|
ac904b8e
|
2021-06-21T01:25:25
|
|
wayland: ignore resize in fullscreen or maximised mode
|
|
c0601d01
|
2021-07-25T10:15:03
|
|
SDL: Updated patches for HAIKU
|
|
761d3837
|
2021-07-25T10:14:26
|
|
SDL: Updated patches for HAIKU
|
|
8e604a5f
|
2021-07-25T18:44:33
|
|
Fix error handling in X11_SetWindowTitle
X11_XChangeProperty return 1 on success.
|
|
bc3b98f3
|
2021-07-25T03:33:44
|
|
Replace with SDL_SendKeyboardKeyAutoRelease
|
|
5cd37c0a
|
2021-07-25T01:04:51
|
|
Add Enter Key support to PSVita IME keyboard
|
|
10ec4c86
|
2021-07-24T22:11:22
|
|
Added support for the PowerA Nintendo Switch Spectra Controller
|
|
3c9559f7
|
2021-07-24T19:43:56
|
|
Don't try to rumble third-party Nintendo Switch Pro controllers
Sending rumble to the PowerA Spectra Nintendo Switch controller hangs input reports for a couple of seconds.
|
|
cc19b13b
|
2021-07-24T19:21:29
|
|
Fixed missing return statement
|
|
89bdc6ba
|
2021-07-24T13:57:59
|
|
Fix MSVC builds in paths with spaces
|
|
b0daa9f1
|
2021-07-24T13:33:54
|
|
Automatically select the default platform toolset for MSVC builds
|
|
d4ac6b5e
|
2021-07-24T15:58:33
|
|
Detect buffer overflow when getting DirectInput device state
This fixes bug https://github.com/libsdl-org/SDL/issues/4528
|
|
3b85e3fd
|
2021-07-24T15:47:11
|
|
Fixed internal Windows key state when using Windows+Space or Windows+G shortcuts
This fixes bugs:
https://github.com/libsdl-org/SDL/issues/4369
https://github.com/libsdl-org/SDL/issues/4500
|
|
03c19efb
|
2021-07-24T15:25:50
|
|
Added support for multiple seats with touch input on Wayland
This fixes bug https://github.com/libsdl-org/SDL/issues/4517
|
|
ff1b5e1b
|
2021-07-24T15:10:57
|
|
Implemented the window flash operations for X11
|
|
5ae0dd4b
|
2021-07-24T17:44:35
|
|
joystick: Split out Linux opening code for reuse by querying code.
This prevents an assertion whem LINUX_JoystickGetGamepadMapping tried to
open the stick temporarily and messed with global state by doing so. Now
the global state is only set in LINUX_JoystickOpen, but the common code
is shared by both interfaces.
Fixes #4198.
|
|
6c92bf54
|
2021-07-24T15:34:53
|
|
Add more filters to the MSVC project
|
|
f1633127
|
2021-07-24T13:41:55
|
|
Added a window flash operation to be explicit about window flash behavior
|
|
20eea021
|
2021-06-12T01:25:40
|
|
Windows: set HAVE_IMMINTRIN_H for AVX intrinsics
|
|
638befc1
|
2021-06-10T17:22:39
|
|
audiocvt: 5.1 to Stereo conversion utilizing SSE
|
|
db56526f
|
2021-06-10T13:07:27
|
|
audiocvt: Replace divisions
Division is expensive and the compiler can not replace it themselves.
Though we now we will be ok in terms of floating point edge behaviour.
|
|
b2c8d3e9
|
2021-06-11T22:14:54
|
|
audiocvt: 5.1 to Stereo conversion utilizing AVX
|
|
e1c3a250
|
2021-07-24T12:11:27
|
|
Changed SDL_FlashWindow() so it doesn't take a flash count, and added the hint SDL_HINT_WINDOW_FLASH_COUNT to control behavior on Windows
|
|
09d1cea7
|
2021-07-24T11:15:09
|
|
Use the new controller type for the Luna and Stadia controllers
|
|
2147e7bf
|
2021-07-24T11:01:58
|
|
Sorted the hints alphabetically
|
|
808c3ae6
|
2021-07-24T10:36:56
|
|
Allow mapping Android controllers that just have a D-PAD and face buttons
This fixes bug https://github.com/libsdl-org/SDL/issues/4327
|
|
856c87fc
|
2021-07-24T17:32:05
|
|
Sync wiki -> header
|
|
d89f4b3a
|
2021-07-24T10:29:34
|
|
Note that mouse warping doesn't work over Microsoft Remote Desktop
Fixes the documentation portion of bug https://github.com/libsdl-org/SDL/issues/4206
|
|
94b7a876
|
2021-07-24T09:10:18
|
|
Added SDL_GameControllerType enumerations for the Amazon Luna and Google Stadia controllers
Fixes bug https://github.com/libsdl-org/SDL/issues/4019
|
|
6956f4aa
|
2021-07-24T11:06:40
|
|
cmake: use CMAKE_INSTALL_LIBDIR instead of hardcoding "lib", etc.
These came from HaikuPorts, specifically this patchset:
https://github.com/haikuports/haikuports/blob/462947dd4f285a885d8011cade7cd0f7151cfe74/media-libs/libsdl2/patches/libsdl2-2.0.14.patchset
This is just the part that is _not_ Haiku-specific. I wanted this in a
separate commit though, since I'm not really a CMake expert; if this causes
problems and we need to bisect to it, we won't be confused about it being a
Haiku issue when we get here.
Fixes #4092.
(and probably others.)
|
|
403afdb5
|
2021-07-24T11:02:27
|
|
cmake: Haiku fixes.
These came from HaikuPorts, specifically this patchset:
https://github.com/haikuports/haikuports/blob/462947dd4f285a885d8011cade7cd0f7151cfe74/media-libs/libsdl2/patches/libsdl2-2.0.14.patchset
This is just the Haiku-specific bits; the more general parts about install
dirs will be split into a different commit here.
Reference issue #4092.
|
|
7d8f34cb
|
2021-07-24T01:19:58
|
|
Updated .gitignore from @Zangetsu38 - thanks!
|
|
e6e8fe6d
|
2021-07-23T10:45:03
|
|
hidapi_switch: Implement analog rumble
|
|
669714ca
|
2021-07-23T23:51:35
|
|
Added the ThrustMaster T.16000M as a flightstick
|
|
384d86b5
|
2021-07-23T23:48:23
|
|
Fixed compile warnings with Visual Studio
|
|
adb75d64
|
2021-07-23T23:45:18
|
|
Fixed hotplug detection not working on UWP or when SDL isn't pumping Windows events
This fixes bugs:
https://github.com/libsdl-org/SDL/issues/4321
https://github.com/libsdl-org/SDL/issues/4147
Thanks to DJm00n for the suggestion!
|
|
7b0092db
|
2021-07-23T18:58:25
|
|
vita: touch: Mark the back panel as an indirect absolute touch device
It's not a touchscreen, but an additional touch panel on the back of
the device.
|
|
422b053b
|
2021-07-23T16:32:35
|
|
Added support for the full line of current PowerA Xbox Series X controllers
|
|
7edffc57
|
2021-07-23T18:29:04
|
|
Sync wiki -> header
|
|
9632fb33
|
2021-07-23T12:48:28
|
|
README-dynapi.md: Cleaned up markdown formatting.
|
|
c06448fe
|
2021-07-23T16:39:05
|
|
Sync wiki -> header
|
|
48993a7f
|
2021-07-23T16:14:49
|
|
Sync wiki -> header
|
|
15ed6653
|
2021-07-22T20:50:02
|
|
Fixes to kmsdrm dynamic loading support.
Fixes: https://github.com/libsdl-org/SDL/issues/4520
|
|
48bbe31b
|
2021-07-20T21:45:21
|
|
Add PreSwapCallback for updating SceCommonDialog
|
|
9c1306bc
|
2021-07-20T21:44:16
|
|
Add elgext.h header
|
|
4ada14a2
|
2021-07-21T13:39:10
|
|
Replace libc functions to SDL equivalent in wayland video subsystem
Wayland video subsystem uses a mix of libc and SDL function.
This patch switches libc functions to SDL ones and fixes a mismatch in memory
allocation/dealoccation of SDL_Cursor in SDL_waylandmouse.c (calloc on line 201
and SDL_free on line 313) which caused memory corruption if custom memory
allocator where provided to SDL.
|
|
f806064e
|
2021-07-19T13:12:10
|
|
Remove 'support' for rgb/bgr textures, that was causing issues with them
|
|
d6641d71
|
2021-07-19T11:52:57
|
|
kmsdrm: Explicitly set the surface transform and alpha mode
This is required by the specification. Set these to sensible defaults.
Fixes a validation layer error that occurs otherwise.
|
|
76007427
|
2021-07-19T11:26:54
|
|
kmsdrm: Properly zero-initialize CreateInfo structs
As written, these contain undefined stack contents, which in practice
causes crashes/hangs and/or triggers the validation layers (they
complain about `pNext` and `flags` not being NULL).
|
|
9170c0c7
|
2021-07-15T18:35:20
|
|
CI: Add Windows ARM64 builds
|
|
37d4f003
|
2021-07-14T17:09:05
|
|
doxygen: Removed some cruft that accumulated during wiki migration.
|
|
c07e5e99
|
2021-07-14T17:07:41
|
|
wikiheaders.pl: Add --copy-to-header option.
...because I keep mistyping it without the 's' on the end. :/
|
|
c88eb7a8
|
2021-07-14T17:07:04
|
|
Sync wiki -> header.
|
|
f8c1fc49
|
2021-07-14T14:15:30
|
|
doxygen: Fix all the "\returns" so they work as part of complete sentences.
|
|
8ec9fbdd
|
2021-07-14T11:58:57
|
|
wikiheaders.pl: pull in full sections from headers, fix more whitespace.
|
|
17b4a67a
|
2021-07-14T11:45:06
|
|
doxygen: We use "\returns" as part of the sentence.
|
|
bab0eb71
|
2021-07-14T10:03:31
|
|
wikiheaders.pl: Fix some wordwrap whitespace issues.
|
|
04196a46
|
2021-07-14T09:59:52
|
|
doxygen: wrap some game controller code examples in "```c" blocks.
|
|
7390bc0e
|
2021-07-14T09:36:07
|
|
wikiheaders.pl: Fix \sa tags that (incorrectly!) have "()" appended.
|
|
d115857c
|
2021-07-14T08:11:18
|
|
wikiheaders.pl: A bunch of work on correct wordwrap and (de)wikify.
|
|
0ac13dc2
|
2021-07-14T08:01:55
|
|
doxygen: Tweak SDL_FlashWindow brief description.
So "e.g." doesn't look like the end of the sentence to wikiheaders.pl.
|
|
1f17bc54
|
2021-07-13T12:25:23
|
|
wikiheaders: look for "c++" before "c" in regular expression.
|
|
269d0773
|
2021-07-13T11:11:55
|
|
wikiheaders: Ignore doxygen comments that aren't "/**" on a line by itself.
Makes this ignore /** single line comments */
|
|
8130950e
|
2021-07-13T11:11:33
|
|
wikiheaders: trim whitespace at edges after wordwrapping.
|
|
0f107945
|
2021-07-13T23:07:54
|
|
Remove outdated comment about SDL_SoftStretch
|
|
817976da
|
2021-07-13T13:45:28
|
|
VITA: Rewrite and fix RenderCopyEx rotation
|
|
dc6f0443
|
2021-07-12T17:57:21
|
|
Added mapping for the Xbox Series X controller on tvOS
|
|
947ad6e1
|
2021-07-12T17:57:21
|
|
Added support for the Xbox Series X controller on iOS and tvOS
|
|
297ce148
|
2021-07-11T17:38:33
|
|
CI: Add Android builds to GitHub Actions
|
|
7fe6dbaf
|
2021-07-11T15:25:24
|
|
Reset rawInputEnableCount when RawInput is not supported
|
|
32e736d2
|
2021-07-10T11:39:51
|
|
CI: add github actions for windows x86
|
|
5ac81c75
|
2021-07-10T10:05:40
|
|
fixed typo in previous commit
|
|
a809d626
|
2021-07-10T10:01:40
|
|
cmake: set SDL_JOYSTICK_RAWINPUT for windows builds
Fixes: https://github.com/libsdl-org/SDL/issues/4412
|
|
24059a19
|
2021-07-09T18:11:42
|
|
The RAWINPUT driver is no longer tied to HIDAPI in any way
|
|
e52733af
|
2021-07-09T13:39:05
|
|
Use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
This allows for building with cmake's add_subdirectory() function.
|
|
f93e9047
|
2021-07-08T18:44:50
|
|
Implemented the timeout in hid_read_timeout() on Android
This fixes detecting PS5 controllers connected over USB
|
|
e2234ee9
|
2021-05-16T06:33:29
|
|
CMake: Fix SOVERSION/SONAME of non-release versions
When building SDL2 from git with CMake, you got libSDL2-2.0.so.1
instead of .0 (as it's the case when building with autotools).
This was caused by using LT_REVISION instead of LT_MAJOR for SOVERSION.
fixes #4310
|
|
c20207d7
|
2021-05-04T10:00:16
|
|
SDL2Config.cmake: Clean it up a bit, remove gcc-style SDL2_LIBRARIES
The GCC-style SDL2_LIBRARIES were lacking the rpath on Linux, which
seems to be implicitly set when linking path/to/libSDL2-2.0.so.0.*
and is explicitly set in the SDL2_LIBRARIES in sdl2-config.cmake
(from some autotools variable), so I removed that hack and the format
remains sth like "path/to/libSDL2main.a;path/to/libSDL2-2.0.so.0.14.1".
It's still in the revision history in case it turns out that some
platform really needs the "-L/path/to/bla/lib -lSDL2main -lSDL2" format
|
|
501fe465
|
2021-04-21T06:34:46
|
|
sdl2-config.cmake.in: Make SDL2::SDL2 work with MinGW, fixes #3665
It didn't work at all because shared libs defined in CMake with
add_library() need something like IMPORTED_IMPLIB (pointing to a .dll.a
or .lib for th DLLs) set to link on Windows.
But even with that it didn't work because the order of the libs is very
important: it must be -lmingw32 -lSDL2main -lSDL -mwindows - but
with normal add_library(SDL2::SDL2 SHARED IMPORTED) libs, SDL2 itself
is always linked first.
So I use an "INTERFACE" library (usually used for header-only libs), which
doesn't implicitly/automatically link anything so I can specify the whole
order of the linked libs.
(SDL2::SDL2-static is completely untested)
|
|
fac6e9f1
|
2021-04-21T06:27:41
|
|
sdl2-config.cmake.in: Use more CMake variables and less autotools ones
this makes it easier to create a portable sdl2-config.cmake that doesn't
hardcode its path (by replacing the hardcoded prefix with something
like "${CMAKE_CURRENT_LIST_DIR}/../../..")
|
|
c3426961
|
2021-04-18T17:15:34
|
|
Enhanced SDL2Config.cmake to also work on non-Windows
tested Linux; I assume most other Unices are similar; I don't have a Mac
|
|
3ea11f9a
|
2021-04-18T06:23:20
|
|
Make SDL2Config.cmake export SDL2_LIBRARIES etc (on Windows)
still WIP and other platforms than windows still TODO and open
questions etc
see https://github.com/libsdl-org/SDL/issues/4004
|
|
f9bf1aeb
|
2021-07-09T00:51:16
|
|
Latest Unifont with OFL is now bundled. (#4268)
* * Latest Unifont with OFL is now bundled.
* * Added a Unifont license file.
Co-authored-by: Vladislav Dmitrievich Turbanov <vladislav@turbanov.ru>
|
|
557d0f82
|
2021-03-11T13:36:56
|
|
Commenting a false alarm in WIN_GLES_SetupWindow.
When hint SDL_HINT_OPENGL_ES_DRIVER is set to "1" (e.g. for ANGLE support), assertion due to !_this->gl_config.driver_loaded can be causes while EGL is available.
|
|
d135c076
|
2021-07-08T13:22:41
|
|
Added SDL_GameControllerSendEffect() and SDL_JoystickSendEffect() to allow applications to send custom effects to the PS4 and PS5 controllers
See testgamecontroller.c for an example of a custom PS5 trigger effect
|
|
073cbc40
|
2021-07-08T21:20:02
|
|
SDL_platform.h: define TARGET_OS_SIMULATOR as 0 if not already defined.
c.f.: https://github.com/libsdl-org/SDL/issues/4475
|
|
be41cf2d
|
2021-07-08T21:20:02
|
|
CMake: don't blacklist TARGET_OS_SIMULATOR for Metal configuration
https://github.com/libsdl-org/SDL/commit/7fa5e95b6284f2cc7855022c9f0c2b086dcee43f enabled it.
|
|
97d4fe94
|
2021-07-08T20:55:10
|
|
removed extra whitespace.
|