SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_hid_get_properties

Get the properties associated with an SDL_hid_device.

Header File

Defined in <SDL3/SDL_hidapi.h>

Syntax

SDL_PropertiesID SDL_hid_get_properties(SDL_hid_device *dev);

Function Parameters

SDL_hid_device * dev a device handle returned from SDL_hid_open().

Return Value

(SDL_PropertiesID) Returns a valid property ID on success or 0 on failure; call SDL_GetError() for more information.

Remarks

The following read-only properties are provided by SDL:

Version

This function is available since SDL 3.4.0.


CategoryAPI, CategoryAPIFunction, CategoryHIDAPI


[ 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.