Philipp Wiesemann
fd34672a70
Fixed two typos in header file comment.
2014-10-27 12:53:47 +01:00
Philipp Wiesemann
b93fb782e7
Added handling of NULL as input for SDL_GameControllerAddMapping().
2014-10-26 23:28:45 +01:00
Philipp Wiesemann
f506b106fa
Fixed SDL_GameControllerMappingForGUID() crashing if no more memory available.
...
The return value of SDL_malloc() was not checked and NULL therefore not handled.
NULL returned by SDL_GameControllerMapping()/SDL_GameControllerMappingForGUID()
now either means "no mapping" (as before) or "no memory" (just crashed before).
2014-10-26 23:22:53 +01:00
Philipp Wiesemann
b2690cd072
Added handling of NULL as input for SDL_GameControllerMapping().
...
For consistency with the similar functions getting SDL_GameController as input.
Also NULL is no SDL_GameController and therefore can not have a mapping anyway.
2014-10-26 17:53:16 +01:00
Philipp Wiesemann
e35f40e04a
Removed two wrong documentation comments from gamecontroller source.
...
No replacement because correct documentation is already in SDL_gamecontroller.h.
2014-10-26 17:46:11 +01:00
Philipp Wiesemann
f9acf88916
Fixed wording in SDL_GameControllerAddMappingsFromRW() error message.
2014-10-26 17:44:00 +01:00
David Ludwig
e6d0ed34ff
WinRT: more keyboard code cleanups
...
- made keycode listings a bit easier to read
- listed VK_ keycode names, where appropriate
- removed a few pieces of dead + commented-out code
- applied a common 'WINRT_' prefix to internal function names
2014-10-26 12:33:10 -04:00
David Ludwig
183be55350
WinRT: Fixed bug whereby key-detection code could call SDL_Log
2014-10-25 08:54:23 -04:00
David Ludwig
b7e6c450b1
WinRT: fallback to scancode key detection, if VirtualKey/VK detection fails
2014-10-25 08:50:41 -04:00
David Ludwig
d866c09bb8
WinRT: more keyboard code cleanups
...
- use SDL_arraysize where appropriate
- made long lines of debug-logging code span multiple lines, for easier reading
2014-10-25 08:43:51 -04:00
David Ludwig
7649e39bed
WinRT: Fixed bug whereby a right-shift key might get reported as left-shift
2014-10-24 22:09:47 -04:00
David Ludwig
d3c265edf2
WinRT: minor keyboard code cleanup
...
An internally-used hash table was replaced with a plain switch statement.
2014-10-24 21:25:21 -04:00
Philipp Wiesemann
4b8f3325a0
Added new key codes from Android 4.4 (API 20) and 5.0 (API 21).
2014-10-24 19:50:29 +02:00
Brandon Schaefer
9641881d42
Remove unused variable.
2014-10-24 06:52:54 -07:00
Brandon Schaefer
7db5bc85bb
Merge patch for bug 2750. Thanks Sylvain!
2014-10-24 06:50:09 -07:00
Philipp Wiesemann
e97261d145
Fixed bug 2759 - Android findLibrary() returns NULL
...
Sylvain
extra patch with minor modifications:
- typo
- cancel-able set to false
- add the error message, so that the user can report it.
2014-10-24 11:53:34 +02:00
Philipp Wiesemann
d37316fe5d
Added an option to define libraries to be loaded on Android in a derived class.
...
This way it is no more needed to modify SDLActivity.java to add own libraries.
2014-10-23 16:45:18 +02:00
Philipp Wiesemann
5a0a4d6f56
Fixed alert dialog for not loaded libraries on Android being cancelable.
...
If the alert dialog could be canceled the Activity would not be finished here.
Also setting the property to "true" would be redundant because that is default.
2014-10-23 16:41:01 +02:00
Philipp Wiesemann
fc4c480457
Fixed missing @Override annotation warning in source for Android.
2014-10-23 16:39:15 +02:00
Philipp Wiesemann
39d104f5f6
Fixed upper case button in alert dialog for not loaded libraries on Android.
...
This is more consistent with the buttons of other dialogs on Android.
2014-10-23 16:38:03 +02:00
Philipp Wiesemann
45abe97d21
Fixed typo in message of alert dialog for not loaded libraries on Android.
2014-10-23 16:34:48 +02:00
Philipp Wiesemann
402661665d
Fixed writing new errors to standard output instead of error output on Android.
2014-10-23 16:33:27 +02:00
Philipp Wiesemann
28e6e9079b
Fixed documentation in source for Android.
2014-10-23 16:31:02 +02:00
Gabriel Jacobo
ec40387505
[Android] #2759 : Show a message on failure to load a .so library (by Sylvain)
2014-10-21 11:44:35 -03:00
Gabriel Jacobo
366cc5b763
Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
2014-10-21 11:27:06 -03:00
Philipp Wiesemann
ab7bcfc0a3
Fixed setting of screen saver state crashing on some version of Android.
...
Setting Window flags seems to affect Views and must be handled on UI thread.
2014-10-20 22:19:09 +02:00
Gabriel Jacobo
32120029aa
Bug 2739 - [Android] No support for SDL_DisableScreenSaver by Martin Gerhardy
2014-10-20 10:10:39 -03:00
Philipp Wiesemann
fa7abca4ec
Fixed bug 2476 - Allow custom main() arguments
...
rettichschnidi
I would like to pass custom arguments from my Java code (subclass of SDLActivity) to the native SDL2 binary.
2014-10-17 23:36:45 +02:00
Philipp Wiesemann
d4d1f23355
Fixed typo in source comment.
2014-10-17 23:26:02 +02:00
Philipp Wiesemann
a18debdc6a
Fixed syntax error in cmake file.
2014-10-17 23:10:33 +02:00
Sam Lantinga
5cc584ac32
Added a platform cleanup function for the Vivante video driver
2014-10-16 09:54:13 -07:00
Gabriel Jacobo
d9bcf961c1
[udev] Fixes #2654 , ID_INPUT_KEY devices are ignored.
...
Also added some references to udev code where these flags are set.
2014-10-16 09:41:42 -03:00
Gabriel Jacobo
c3aa3618f7
[X11] Obey DISPLAY environment variable when selecting screen (Steaphan Greene)
...
Discussed in bug #2192 , tested with Xvfb in dual head configuration.
2014-10-15 18:33:43 -03:00
David Ludwig
cb3ef93994
WinRT build fix
2014-10-15 15:50:35 -04:00
Sam Lantinga
2e1b197024
Updated configure based on recent configure.in changes
2014-10-15 16:26:51 +00:00
Sam Lantinga
a2b98844f2
Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs
2014-10-15 09:18:17 -07:00
Sam Lantinga
cf83cad757
Better error reporting for video drivers with less than full functionality.
2014-10-15 09:14:09 -07:00
Sam Lantinga
a06170f593
Fixed bug where EGL function pointers wouldn't get saved in optimized gcc builds
2014-10-15 09:13:36 -07:00
Sam Lantinga
67cbb818a0
Fixed spurious SDL error on shutdown if mouse capture isn't supported
2014-10-15 09:11:15 -07:00
Sam Lantinga
33e438b7be
Fixed input device detection on systems that aren't running the udev daemon
2014-10-15 09:10:50 -07:00
Sam Lantinga
2af49b5e11
Fixed crash if the event subsystem didn't initialize properly
2014-10-15 09:09:57 -07:00
David Ludwig
d244d7c756
WinRT: fixed bug whereby offscreen-rendered content could get improperly rotated
...
Attributes on the host device's rotation were getting applied to offscreen
textures in an invalid manner. This was causing some apps to look different,
depending on how the device was rotated.
2014-10-14 09:53:46 -04:00
Sam Lantinga
573933a9dd
Fixed log typo
2014-10-13 14:10:41 -07:00
Sam Lantinga
bd3bb2468f
Minor cleanups
2014-10-13 10:46:27 -07:00
Sam Lantinga
61b523d071
Added configure options to disable OpenGL ES 1.1 and 2.0 individually
2014-10-13 10:43:10 -07:00
David Ludwig
da8df5f00c
WinRT: expanded the documentation on SDL_HINT_WINRT_HANDLE_BACK_BUTTON
2014-10-04 14:59:41 -04:00
Jørgen P. Tjernø
52538ec24d
Mac: Fix build with clang from Xcode 6.
2014-09-30 11:20:50 -07:00
Philipp Wiesemann
a992769e0a
Fixed broken layout for buttons with configured color in messagebox on Android.
2014-09-25 20:56:27 +02:00
Philipp Wiesemann
87dede4f00
Added setting configured color to button texts for messagebox on Android.
2014-09-24 23:46:46 +02:00
David Ludwig
36801e9d0d
WinRT: cleaned up the opening section of the README
2014-09-19 12:09:51 -04:00