Sam Lantinga
66058bbbd5
Fixed exception accessing Bluetooth devices on Android 12
...
Since accessing Bluetooth prompts the user for permission on both Android and iOS, and we only need it for Steam Controller support, we'll leave it off by default. You can enable it by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init()
Fixes https://github.com/libsdl-org/SDL/issues/4952
2021-11-15 16:52:56 -08:00
Sam Lantinga
1c78b08007
Added support for /dev/input/js* on Linux
...
Added the hint SDL_HINT_LINUX_JOYSTICK_CLASSIC to control whether /dev/input/js* or /dev/input/event* are used as joystick devices
Added the hint SDL_HINT_JOYSTICK_DEVICE to allow the user to specify devices t
hat will be opened in addition to the normal joystick detection
Fixes https://github.com/libsdl-org/SDL/issues/1314
Fixes https://github.com/libsdl-org/SDL/issues/1727
Fixes https://github.com/libsdl-org/SDL/issues/1981
Closes https://github.com/libsdl-org/SDL/pull/4727
2021-11-10 20:02:25 -08:00
Sam Lantinga
dca5ce4ea3
Clarified that AAudio is only used on Android 8.1 and newer
2021-11-10 10:15:47 -08:00
Sam Lantinga
19c129faba
Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true
...
in your application's Info.plist in order to get real Bluetooth mouse events.
2021-11-09 20:32:16 -08:00
Sam Lantinga
6810399352
Enable AAUDIO driver for Android
...
I thought this was already enabled for 2.0.16, but apparently not.
Fixes https://github.com/libsdl-org/SDL/issues/3710
2021-08-10 14:50:43 -07:00
Cameron Gutman
f5bc58bf57
Add note about keyboard grab to WhatsNew.txt for 2.0.16
2021-08-04 09:03:28 -07:00
Sam Lantinga
d784dd20b6
Updated WhatsNew with major changes for 2.0.16
2021-07-31 17:53:07 -07:00
Sam Lantinga
d3d2aee7f4
Fixed the name of the PS5 hint
2020-12-09 10:39:36 -08:00
Sam Lantinga
a2098a47b6
Updated SDL to 2.0.14 in preparation for release candidate
2020-12-08 18:56:06 -08:00
Sam Lantinga
f00ddd0a38
Updated WhatsNew.txt with SDL 2.0.12 release notes
2020-03-02 11:39:44 -08:00
Sylvain Becker
1ae61f1009
Added a helper function SDL_LockTextureToSurface()
...
Similar to SDL_LockTexture(), except the locked area is exposed as a SDL surface.
2019-09-30 20:58:44 +02:00
Sam Lantinga
972bdfb47f
Made it more explicit that 2.0.10 and newer are required for the SDL_RW* functions
2019-07-01 09:05:15 -07:00
Sam Lantinga
60606dfb31
Documented that the SDL_RW* macros no longer exist, and you can't use an older SDL library if you build with SDL 2.0.10.
2019-07-01 09:02:04 -07:00
Sam Lantinga
63506ae195
Added a patch note about batched rendering
2019-06-18 08:35:31 -07:00
Sam Lantinga
e89789bb4b
Added patch notes for 2.0.10
2019-06-18 07:55:30 -07:00
Sylvain Becker
05333a6e9f
Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE
...
to set whether the event loop will block itself when the app is paused.
2019-04-05 09:16:30 +02:00
Sylvain Becker
b470cd9b09
Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour
2019-04-05 08:36:31 +02:00
Sylvain Becker
6f732d4ee8
Update WhatsNew.txt
2019-04-04 20:24:22 +02:00
Sylvain Becker
458c60e6a4
Update WhatsNew.txt
2019-04-04 20:10:55 +02:00
Sam Lantinga
91da4963d3
Added patch note for SDL_GameControllerGetPlayerIndex() and friends
2018-10-26 09:49:27 -07:00
Sam Lantinga
88f9f0307d
Added patch notes for SDL 2.0.9
2018-09-27 23:54:40 -07:00
Sam Lantinga
a8ac588549
Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened
2018-03-07 13:30:40 -08:00
Sam Lantinga
e9fc66a038
Added patch note for Android Studio support
2018-03-01 08:26:10 -08:00
Sam Lantinga
eac3766698
Added a patch note for OpenGL ES support on Mac
2018-03-01 08:08:20 -08:00
Sam Lantinga
99683f7c04
Added patch note about the Vulkan Mac SDK
2018-02-26 08:39:25 -08:00
Sam Lantinga
cbfee82dff
Moved Android patch note into the Android section
2018-02-24 09:09:20 -08:00
Sam Lantinga
8e4afb556a
Added patch note for Ryan's work
2018-02-24 08:42:04 -08:00
Sam Lantinga
5adc1b7d3e
Updated documentation with API changes in SDL 2.0.8
2018-02-24 08:18:09 -08:00
Sam Lantinga
baae74c857
Added SDL_WinRTGetDeviceFamily() to find out what type of device your application is running on (thanks Daniel Knobe!)
2017-12-10 09:10:02 -08:00
Sam Lantinga
2c5724ef5d
Updated version to 2.0.8 since SDL_image depends on it
2017-11-04 21:58:48 -07:00
Sam Lantinga
7a6cf53aea
Added SDL_AudioStreamFlush() to the list of new audio stream functions
2017-10-20 10:45:38 -07:00
Sam Lantinga
80f8464d97
Added audio stream conversion functions:
...
SDL_NewAudioStream
SDL_AudioStreamPut
SDL_AudioStreamGet
SDL_AudioStreamAvailable
SDL_AudioStreamClear
SDL_FreeAudioStream
2017-10-18 15:54:05 -07:00
Sam Lantinga
9c580e14c9
Added functions to query and set the SDL memory allocation functions:
...
SDL_GetMemoryFunctions()
SDL_SetMemoryFunctions()
SDL_GetNumAllocations()
2017-10-12 13:44:28 -07:00
Sam Lantinga
0e495e83dd
Updated WhatsNew.txt for 2.0.7 changes
2017-10-10 20:16:52 -07:00
Sam Lantinga
c08a7a74a5
Added a hint SDL_HINT_AUDIO_CATEGORY to control the audio category,
...
determining whether the phone mute switch affects the audio
2017-09-15 17:27:32 -07:00
Sam Lantinga
3261ca754f
Fixed typos in 2.0.6 patch notes
2017-09-04 23:10:12 -07:00
Sam Lantinga
657ad72ac4
Added some more big 2.0.6 changes
2017-09-04 21:16:28 -07:00
Sam Lantinga
d75fea89d2
Updated WhatsNew.txt for 2.0.6
2017-09-04 20:48:01 -07:00
Sam Lantinga
4c9f31398f
Added note for David Carlier's work on OpenBSD
2016-10-12 18:57:12 -07:00
Sam Lantinga
3b3dd9af5a
Updated WhatsNew with 2.0.5 changes
2016-10-11 23:56:52 -07:00
Alex Szpakowski
4aae0290ea
Updated some header comments and iOS documentation to better clarify high-dpi / retina support and screen-coordinate sizes versus pixel sizes.
2015-12-31 21:16:43 -04:00
David Ludwig
fd9f06a0c2
WinRT: noted Win10/UWP support in WhatsNew.txt (under 2.0.4)
2015-11-30 23:30:01 -05:00
Philipp Wiesemann
2e525193ef
Added SDL_HINT_VIDEO_X11_NET_WM_PING to WhatsNew.txt for 2.0.4.
2015-11-25 21:31:02 +01:00
Ryan C. Gordon
e6ad29aec8
Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
2015-11-14 12:35:45 -05:00
Philipp Wiesemann
ceb43129ac
Added SDL_JoystickCurrentPowerLevel() to WhatsNew.txt for 2.0.4.
2015-10-07 21:18:08 +02:00
Alex Szpakowski
2bf6f1bcb7
Added initial support for MFi game controllers on iOS.
2015-09-20 23:08:36 -03:00
Philipp Wiesemann
cdfec382c6
Added more entries to WhatsNew.txt for 2.0.4.
2015-09-18 21:27:00 +02:00
Philipp Wiesemann
440d6cc00e
Added another entry to WhatsNew.txt for 2.0.4.
2015-09-05 20:20:35 +02:00
Philipp Wiesemann
2d8c49fdbd
Added more entries to WhatsNew.txt for 2.0.4.
2015-08-05 21:03:31 +02:00
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00