wiki.icculus.org
[ front page | index | search | recent changes | git repo | offline html ]

ControllerImage_Init

Initialize the ControllerImage library.

Header File

Defined in <controllerimage.h>

Syntax

bool ControllerImage_Init(void);

Return Value

(bool) Returns true on success, false on error; call SDL_GetError() for details.

Remarks

This must be successfully called once before (almost) any other ControllerImage function can be used.

It is safe to call this multiple times; the library will only initialize once, and won't deinitialize until ControllerImage_Quit() has been called a matching number of times. Extra attempts to init report success.

Thread Safety

This function is not thread safe.

Version

This function is available since ControllerImage 1.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryControllerImage


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.