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

ControllerImage_DeviceHasArtworkForAxis

Check if artwork is available for a given axis on a specific device.

Header File

Defined in <controllerimage.h>

Syntax

bool ControllerImage_DeviceHasArtworkForAxis(ControllerImage_Device *device, SDL_GamepadAxis axis);

Function Parameters

ControllerImage_Device * device the device object to query.
SDL_GamepadAxis axis the axis on the device to check for available artwork.

Return Value

(bool) Returns true if artwork is available, false otherwise.

Remarks

Not all devices have all axes, or perhaps an artset is incomplete. This function reports if artwork for a specific axis is available.

A NULL device or a bogus axis value will return false; make sure your parameters are good to get useful information!

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.