Sam Lantinga
45b774e3f7
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
4fc0fe1f69
Removed debug print statements
2016-12-23 02:23:44 -08:00
Sam Lantinga
ad26769cd7
Fixed compile errors on various platforms
2016-12-22 18:43:00 -07:00
Philipp Wiesemann
97aa577589
Fixed empty parameter list in signatures of internal functions.
2016-11-16 22:08:51 +01:00
Sam Lantinga
801a9eaf64
Updated Mac OS X game controller support
2016-11-11 04:06:00 -07:00
Sam Lantinga
ac74e16cde
Standardized the format of the SDL joystick GUID and added functions to retrieve the USB VID/PID from a joystick and game controller.
2016-11-10 17:19:34 -08:00
Sam Lantinga
ad1bfea5a0
Added SDL_PrivateJoystickAdded() and SDL_PrivateJoystickRemoved()
...
Updated the removal code to iterate over all joystick add messages instead of just the first one.
2016-08-26 12:18:08 -07:00
Sam Lantinga
8097f272e2
[ OSX ] enables Xbox One S Guide (System Main Menu) button detection. the one possible impact is that since button identifiers on OSX are just their sequence in the HID report descriptor we might change the button order, and any existing/saved mappings may get their order changed.
2016-08-08 12:17:53 -07:00
Alex Szpakowski
4a468739f8
Removed Mac OS 10.5 support (bug #3137 ). Also fixed a warning about deprecated Carbon code when using SDL_audio (bug #3127 , thanks Dominik!)
2016-05-21 00:20:52 -03:00
Sam Lantinga
42065e785d
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Alex Szpakowski
4ae69e3222
Mac: expose joystick buttons that report themselves as having 'Start' and 'Select' HID usages.
...
I don't know if any joysticks report those usages for any buttons in practice, but other prominent Mac gaming software exposes them, so we might as well too.
2015-12-28 15:44:09 -04:00
Alex Szpakowski
9c51c4a639
Mac: Detect the d-pad and pause buttons on Steelseries MFi gamepads (bug #3124.)
2015-11-12 22:44:32 -04:00
Ryan C. Gordon
4295a6fe47
Mac: Fixed off-by-one bug when plugging in a joystick (thanks, Konstantin!).
2015-09-13 11:29:45 -04: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