Sam Lantinga
|
a7f26f9e6c
|
Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and Nintendo Switch Pro controller support across platforms.
Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API
|
2018-08-09 16:00:17 -07:00 |
|
Sam Lantinga
|
a9072159b2
|
Updated copyright for 2018
|
2018-01-03 10:03:25 -08:00 |
|
Sam Lantinga
|
a074f79dd9
|
Exposed the joystick locking functions for multi-threaded access to the joystick API
|
2017-10-10 11:10:15 -07:00 |
|
Sam Lantinga
|
e147ccd615
|
Added an API to get the joystick instance ID before opening the device: SDL_JoystickGetDeviceInstanceID()
|
2017-03-09 16:09:16 -08:00 |
|
Sam Lantinga
|
7fc8541c0d
|
Fixed whitespace
|
2017-01-31 13:30:35 -08:00 |
|
Sam Lantinga
|
88be409a04
|
Added support for the HOTAS Warthog throttle
|
2017-01-31 12:23:29 -08:00 |
|
Philipp Wiesemann
|
8f16acd9b9
|
Fixed compiler warning about comma at end of enum.
|
2017-01-30 22:20:20 +01:00 |
|
Sam Lantinga
|
9cff625c90
|
Added an API to get the type of a connected joystick
|
2017-01-27 05:59:58 -08:00 |
|
Sam Lantinga
|
1e81ac1559
|
Added SDL_JoystickGetAxisInitialState() to get a joystick axis' initial value.
This is useful for controller mapping programs to determine an axis' zero state
|
2017-01-04 10:28:07 -08:00 |
|
Sam Lantinga
|
d77ab77a7a
|
Updated copyright for 2017
|
2017-01-01 18:33:28 -08:00 |
|
Sam Lantinga
|
bdd7e6b176
|
Split controller axes into positive and negative sides so each can be bound independently.
Using this a D-Pad can be mapped to a thumbstick and vice versa.
Also added support for inverted axes, improving trigger binding support
|
2016-12-27 01:39:07 -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
|
d20b74a060
|
Fixed a few warnings that show up with -Wdocumentation and -Wdocumentation-unknown-command, patch contributed by Sylvain
|
2016-11-20 21:26:56 -08:00 |
|
Sam Lantinga
|
0d8dc91c1b
|
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 |
|
Philipp Wiesemann
|
5cb20e668d
|
Added brackets to function names in header comments so that doxygen links them.
|
2016-08-03 22:30:31 +02:00 |
|
Sam Lantinga
|
255c182471
|
Updated copyright to 2016
|
2016-01-02 10:10:34 -08:00 |
|
Ryan C. Gordon
|
24c41a081f
|
Minor whitespace fix.
|
2015-11-14 14:53:44 -05:00 |
|
Ryan C. Gordon
|
87c985cd18
|
Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
|
2015-11-14 12:35:45 -05:00 |
|
Sam Lantinga
|
aa85abf5c3
|
SDL - added new SDL_JoystickCurrentPowerLevel() API that returns the battery level of the selected joystick. Currently only implemented for XInput devices, other platforms are a TODO.
CR: Sam
|
2015-09-30 15:39:30 -07:00 |
|
Philipp Wiesemann
|
13564bca67
|
Fixed spaces in header file.
|
2015-07-16 21:48:35 +02:00 |
|
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 |
|
Philipp Wiesemann
|
b9bde0ae16
|
Fixed typo in header file documentation comment.
|
2014-11-23 11:26:46 +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 |
|
Ryan C. Gordon
|
b6c28469d6
|
Fixed a few public APIs that we accidentally neglected to mark as SDLCALL.
Fixes Bugzilla #2262.
|
2013-11-23 15:52:49 -05:00 |
|
Gabriel Jacobo
|
8515791f86
|
OCD fixes: Adds a space after /* (glory to regular expressions!)
|
2013-08-21 09:47:10 -03:00 |
|
Gabriel Jacobo
|
871473e032
|
OCD fixes: Adds a space before */
|
2013-08-21 09:43:09 -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 |
|
Sam Lantinga
|
e04e170169
|
The joystick events contain a joystick instance ID, which is a signed value, with -1 being invalid.
|
2013-03-06 11:59:21 -08:00 |
|
Sam Lantinga
|
db3cba4095
|
Fixed the joystick id usage in the joystick and game controller events.
|
2013-03-02 17:51:32 -08:00 |
|
Sam Lantinga
|
019c60c1e8
|
Happy New Year!
|
2013-02-15 08:47:44 -08:00 |
|
Ryan C. Gordon
|
ed4988c379
|
Fixed comment on SDL_JoystickGetGUIDString().
|
2012-12-11 16:53:38 -05:00 |
|
Sam Lantinga
|
10abca2c02
|
Changes from Alfred:
- rename JoystickGUID -> SDL_JoystickGUID
- change SDL_JoystickGetGUIDString to take the string as an arg, rather than doing a malloc
|
2012-12-11 11:54:32 -08:00 |
|
Sam Lantinga
|
3f5fd55965
|
Organized joystick hotplug code a bit.
Cleaned up names, return types, etc.
|
2012-11-27 00:58:12 -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 |
|
Sam Lantinga
|
e256711bb9
|
Happy New Year!
|
2011-12-31 09:28:07 -05:00 |
|
Sam Lantinga
|
6196aa221e
|
SDL 1.3 is now under the zlib license.
|
2011-04-08 13:03:26 -07:00 |
|
Sam Lantinga
|
a2cdcf5486
|
Happy 2011! :)
|
2011-02-11 22:37:15 -08:00 |
|
Sam Lantinga
|
7052036491
|
Fixed bug #926
Updated copyright to LGPL version 2.1 and year 2010
|
2010-01-24 21:10:53 +00:00 |
|
Sam Lantinga
|
27294b7a4e
|
Partial fix for bug #859
Header file update from Ken for improved doxygen output
|
2009-10-19 13:31:58 +00:00 |
|
Sam Lantinga
|
befb0f7f42
|
Updated copyright date
|
2008-12-08 00:27:32 +00:00 |
|
Sam Lantinga
|
6bc598ea61
|
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
|
2006-07-10 21:04:37 +00:00 |
|
Sam Lantinga
|
769424426d
|
More header massaging... works great on Windows. ;-)
|
2006-02-10 06:48:43 +00:00 |
|
Sam Lantinga
|
5022a01e6c
|
*** empty log message ***
|
2006-02-10 03:19:02 +00:00 |
|
Sam Lantinga
|
808a16717c
|
Updated copyright information and removed rcs id lines (problematic in branch merges)
I batch edited these files, so please let me know if I've accidentally removed anybody's
credit here.
|
2006-02-01 06:32:25 +00:00 |
|
Sam Lantinga
|
54d0c70c1e
|
Date: Wed, 7 Jul 2004 12:57:58 +0200
From: "Markus F.X.J. Oberhumer"
Subject: [SDL-CVS] [patch] small fix for SDL_joystick.h
the tiny patch below (against current CVS) fixes a syntax error
(not allow compilers allow multiple __cdecl).
|
2004-07-18 19:05:06 +00:00 |
|
Sam Lantinga
|
32719e7429
|
Updated copyright information for 2004 (Happy New Year!)
|
2004-01-04 16:49:27 +00:00 |
|
Sam Lantinga
|
8b5bf373be
|
Explicitly specify the SDL API calling convention (C by default)
|
2002-04-11 14:35:16 +00:00 |
|
Sam Lantinga
|
df4885048e
|
Updated copyright information for 2002
|
2002-03-06 11:23:08 +00:00 |
|