Check if artwork is available for a given button on a specific device.
Defined in <controllerimage.h>
bool ControllerImage_DeviceHasArtworkForButton(ControllerImage_Device *device, SDL_GamepadButton button);| ControllerImage_Device * | device | the device object to query. |
| SDL_GamepadButton | button | the button on the device to check for available artwork. |
(bool) Returns true if artwork is available, false otherwise.
Not all devices have all buttons, or perhaps an artset is incomplete. This function reports if artwork for a specific button is available.
A NULL device or a bogus button value will return false; make sure your parameters are good to get useful information!
This function is not thread safe.
This function is available since ControllerImage 1.0.0.