Sam Lantinga
9505b76b0d
Moved SDL_IsTablet() to a cross-platform API function
2018-08-21 20:03:54 -07:00
Sam Lantinga
ce26218414
Add SDL_IsTablet() to Android and iOS SDL.
2018-08-21 11:23:47 -07:00
Sam Lantinga
b5aa40ef52
Allow trapping the back button so right mouse click can work on some Android systems (thanks Rachel!)
...
Also, added a function SDL_AndroidBackButton() so applications can respond to the back button directly
2018-07-12 13:28:13 -07:00
Sam Lantinga
1b23f13ffe
Added support for external mouse in Samsung DeX mode
...
relative mode doesn't work, but absolute coordinates are functional
2018-06-18 13:14:02 -07:00
Sam Lantinga
af2e341ea6
Added SDL_IsChromebook() to determine if we're running on a Chromebook.
2018-06-05 12:46:13 -07:00
Sam Lantinga
f25a7fa870
Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid)
...
This function tries using RealtimeKit connecting over DBUS as needed.
2018-04-23 19:18:52 -07:00
Sam Lantinga
2c08c2b899
Added SDL_IsAndroidTV()
2018-02-06 15:03:35 -08:00
Sam Lantinga
a9072159b2
Updated copyright for 2018
2018-01-03 10:03:25 -08:00
Sam Lantinga
a845d73a24
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
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
f0ca0a5183
Fixed missing prototypes on Android, patch from Sylvain
2016-12-02 02:25:12 -08:00
Sam Lantinga
9cc7ce9008
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
ab8a05e9ce
Added a userdata parameter to SDL_SetWindowsMessageHook()
2015-05-13 22:39:32 -07:00
Sam Lantinga
af8c286153
Added SDL_SetWindowsMessageHook() to facilitate full IME support on Windows
2015-05-13 22:39:20 -07:00
Alex Szpakowski
03a3b1872d
Added framebuffer and colorbuffer members to the uikit portion of the SDL_SysWMinfo struct, removed SDL_iOSGetViewRenderbuffer and SDL_iOSGetViewFramebuffer.
...
--HG--
branch : iOS-improvements
2015-04-09 19:28:00 -03:00
Alex Szpakowski
7270f337cc
Renamed SDL_iPhoneGetViewFramebuffer/Renderbuffer to SDL_iOSGetViewFramebuffer/Renderbuffer. Added #defines for SDL_iOSSetAnimationCallback and SDL_iOSSetEventPump, which point to SDL_iPhoneSetAnimationCallback and SDL_iPhoneSetEventPump.
...
--HG--
branch : iOS-improvements
2015-04-08 15:59:29 -03:00
Alex Szpakowski
d621a93a72
Merged default into iOS-improvements
...
--HG--
branch : iOS-improvements
2015-01-15 01:15:24 -04:00
Philipp Wiesemann
e617b0ea69
Added and fixed doxygen markup in header file.
2015-01-12 23:20:52 +01:00
Alex Szpakowski
82844178e0
Added iOS-specific functions to get the window view's current OpenGL Renderbuffer and Framebuffer objects, so they can be more easily rebound when necessary.
...
--HG--
branch : iOS-improvements
2014-08-08 15:14:09 -03:00
Gabriel Jacobo
fa3bf63b5c
Initialize nacl_io, removes SDL_NaClMount/Umount
...
It's just easier to use nacl_io's mount/umount directly.
2014-06-20 10:59:51 -03:00
Gabriel Jacobo
adce68ed69
Fixes audio for Native Client, and other fixes...
...
- SDL_NaClMount, SDL_NaClUmount
- Default mounting of https at / in SDL's main function
- More documentation in README-nacl.txt
2014-06-08 18:18:13 -03:00
Sam Lantinga
737576d21c
SDL_DXGIGetOutputInfo() checks input parameters and returns a boolean value whether or not it succeeded.
2014-04-18 12:43:04 -07:00
Sam Lantinga
0ae88759fb
Integrated David Ludwig's support for Windows RT
2014-03-09 11:36:47 -07:00
Sam Lantinga
32547d0c59
Fixed line endings on WinRT source code
2014-03-09 11:06:11 -07:00
Sam Lantinga
38e55d5f40
Added SDL_DXGIGetOutputInfo which returns the adapter and output indices that are used to create DX10 and DX11 devices and swap chains on a particular display.
...
CR: SamL
2014-02-13 11:05:30 -08:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
David Ludwig
529fcd3ee3
WinRT: merged with SDL 2.0.1 codebase
2013-10-27 21:26:46 -04:00
David Ludwig
4dd121471c
WinRT: unified the two, public, app-init functions
...
This function, SDL_WinRTRunApp, can be used to help launch either XAML or non-XAML/Direct3D-only based apps.
2013-09-22 12:26:53 -04:00
David Ludwig
93507125de
WinRT: experimental and preliminary support for XAML-based overlays on Windows 8/RT
...
The XAML support here is still rudimentary. Bugs do exist. You've been warned.
XAML support in Windows Phone 8 is not yet available (in SDL/WinRT).
2013-08-27 21:21:09 -04:00
David Ludwig
f34ae4e23f
WinRT: more "Windows RT" to "WinRT" renaming
2013-08-27 12:20:35 -04:00
David Ludwig
373ffd0dac
WinRT: merged with SDL 2.0.0 codebase (aka. SDL hg rev d6a8fa507a45)
2013-08-12 22:29:55 -04:00
Sam Lantinga
c049a88aca
Call AddRef() on the device so it doesn't accidentally get released from underneath the caller.
2013-09-28 14:07:17 -07:00
Sam Lantinga
ac2735a4a4
Make it clear we're just returning a D3D9 device, allowing for new functions to get other D3D versions
2013-09-28 14:07:14 -07:00
Sam Lantinga
4eac5bc7be
Added platform specific call: SDL_RenderGetD3DDevice()
2013-09-28 14:07:05 -07:00
Sam Lantinga
c1a125c267
Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode. This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now.
...
CR: Sam
2013-09-13 17:42:46 -07:00
Philipp Wiesemann
d6dbb779f0
Changed documentation in header because LocalReferenceHolder not public API.
2013-06-02 14:27:54 +02:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Gabriel Jacobo
d1ec7f2e3c
Moved warning about SDL_AndroidGetActivity to SDL_system.h
2013-04-23 16:44:54 -03:00
David Ludwig
44e81071eb
WinRT: made WinRT path retrieval be available in both UCS-2 and UTF-8 flavors
2013-04-01 21:33:06 -04:00
David Ludwig
db53df0697
WinRT: merged with latest, official, SDL 2.x code
2013-02-23 20:01:46 -05:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
David Ludwig
e73e2ca8d9
WinRT: consolidated all WinRT path-retrieval functions into one function
2013-02-09 22:48:19 -05:00
David Ludwig
11f36eaddb
WinRT: added a function to retrieve the root path to the installed app
2013-02-03 12:49:12 -05:00
David Ludwig
2ef67300a3
WinRT: made path retrieval functions return wide-char strings
2013-02-03 12:34:34 -05:00
David Ludwig
4d3efcce33
WinRT: added platform-specific APIs to access common, writable folder paths
2013-01-22 21:45:59 -05:00
Sam Lantinga
d4219579f2
Fixed clang -Weverything warnings
2012-11-22 11:55:11 -08:00
Sam Lantinga
9e89faaf15
Synchronized the on-screen keyboard state with whether we are accepting text input.
...
The functions to show/hide/toggle the on-screen keyboard have been folded into the text input state.
Calling SDL_StartTextInput() will automatically show the on-screen keyboard if it's available.
Calling SDL_StopTextInput() will automatically hide the on-screen keyboard if it's available.
There is a new API function SDL_IsTextInputActive() which will return whether text input is currently active.
Text input is disabled by default, you must call SDL_StartTextInput() when you are ready to accept text input.
SDL_HasScreenKeyboardSupport() no longer needs to be passed a window.
The iPhone-specific on-screen keyboard functions have been removed.
2012-11-04 21:53:28 -08:00
Sam Lantinga
2a972eadfe
Added documentation on loading assets on Android.
2012-11-04 09:45:18 -08:00