Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2013-09-15 17:58:29
Size: 934
Comment: Corrected formatting.
Revision 6 as of 2013-10-26 14:29:50
Size: 938
Comment: Changed signature format and added (), see SGFunctions page.
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
SDL_bool SDL_GameControllerGetAttached(SDL_GameController *gamecontroller) SDL_bool SDL_GameControllerGetAttached(SDL_GameController* gamecontroller)
Line 16: Line 16:
||'''gamecontroller'''||a game controller identifier previously returned by [[SDL_GameControllerOpen]] || ||'''gamecontroller'''||a game controller identifier previously returned by [[SDL_GameControllerOpen]]() ||
Line 26: Line 26:

DRAFT

SDL_GameControllerGetAttached

Use this function to check if a controller has been opened and is currently connected.

Syntax

SDL_bool SDL_GameControllerGetAttached(SDL_GameController* gamecontroller)

Function Parameters

gamecontroller

a game controller identifier previously returned by SDL_GameControllerOpen()

Return Value

Returns SDL_TRUE if the controller has been opened and currently connected, or SDL_FALSE if it has not.

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryGameController

None: SDL_GameControllerGetAttached (last edited 2015-04-26 18:54:30 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit