Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Philipp Wiesemann
b7f2594c20
Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
2015-04-20 20:03:40 +02:00
Ryan C. Gordon
03e336ef9a
Corrected documentation about triggers values in SDL_GameControllerGetAxis().
...
Fixes Bugzilla #2319 .
2015-02-18 16:25:15 -05:00
Philipp Wiesemann
8cf7e25b4c
Corrected header file documentation comment.
2014-11-22 22:20:40 +01:00
Sam Lantinga
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Sam Lantinga
1353c6ab1a
Added missing header for file IO
2013-12-05 09:54:22 -08:00
Gabriel Jacobo
7deb0ea7c9
Adds SDL_GameControllerAddMappingsFromRW, updates controllermap
...
SDL_GameControllerAddMappingsFromFile is now a convenience macro.
controllermap can now skip bindings by pressing space or clicking/touching the
screen.
2013-12-03 12:01:28 -03:00
Gabriel Jacobo
0386a9d033
Adds SDL_GameControllerAddMappingsFromFile
2013-12-02 19:34:08 -03:00
Sam Lantinga
10f2d9ded3
Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
2013-07-03 12:31:40 -07:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Philipp Wiesemann
8da0b7d301
Corrected spelling in header file.
2013-05-13 23:00:50 +02:00
Philipp Wiesemann
8708a0a38d
Corrected spelling in header files.
2013-04-27 17:52:58 +02:00
Ryan C. Gordon
a5ca62ea98
Fixed a typo (thanks, Ethan!).
2013-04-10 22:18:10 -04:00
Edward Rudd
3e7df38c71
add new gamecontroller APIs
...
- add mappings after init (or even before w/o using the hint)
- get string for axis
- get string for button
- get mapping string for controller or for GUID
- new event to notify when a controller is remapped. (e.g. mapping was changed via the AddMapping method)
2013-03-05 17:59:36 -05:00
Sam Lantinga
f0bf08280b
Fixed gcc pedantic warnings in public headers
2013-02-26 20:41:28 -08:00
Ryan C. Gordon
3104ca4190
Added SDL_GameControllerUpdate().
2013-02-25 01:51:21 -05:00
Ryan C. Gordon
b7b7f889c5
Changed the game controller enum types to match SDL naming conventions.
2013-02-25 00:56:21 -05:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Jørgen P. Tjernø
75626eac76
New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.
...
- Updated Visual Studio 2010 project with SDL 2.0 library names
- Don't use a 256 byte LUT, but rather <32 bytes of data on the stack.
- Cleanups in SDL_gamecontroller.h
2013-02-13 17:19:21 -08:00
Jørgen P. Tjernø
29f980d205
Check bounds in SDL_IsGameController. Switch two functions to SDL_bool.
...
Switches SDL_GameControllerGetAttached and SDL_IsGameController to
return SDL_bool, instead of int.
2013-02-12 17:07:21 -08:00
Sam Lantinga
30cf30ad23
Fixed bug 1653 - comma at the end of enum
...
Martin Gerhardy 2012-11-30 03:07:14 PST
SDL_gamecontroller.h:61:29: warning: comma at end of enumerator list [-pedantic]
2012-12-31 16:29:01 -08:00
Sam Lantinga
23950f0183
Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds
2012-11-26 16:37:54 -08:00