logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GUID - An SDL_GUID

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                                    SDL_GUID(3type)

Description

       If the device is detached and then re-attached to a different port, or if the base  system  is  rebooted,
       the device should still report the same GUID.

       GUIDs are as precise as possible but are not guaranteed to distinguish physically distinct but equivalent
       devices. For example, two game controllers from the same vendor with the same product ID and revision may
       have the same GUID.

       GUIDs  may be platform-dependent (i.e., the same device may report different GUIDs on different operating
       systems).

Header File

       Defined in SDL3/SDL_guid.h

Name

       SDL_GUID - An SDL_GUID
        is  a  128-bit identifier for an input device that identifies that device across runs of SDL programs on
       the same platform.

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_GUID{Uint8data[16];}SDL_GUID;

See Also